<!-- <button catchtap="clear"> 清除缓存</button> -->
<form catchsubmit="beforeFormSubmit">

  <view class="mt10" style="padding-bottom: 80px;">

    <view class="quickapply" catchtap="chooseIdCard">
      <view class="upload">
        <view class="t-icon t-icon-paizhao"></view>
        <view size='mini' class="info">
          <view class="" hover-class="none" hover-stop-propagation="false">拍照或相册上传</view>
          <view class="" hover-class="none" hover-stop-propagation="false">系统智能识别并自动填写</view>
        </view>
      </view>
      <view class="idCardPreview" style="display: flex;align-items: center; justify-content: flex-end;" hover-class="none" hover-stop-propagation="false">
        <image class="" wx:if='{{currentImg}}' src="{{currentImg}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" catchtap='showImg'></image>
        <view class="t-icon t-icon-gengduo111" hover-class="none" hover-stop-propagation="false" style="width: 18px;height: 18px;" wx:else></view>
      </view>
    </view>
    <view class="bgf mt10">
      <view class="p16">
        <view class="f16 fwb c3">{{userInfo.name||'姓名'}}/{{userInfo.sex||'性别'}}/{{userInfo.age||'年龄'}}/{{userInfo.nationality || ''+'族'}}
        </view>
        <view class="f16 c6 mt6">{{userInfo.address}}</view>
        <view class="display-flex mt6">
          <view class="flex-1">
            <view class="iconView {{userInfo.num == '-' || userInfo.num == '' || userInfo.num == null ? '' : 'active'}}">
              <i class="iconfont icon-shenfenzheng pr" style="top:-2px"></i>
            </view>
            <text class="c6 f16 ml10">{{userInfo.num == '-' || userInfo.num == '' || userInfo.num == null ? '-' : userInfo.num}}</text>
          </view>
          <view style="min-width: 120px;top: -2px;" class="pr">
            <view class="iconView {{userInfo.tel == '-' || userInfo.tel == '' || userInfo.tel == null ? '' : 'active'}} pr">
              <i class="iconfont icon-dianhua  pr" style="font-size: 16px;top:-2px"></i>
            </view>
            <text class="c6 f16 ml10">{{userInfo.tel == '-' || userInfo.tel == '' || userInfo.tel == null ? '-' : userInfo.tel}}</text>
          </view>
        </view>
      </view>
      <navigator url="./enroll/index" class="editClass" hover-class="hcb">编辑</navigator>
    </view>

    <view class="bgf mt10">
      <view class="display-flex mt6 p016" style="line-height: 48px;border-bottom: 1px solid #eee;">
        <view class="f16 c6" style="width: 80px;">报名岗位</view>
        <view class="flex-1 c3 tr">
          {{jobName}}
        </view>

      </view>
      <view class="p16">

        <view class="display-flex">
          <view style="width: 80px;" class="c6">
            面试时间
          </view>
          <view class="flex-1 c3 tr">
            {{currentTime}}
          </view>
        </view>
        <view class="display-flex mt10">
          <view style="width: 80px;" class="c6">
            接待时间
          </view>
          <view class="flex-1 c3 tr">
            {{currentTime2}}
          </view>
        </view>
        <view class="display-flex mt10">
          <view style="width: 80px;" class="c6">
            政策
          </view>
          <view class="flex-1 c3 tr">
            {{policy}}
          </view>
        </view>
      </view>
      <navigator url="./enrollJob/index" class="editClass" hover-class="hcb">编辑</navigator>
    </view>






    <view class="weui-cells__group weui-cells__group_form mt10" style="background-color:#fff">
      <view class="weui-cell">
        <view class="weui-cell__hd">
          <label class="weui-label c6">
            <!-- <text class="cfred">*</text> -->
            代理
          </label>
        </view>
        <view class="weui-cell__bd">
          <view class="" hover-class="none" hover-stop-propagation="false" style="text-align:right;color:#333" bindtap='toJobAndAgencySelect' data-type='agency' wx:if="{{managerRoleClassify}}">
            <view class="" hover-class="none" hover-stop-propagation="false" wx:if='{{agentName}}'>
              {{agentName}}
              <i class="iconfont icon-gengduo11 f16 ml4 dib pr c9" style="line-height:1;top:1px;"></i>
            </view>
          </view>
          <view class="" wx:else hover-class="none" hover-stop-propagation="false" style="text-align:right;color:#999" data-type='agency'>
            <view class="" hover-class="none" hover-stop-propagation="false" wx:if='{{agentName}}'>
              {{agentName}}
              <i class="iconfont icon-gengduo11 f16 ml4 dib pr c9" style="line-height:1;top:1px;"></i>
            </view>
          </view>
        </view>
      </view>
    </view>
    <view class="f12 tc c9 ml14 display-flex" style="align-items:center;margin-top:16px;margin-bottom: 80px;">
      <!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> -->
      <radio-group class="dib">
        <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#1890ff" style="transform:scale(.7)" />
      </radio-group>
      我已阅读并同意
      <navigator url="../serviceTerm/index" class="aLink">《用户服务协议》</navigator>
      及
      <navigator url="../secret/index" class="aLink">《隐私政策》</navigator>
    </view>

  </view>

  <!-- <view class="mt24 mb16">
      <button class="weui-btn mbtn newBtn" style="margin-top:20px;" hover-class="thover" form-type='submit'>
        <i class="weui-loading"></i>
        确定
      </button>
    </view> -->
  <view class="btmFix display-flex" style="justify-content: center;">
    <button class="dtBtnD mr12" catchtap="shrink" data-edit="2">取消</button>
    <button type='primary' class="dtBtn ml12" hover-class="button-hover" loading="{{loading}}" formType="submit">确定</button>


  </view>
</form>