index.wxml
index.js
<view class="bgCover" catchtouchmove="disMove"></view>
index.wxss
.bgCover{ position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
left: 0;
top: 0;
}
index.js
//禁止滑动
disMove:function(){
},