Commit 837f725445e901e9fe0d50eda636ddf615edfbb3
1 parent
d5d8787d
feat(src/packages): 信息下加载组态放大按钮,鼠标移入,闪烁问题
Showing
1 changed file
with
7 additions
and
11 deletions
| 1 | 1 | <template> |
| 2 | - <div class="iframe-content" :style="getStyle(borderRadius)"> | |
| 2 | + <div | |
| 3 | + @mouseenter="handleMouseenter" | |
| 4 | + @mouseleave="handleMouseleave" | |
| 5 | + class="iframe-content" | |
| 6 | + :style="getStyle(borderRadius)" | |
| 7 | + > | |
| 3 | 8 | <div v-show="isShowSvg" @click="handleFullScreen" id="fullscreenButton"> |
| 4 | 9 | <svg |
| 5 | 10 | focusable="false" |
| ... | ... | @@ -16,16 +21,7 @@ |
| 16 | 21 | ></path> |
| 17 | 22 | </svg> |
| 18 | 23 | </div> |
| 19 | - <iframe | |
| 20 | - @mouseenter="handleMouseenter" | |
| 21 | - @mouseleave="handleMouseleave" | |
| 22 | - id="iframeContent" | |
| 23 | - :src="option.dataset" | |
| 24 | - :width="w" | |
| 25 | - :height="h" | |
| 26 | - :allowfullscreen="allowfullscreen" | |
| 27 | - style="border-width: 0" | |
| 28 | - ></iframe> | |
| 24 | + <iframe id="iframeContent" :src="option.dataset" :width="w" :height="h" style="border-width: 0"></iframe> | |
| 29 | 25 | </div> |
| 30 | 26 | </template> |
| 31 | 27 | ... | ... |