user.wxml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <form wx:if="{{!id}}" catchsubmit="next">
  2. <view class="item">
  3. <label>姓名</label>
  4. <input bindinput="inputChange" data-name='name' value="{{data.name}}" placeholder=""></input>
  5. </view>
  6. <view class="item">
  7. <label>性别</label>
  8. <picker name='sex' data-name='sex' bindchange="pickerChange" value="{{sex}}" range="{{sexArray}}">
  9. <view class="picker">
  10. {{sexArray[sex]}}
  11. </view>
  12. </picker>
  13. <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
  14. </view>
  15. <view class="item">
  16. <label>身份证</label>
  17. <input bindinput="inputChange" data-name='idno' value="{{data.idno}}" type="idcard" placeholder=""></input>
  18. </view>
  19. <view class="item">
  20. <label>文化程度</label>
  21. <picker name='education' data-name='record' bindchange="pickerChange" value="{{record}}" range="{{recordArray}}">
  22. <view class="picker">
  23. {{recordArray[record]}}
  24. </view>
  25. </picker>
  26. <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
  27. </view>
  28. <view class="item">
  29. <label>手机号</label>
  30. <input bindinput="inputChange" data-name='phone' value="{{data.phone}}" type="number" placeholder="请输入您的手机号"></input>
  31. </view>
  32. <view class="item">
  33. <label>单位全称</label>
  34. <input bindinput="inputChange" data-name='company' value="{{data.company}}" placeholder="请输入您的单位名称"></input>
  35. </view>
  36. <!-- <view class="item xs">
  37. <label>学时证明</label>
  38. <image bindtap="preview" wx:if='{{data.classhour_imgs}}' src="{{data.classhour_imgs[0]}}" mode="widthFix"></image>
  39. </view> -->
  40. </form>
  41. <view class="content">
  42. <view class="item">
  43. <image wx:if='{{data.idnoimg_face}}' data-id='1' bindtap="takePhoto" src="{{data.idnoimg_face}}" mode="scaleToFill"></image>
  44. <image wx:else data-id='1' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  45. <view class="title">身份证正面照,务必保持清晰</view>
  46. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  47. <view data-id='1' bindtap="showImg" class="tips">点击查看参考图片</view>
  48. </view>
  49. <view class="item">
  50. <image wx:if='{{data.idnoimg_back}}' data-id='2' bindtap="takePhoto" src="{{data.idnoimg_back}}" mode="scaleToFill"></image>
  51. <image wx:else data-id='2' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  52. <view class="title">身份证反面照,务必保持清晰</view>
  53. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  54. <view data-id='2' bindtap="showImg" class="tips">点击查看参考图片</view>
  55. </view>
  56. <view class="item">
  57. <image wx:if='{{data.halfbody_img}}' data-id='3' bindtap="takePhoto" src="{{data.halfbody_img}}" mode="scaleToFill"></image>
  58. <image wx:else data-id='3' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  59. <view class="title">上半身照,务必保持清晰</view>
  60. <text>注意:头像大小与1寸照片相近,纯色背景,不能穿红色衣服!</text>
  61. <view data-id='3' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  62. </view>
  63. <view class="item">
  64. <image wx:if='{{data.education_img}}' data-id='4' bindtap="takePhoto" src="{{data.education_img}}" mode="scaleToFill"></image>
  65. <image wx:else data-id='4' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  66. <view class="title">毕业证书照或户口本个人现实学历页,务必保持清晰!</view>
  67. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  68. <view data-id='4' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  69. </view>
  70. <view class="item">
  71. <image wx:if='{{data.oldcard_img}}' data-id='5' bindtap="takePhoto" src="{{data.oldcard_img}}" mode="scaleToFill"></image>
  72. <image wx:else data-id='5' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  73. <view class="title">复审/换证证件照,务必保持清晰</view>
  74. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  75. <view data-id='5' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  76. </view>
  77. </view>
  78. <view bindtap="post" class="post">提交资料</view>
  79. <view class="model {{show?'show':''}}" bindtap="hideImg">
  80. <image src="{{img}}" mode="widthFix"></image>
  81. </view>