小程序
小游戏
企业微信
微信支付
扫描小程序码分享
我想试图使用autographShow="true"来屏蔽之前的界面被用户滑动.
某个功能会弹出这个view,当autographShow设置为false后view会被隐藏,但是之前的界面还是不能够滑动.
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
能做个代码片段吗?可能和其他的样式有关
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<view wx:if="{{autographShow}}" class="autograph_mask" catchtouchmove="true">
<view class='autograph_bottom'>
<view class="autograph_title">
请在下方区域签名:
</view>
<canvas class='autograph_canvas' canvas-id="autographCanvas" bindtouchmove='autograph_move' bindtouchstart='autograph_start' disable-scroll='true'>
</canvas>
<view class="autograph_tool">
<view class="autograph_btn" bindtap='autograph_cancelClick'>取消</view>
<view class="autograph_btn" bindtap='autograph_clearClick'>重签</view>
<view class="autograph_btn" bindtap='autograph_saveClick'>完成</view>
光看这点,没什么问题,可能是bug。不过最好给个代码片段,实地考察了才好确认。
https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
这个关联的业务代码有点多.一下不好整理出来.
好吧,那你试试,在页面写个滚动监听,试试监听走没。另外调试下wxml,是不是有什么挡住了
嗯.谢谢了.android的可以,ios的不可以.wxml倒是没有.估计是个bug.
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
能做个代码片段吗?可能和其他的样式有关
<view wx:if="{{autographShow}}" class="autograph_mask" catchtouchmove="true">
<view class='autograph_bottom'>
<view class="autograph_title">
请在下方区域签名:
</view>
<canvas class='autograph_canvas' canvas-id="autographCanvas" bindtouchmove='autograph_move' bindtouchstart='autograph_start' disable-scroll='true'>
</canvas>
<view class="autograph_tool">
<view class="autograph_btn" bindtap='autograph_cancelClick'>取消</view>
<view class="autograph_btn" bindtap='autograph_clearClick'>重签</view>
<view class="autograph_btn" bindtap='autograph_saveClick'>完成</view>
</view>
</view>
</view>
光看这点,没什么问题,可能是bug。不过最好给个代码片段,实地考察了才好确认。
https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
这个关联的业务代码有点多.一下不好整理出来.
好吧,那你试试,在页面写个滚动监听,试试监听走没。另外调试下wxml,是不是有什么挡住了
嗯.谢谢了.android的可以,ios的不可以.wxml倒是没有.估计是个bug.