<!--packageI/diyRormProve/diyRormProveSubmit/diyRormProveSubmit.wxml-->
<view id="diy-form-prove-submit">
  <block wx:if="{{!loading}}">
    <diyform status="{{status}}" thumb='{{thumb}}' description='{{description}}' field="{{field}}" bind:submit="submit"
      use-action-slot="{{pageMode == 'prove'? true: false}}">
      <view slot="action" >
        <van-button disabled="{{isProve}}" style="height: 40px;" size="large" catchtap="proveForm"
          type="{{!isProve ? 'primary' : 'danger'}}">{{
          isProve ? "已确认" : "确认"
          }}</van-button>
      </view>
    </diyform>
  </block>

  <van-popup show="{{showCode}}" close-on-click-overlay="{{false}}" round custom-style=" width: 18rem">
    <view class="code-box">
      <image src="{{code_url}}" alt="" mode="widthFix"/>
      请联系工作人员扫码<br /><em wx:if="{{!finish}}"
        style="font-size:14px;display: flex;justify-content: center;padding-top:0.5rem;">有效期2分钟,剩余:
        <van-count-down class="control-count-down" time="120000" format="mm:ss" bind:finish="finishTimer" />
      </em>
      <em wx:else style="font-size:14px;padding-top:0.5rem;color: #f15353;">二维码已失效</em>
      <view class="icon-clone"><i class="iconfont icon-guanbi" catchtap="close"></i></view>
    </view>
  </van-popup>
</view>