<!--pages/apply/index.wxml-->
<view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  <image src="../../../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">电子签名</text>
</view>
<view class="wrapper" style="margin-top:{{isIPX?'100px':'75px'}};">
	<view class="hand-left">
		<button catchtap="retDraw" class="del-btn">清除</button>
		<button catchtap="subCanvas" class="sub-btn">保存</button>
	</view>
	<view class="hand-center">
		<canvas class="hand-writing" wx:if="{{!isShow}}" disable-scroll="true" bindtouchstart="uploadScaleStart" bindtouchmove="uploadScaleMove" bindtouchend="uploadScaleEnd" canvas-id="handWriting">
		</canvas>
		<image mode="scaleToFill" class="hand-writing" wx:if="{{isShow}}" src="{{url}}"></image>
	</view>
	<view class="hand-right">
		<view class="hand-title">手写签名</view>
	</view>
</view>