1.如果弹出层没有滚动事件,就直接在蒙板上加
// .wxml
catchtouchmove="move"
// .wxss
move:function(){};
2.如果弹出层有滚动事件,那么在弹出层出现的时候给底部的containerView加上一个class 消失的时候移除
// .wxml
<view class="{{showSearchView?'tripList_root':''}}">
<view>默认元素</view>
</view>
// .wxss
.tripList_root{
width: 100%;
height: 100%;
overflow: hidden;
position: relative;
z-index: 0;
}