<!--pages/sign-name/sign-name.wxml-->
<view class="container">
  <view class="handleBtn">
    <button bindtap="retDraw" class="subBtn" type="default">重写</button>
    <button bindtap="uploadCanvasImg" class="subBtn" type="primary">完成</button>
  </view>
  <view class="handCenter">
    <canvas class="handWriting" disable-scroll="true" bindtouchstart="uploadScaleStart" bindtouchmove="uploadScaleMove"
      bindtouchend="uploadScaleEnd" type="2d" id="signCanvas"></canvas>
  </view>
  <view class="handRight">
    <view class="handTitle">手写板</view>
  </view>
</view>
<view style="position:absolute;left:750rpx;top:0;">
  <canvas type="2d" id="offCanvas" style="width: 100%; height: 100vh;"></canvas>
</view>