riku
2026-01-21 a2c5def7cf9562312a54216bc195a6ea071a26c5
pages/mPromise/promisesign/promisesign.wxml
@@ -1,13 +1,24 @@
<!--pages/test2/test2.wxml-->
<view class="page">
        <view class="canvas">
                <canvas id="signCanvas" type="2d" class="sign-canvas" bindtouchstart="touchStart"
                        bindtouchmove="touchMove" bindtouchend="touchEnd" disable-scroll="true"></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="position: absolute; z-index: -1; width:{{width}};height:{{height}};"></canvas>
</view>
  <view class="canvas">
    <canvas
      id="signCanvas"
      type="2d"
      class="sign-canvas"
      bindtouchstart="touchStart"
      bindtouchmove="touchMove"
      bindtouchend="touchEnd"
      disable-scroll="true"
    ></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="position: absolute; z-index: -1; width:{{width}};height:{{height}};"
  ></canvas>
</view>