1.弹窗遮罩添加禁止滑动页面事件(catchtouchmove="ture")
2.弹窗内部需要滚动内容用(scroll-view)标签
示例代码:
<!-- 遮罩禁止滑动 -->
<view wx:if="{{tipShow}}" catchtouchmove="true" class="page-mask">
<view class="box">
<view class="title">标题</view>
<scroll-view class="content" scroll-y="{{true}}">
<view class="item">滚动区域内容</view>
</scroll-view>
<button catchtap="closeTips" class="btn">我知道了</button>
</block>
</view>
</view>