catchtouchmove就失效了。
做了一个全屏蒙层,在蒙层上 catchtouchmove,可以阻止滑动事件向下传,但如果在蒙层上加一个scroll-view,scroll-view滑动到底部后,代码如下:
<view class='wx_dialog_container' hidden="{{!isShow}}">
<view class='wx-mask'catchtouchmove='touchmove'>
<view class='wx_notice'>
<view class='wx_title'>{{title}}</view>
<view class='wx_seperator'></view>
<scroll-view class='wx_content_scroll' scroll-y="true">
<view class='wx_content'>
<rich-text class='wx_content_text' nodes="{{content}}" />
</view>
</scroll-view>
<view class='wx_seperator'></view>
<view class='wx_control' bindtap='hideNotice'>关闭</view>
</view>
</view>
</view>