fullSignture.wxml
768 Bytes
<view class="full-container flex_cc">
<cover-view class="header_text" bind:tap="toBack">取消</cover-view>
<cover-view class="text_comfirm" bind:tap="saveToImage">确定</cover-view>
<cover-view class="footer_btn flex_sc">
<cover-image
bind:tap="clearCanvas"
webp
class="circle_wrap_icon"
src="../../../images/sign_del.png" />
</cover-view>
<view class="can_wrap">
<canvas
canvas-id="signature"
class="modal-canvas"
disable-scroll="{{true}}"
id="handWriting"
bindtouchstart="scaleStart"
bindtouchmove="scaleMove"
bindtouchend="scaleEnd" />
</view>
<view wx:if="{{showPlaceHoder}}" class="placehoder">签字区</view>
</view>