<view class="content">
<!-- <camera device-position="front" flash="off" frame-size='medium'></camera> -->
  <view class="item">
      <image wx:if='{{idnoimg_face}}' data-id='1' bindtap="takePhoto" src="{{idnoimg_face}}" mode="scaleToFill"></image>
      <image wx:else data-id='1' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">身份证正面照，务必保持清晰</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='1' bindtap="showImg" class="tips">点击查看参考图片</view>
  </view>

  <view class="item">
      <image wx:if='{{idnoimg_back}}' data-id='2' bindtap="takePhoto" src="{{idnoimg_back}}" mode="scaleToFill"></image>
      <image wx:else data-id='2' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">身份证反面照，务必保持清晰</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='2' bindtap="showImg" class="tips">点击查看参考图片</view>
  </view>

  <view class="item">
      <image wx:if='{{halfbody_img}}' data-id='3' bindtap="takePhoto" src="{{halfbody_img}}" mode="scaleToFill"></image>
      <image wx:else data-id='3' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">上半身照，务必保持清晰</view>
      <text>注意：头像大小与1寸照片相近，纯色背景，不能穿红色衣服！</text>
      <view data-id='3' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>

  <view class="item">
      <image wx:if='{{education_img}}' data-id='4' bindtap="takePhoto" src="{{education_img}}" mode="scaleToFill"></image>
      <image wx:else data-id='4' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">毕业证书照或户口本个人显示学历页，务必保持清晰！</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='4' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>

  <view class="item" wx:if="{{train_type == '换证'||train_type == '复审'}}">
      <image wx:if='{{oldcard_img}}' data-id='5' bindtap="takePhoto" src="{{oldcard_img}}" mode="scaleToFill"></image>
      <image wx:else data-id='5' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">复审/换证证件照，务必保持清晰</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='5' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>
  <view class="item" wx:if="{{has_healthimg}}">
      <image wx:if='{{health_img}}' data-id='6' bindtap="takePhoto" src="{{health_img}}" mode="scaleToFill"></image>
      <image wx:else data-id='6' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">健康体检表照片，务必保持清晰</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='6' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>
  <view class="item" wx:if="{{has_jobimg}}">
      <image wx:if='{{title_file}}' data-id='7' bindtap="takePhoto" src="{{title_file}}" mode="scaleToFill"></image>
      <image wx:else data-id='7' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">任职文件，需加盖公司鲜章</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='7' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>
  <view class="item" wx:if="{{has_jobimg}}">
      <image wx:if='{{job_exp}}' data-id='8' bindtap="takePhoto" src="{{job_exp}}" mode="scaleToFill"></image>
      <image wx:else data-id='8' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
      <view class="title">从业经验，需加盖公司鲜章</view>
      <text>注意：拍完整不能斜着拍，和复印效果一样！</text>
      <view data-id='8' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  </view>
  <view bindtap="post" class="post">提交资料</view>
</view>
<view class="model {{show?'show':''}}" bindtap="hideImg">
  <image src="{{img}}" mode="widthFix"></image>
</view>