- 添加
@touchmove.prevent
,遮罩层底部的页面就不会滑动了 - 微信开发者工具不生效,真机生效
html
<u-popup :show="showEwm" @close="closeEwm" mode="center" @touchmove.prevent>
<view class="ewmshow">
················
</view>
</u-popup>