大屏的全屏按钮复位问题

dianlixunjian
滕嵩 2024-08-08 18:07:45 +08:00
parent fb68530f0a
commit 04f33502ac
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<ChartsContianer v-show="!isFullScreen"></ChartsContianer>
<!-- full screen button -->
<div class="full-screen-button" :style="{right:isFullScreen?'20px':'590px'}" >
<div class="full-screen-button" :style="{right:isFullScreen?'20px':'590px', zIndex:isFullScreen? 100:1, }" >
<img v-if="!isFullScreen" @click="fullScreen" src="/public/statistical/full-scrren-button.png" alt="">
<img v-else @click="exitScreen" src="/public/statistical/full-scrren-button.png" alt="">
</div>
@ -328,7 +328,6 @@ function exitScreen() {
position:absolute;
bottom:46px;
right:590px;
z-index:1;
cursor:pointer;
img{
width:100%;