upload.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="content">
  2. <!-- <camera device-position="front" flash="off" frame-size='medium'></camera> -->
  3. <view class="item">
  4. <image wx:if='{{idnoimg_face}}' data-id='1' bindtap="takePhoto" src="{{idnoimg_face}}" mode="scaleToFill"></image>
  5. <image wx:else data-id='1' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  6. <view class="title">身份证正面照,务必保持清晰</view>
  7. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  8. <view data-id='1' bindtap="showImg" class="tips">点击查看参考图片</view>
  9. </view>
  10. <view class="item">
  11. <image wx:if='{{idnoimg_back}}' data-id='2' bindtap="takePhoto" src="{{idnoimg_back}}" mode="scaleToFill"></image>
  12. <image wx:else data-id='2' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  13. <view class="title">身份证反面照,务必保持清晰</view>
  14. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  15. <view data-id='2' bindtap="showImg" class="tips">点击查看参考图片</view>
  16. </view>
  17. <view class="item">
  18. <image wx:if='{{halfbody_img}}' data-id='3' bindtap="takePhoto" src="{{halfbody_img}}" mode="scaleToFill"></image>
  19. <image wx:else data-id='3' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  20. <view class="title">上半身照,务必保持清晰</view>
  21. <text>注意:头像大小与1寸照片相近,纯色背景,不能穿红色衣服!</text>
  22. <view data-id='3' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  23. </view>
  24. <view class="item">
  25. <image wx:if='{{education_img}}' data-id='4' bindtap="takePhoto" src="{{education_img}}" mode="scaleToFill"></image>
  26. <image wx:else data-id='4' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  27. <view class="title">毕业证书照或户口本个人现实学历页,务必保持清晰!</view>
  28. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  29. <view data-id='4' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  30. </view>
  31. <view class="item" wx:if="{{train_type == '换证'||train_type == '复审'}}">
  32. <image wx:if='{{oldcard_img}}' data-id='5' bindtap="takePhoto" src="{{oldcard_img}}" mode="scaleToFill"></image>
  33. <image wx:else data-id='5' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  34. <view class="title">复审/换证证件照,务必保持清晰</view>
  35. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  36. <view data-id='5' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  37. </view>
  38. <view bindtap="post" class="post">提交资料</view>
  39. </view>
  40. <view class="model {{show?'show':''}}" bindtap="hideImg">
  41. <image src="{{img}}" mode="widthFix"></image>
  42. </view>