<!--packageI/handwrittenEsign/handwrittenEsignIndex/handwrittenEsignIndex.wxml-->
<view style="padding: 12px;">
  <mp-html content="{{content}}" />
</view>

<block wx:if="{{!loading}}">
  <diyform id="diyform" bind:submit="submit" status="{{status}}" thumb='{{thumb}}' description='{{description}}' field="{{field}}" use-action-slot="{{true}}">
    <view slot="action" >
      <view></view>
    </view>
  </diyform>
</block>

<view class="esign-title">手签协议：</view>
<block wx:if="{{status == 0}}">
  <view hidden="{{showPay}}">
    <signature bind:confirm="singConfirm"></signature>
  </view>
</block>
<block wx:if="{{status == 1}}">
  <image src="{{resultImg}}"></image>
</block>
<van-popup show="{{ showPay }}" position="bottom" custom-style="" round closeable bind:close="onClose">
  <view class="recharge_way">
    <view class="pay-warn">
      <view style="font-size: 14px;color:#666;">支付金额</view>
      <view class="money-text"><em style="font-size:16px;">￥</em>{{ money }}</view>
    </view>
    <view class="choose_box">
      <view class="recharge-method-item" wx:for="{{ payMethods }}" wx:key="{{ item.value }}" bind:tap="payFee"
        data-type="{{ item.value }}">
        <text class="recharge-method-icon iconfont {{ item._iconClassName }}"></text>
        {{ item.name }}
      </view>
    </view>
  </view>
</van-popup>