wxml文件
<view class="mark">此处有个遮罩层</view>
wxss文件
.mark {
position: fixed;
left:0;
top:0;
width:100%;
height:100%;
z-index:1000;
background-color: rgba(0, 0, 0, 0.4);
wxml文件
<view class="mark">此处有个遮罩层</view>
wxss文件
.mark {
position: fixed;
left:0;
top:0;
width:100%;
height:100%;
z-index:1000;
background-color: rgba(0, 0, 0, 0.4);