<div class="weixintan" @click="wx_hide">
<div class="pic"></div>
</div>
// js
.weixintan {
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .85);
display: none;
position: fixed;
left: 0;
top: 0;
z-index: 9999;
}
.weixintan .pic {
width: 100%;
height: 100%;
background: url(../../assets/img/wx_tan.png) no-repeat;
background-size: 100%;
}
网友评论