<!--packageH/signPage/identifyResult/identifyResult.wxml-->
<view class="result">
  <view class="content" wx:if="{{show == 'person' && person.status == 'SUCCESS'}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_success@2x.png" alt=""></image>
    <view style="font-weight: bold;">您本次的个人认证已通过</view>

    <view class="btn-box">
      <view class="btn" style="width: 80%;" bindtap="toSign" data-str="1">继续企业认证</view>
      <view class="btn" style="width: 80%; color: #377aff; background: #fff; border: 1px solid #377aff;"
        bindtap="toSign" data-str="home">返回合同列表
      </view>
      <view style="margin: 8rpx 16rpx; text-align: left; font-weight: bold;">
        1、如果您是 <text class="phone">企业身份</text>签署合同，请点击“继续企业认证”；
      </view>
      <view style="margin: 8rpx 16rpx; text-align: left; font-weight: bold;">
        2、如果您是 <text class="phone">个人身份</text>签署合同，请点击“返回合同列表”进入指定合同详情完成签署！
      </view>
    </view>
  </view>
  <!--个人认证通过end-->

  <!--个人认证失败-->
  <view class="content" wx:if="{{show == 'person'&& person.status == 'FAIL'}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_failed@2x.png" alt=""></image>
    <view style="font-weight: bold;">您本次的个人认证未通过</view>
    <view style="font-size: 13px; margin-top: 8rpx;">请核对信息后继续认证</view>
  </view>
  <view class="btn" bindtap="toSign" wx:if="{{show == 'person'&& person.status == 'FAIL'}}">进行个人认证</view>
  <!--个人认证失败end-->

  <!--个人认证审核-->
  <view class="content" wx:if="{{show == 'person'&& person.status == 'ING'}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_checked@2x.png" alt=""></image>
    <view>您本次的个人认证信息正在审核</view>
  </view>
  <!--个人认证审核end-->

  <!--未认证-->
  <view class="content" wx:if="{{noIdentify}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_failed@2x.png" alt=""></image>
    <view style="font-weight: bold;">您未通过个人认证</view>
  </view>
  <view class="btn" bindtap="toSign" wx:if="{{noIdentify}}">进行个人认证</view>
  <!--未认证end-->

  <!--企业认证通过-->
  <view class="content" wx:if="{{show == 'company' && company.status == 'SUCCESS'}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_success@2x.png" alt=""></image>
    <view>您本次的企业认证已经通过</view>
  </view>
  <view class="btn" wx:if="{{show == 'company' && company.status == 'SUCCESS'}}"
    style="width: 80%; color: #377aff; background: #fff; border: 1px solid #377aff;" bindtap="toSign" data-str="home">
    返回合同列表继续签署合同
  </view>
  <!--企业认证通过end-->

  <!--企业认证失败-->
  <view class="content" wx:if="{{show == 'company'&& (company.status == 'FAIL' || company.status == 'NO_INIT')}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_failed@2x.png" alt=""></image>
    <view>您本次的企业认证未通过， <text>\r\n</text>请核对信息后继续认证。</view>
  </view>
  <view class="btn" wx:if="{{show == 'company'&& (company.status == 'FAIL' || company.status == 'NO_INIT')}}" bindtap="toSign" data-str="1">进行企业认证</view>
  <!--企业认证失败end-->

  <!--企业认证审核-->
  <view class="content"  wx:if="{{show == 'company'&& person.status == 'ING'}}">
    <image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/sign/yht_checked@2x.png" alt=""></image>
    <view>您本次的企业认证信息正在审核 <text>\r\n</text>如有疑问，请联系 
      <text class="phone" bindtap="freeTell" data-phone="{{company.contact_tel}}">{{company.contact_tel}}</text>
    </view>
  </view>
  <view class="btn" wx:if="{{show == 'company'&& company.status == 'ING'}}"
    style="width: 80%; color: #377aff; background: #fff; border: 1px solid #377aff;" bindtap="toSign" data-str="home">
    返回合同列表继续签署合同
  </view>
  <!--企业认证审核end-->

</view>
