微信小程序画布bindtouchstart事件导致整个页面不能滚动
[代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"signature-container"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"s-title"[代码][代码]>请患者确认签名</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]input[代码] [代码]name[代码][代码]=[代码][代码]"signatureId"[代码] [代码]value[代码][代码]=[代码][代码]""[代码] [代码]hidden/>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"signature-board"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]canvas[代码] [代码]canvas-id[代码][代码]=[代码][代码]"signature-patient"[代码] [代码]class[代码][代码]=[代码][代码]"signature-patient"[代码] [代码]disable-scroll[代码][代码]=[代码][代码]"false"[代码] [代码]bindtouchstart[代码][代码]=[代码][代码]"signatureTouchStart"[代码] [代码]bindtouchmove[代码][代码]=[代码][代码]"signatureTouchMove"[代码] [代码]bindtouchend[代码][代码]=[代码][代码]"signatureTouchEnd"[代码][代码]></[代码][代码]canvas[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{showSignatureTips}}"[代码] [代码]class[代码][代码]=[代码][代码]"s-tips"[代码] [代码]catchtouchstart[代码][代码]=[代码][代码]"touchstartSignatureTips"[代码][代码]></[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{showSignatureControlBtns}}"[代码] [代码]class[代码][代码]=[代码][代码]"s-clear"[代码] [代码]bindtap[代码][代码]=[代码][代码]"clearSignature"[代码][代码]>重签</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{showSignatureControlBtns}}"[代码] [代码]class[代码][代码]=[代码][代码]"s-save"[代码] [代码]bindtap[代码][代码]=[代码][代码]"saveSignature"[代码][代码]>{{saveSignatureDesc}}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码] [代码]</[代码][代码]view[代码][代码]>[代码] 页面底部有个画布用来做用户确认签名的,如果在画布上签名或者在画布触发bindtouchstart事件后,整个页面都不能滑动了,但是在pc的微信开发者工具不存在这个问题