<view class="container">
  <canvas class="canvas" id="canvas" canvas-id="canvas" disable-scroll="true" bindtouchstart="canvasStart"
    bindtouchmove="canvasMove" bindtouchend="canvasEnd" touchcancel="canvasEnd"
    binderror="canvasIdErrorCallback">
    </canvas>
</view>
<view class="tips">
    请在横线上方签字
</view>
<view class="button-area">
    <van-button custom-class="button-custom" class="button" size="small" plain type="info" bindtap="cleardraw" color="#ffcf00">重签</van-button>
    <van-button custom-class="button-custom" class="button1" size="small" type="info"  bindtap="getimg" color="#ffcf00">完成</van-button>
</view>