upload.wxml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 class="item" wx:if="{{has_healthimg}}">
  39. <image wx:if='{{health_img}}' data-id='5' bindtap="takePhoto" src="{{health_img}}" mode="scaleToFill"></image>
  40. <image wx:else data-id='6' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  41. <view class="title">健康体检表照片,务必保持清晰</view>
  42. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  43. <view data-id='6' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  44. </view>
  45. <view bindtap="post" class="post">提交资料</view>
  46. </view>
  47. <view class="model {{show?'show':''}}" bindtap="hideImg">
  48. <image src="{{img}}" mode="widthFix"></image>
  49. </view>