riku
2022-08-10 51600113c20d84ee54660de23324400604704dc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!--pages/test2/test2.wxml-->
<view class="page">
        <view class="canvas">
                <canvas id="signCanvas" type="2d" class="sign-canvas" bindtouchstart="touchStart"
                        bindtouchmove="touchMove" bindtouchend="touchEnd"></canvas>
                <view class="tips">请旋转屏幕至此方向签名</view>
        </view>
        <view class="btn-group">
                <view class="cancel" bindtap="onCancel">取消</view>
                <view class="submit" bindtap="onSubmit">确认</view>
        </view>
        <canvas id="handWriting2" type="2d" style="display: none;width:100%;height:100%;" bindtouchstart="touchStart"
                        bindtouchmove="touchMove" bindtouchend="touchEnd"></canvas>
</view>