// 加上 catchtouchmove 属性
<view hidden='{{showFrame}}' class='frame' catchtouchmove='stopScroll'>
</view>
// js
stopScroll(){return}
小程序 自定义弹框 阻止后面页面滚动
最新推荐文章于 2023-02-22 16:43:30 发布
// 加上 catchtouchmove 属性
<view hidden='{{showFrame}}' class='frame' catchtouchmove='stopScroll'>
</view>
// js
stopScroll(){return}