小程序实现遮罩层,并禁止底部页滚动
2020-03-17 本文已影响0人
大胡子的机器人
遮罩层:
.customer-popmenu{
width: 100%;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right:0;
z-index: 11;
overflow: hidden;
}
弹出的view
<view wx:if="{{isShowCustomerMenu}}" class="customer-popmenu" catchtouchmove="true">
</view>