优化替换背景 mask样式问题

This commit is contained in:
lVAL 2020-11-04 16:39:17 +08:00
parent e9991d97f4
commit 847d97eb5d
2 changed files with 1 additions and 6 deletions

View File

@ -138,7 +138,7 @@
<chat-member-list ref="chatMemberList" :conversition-member-list="conversitionMemberList" :simulation-users="simulationUsers" /> <chat-member-list ref="chatMemberList" :conversition-member-list="conversitionMemberList" :simulation-users="simulationUsers" />
</div> </div>
</template> </template>
<div v-if="maskShow" class="mask"/> <div v-if="maskShow&&drawer" class="mask"/>
</div> </div>
<audio id="teleRing" :src="teleRing" preload loop /> <audio id="teleRing" :src="teleRing" preload loop />
<chat-setting ref="chatSetting" :form="form" @setSetting="setSetting" /> <chat-setting ref="chatSetting" :form="form" @setSetting="setSetting" />
@ -1325,7 +1325,6 @@ export default {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background: #000;
opacity: 0.7; opacity: 0.7;
z-index: 2000; z-index: 2000;
&::before{ &::before{

View File

@ -140,9 +140,6 @@ export default {
}, },
orignalUserRoleId() { orignalUserRoleId() {
return this.$store.state.training.orignalUserRoleId; return this.$store.state.training.orignalUserRoleId;
},
maskShow() {
return this.isReplaceBg;
} }
}, },
watch:{ watch:{
@ -664,7 +661,6 @@ export default {
right:0; right:0;
bottom:0; bottom:0;
left:0; left:0;
background: #000;
opacity: 0.5; opacity: 0.5;
z-index: 2; z-index: 2;
&::before { &::before {