user.wxml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. </form>
  37. <view class="content">
  38. <view class="item">
  39. <image wx:if='{{data.idnoimg_face}}' data-id='1' bindtap="takePhoto" src="{{data.idnoimg_face}}" mode="widthFix"></image>
  40. <image wx:else data-id='1' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  41. <view class="title">身份证正面照,务必保持清晰</view>
  42. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  43. <view data-id='0' bindtap="showImg" class="tips">点击查看参考图片</view>
  44. </view>
  45. <view class="item">
  46. <image wx:if='{{data.idnoimg_back}}' data-id='2' bindtap="takePhoto" src="{{data.idnoimg_back}}" mode="widthFix"></image>
  47. <image wx:else data-id='2' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  48. <view class="title">身份证反面照,务必保持清晰</view>
  49. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  50. <view data-id='1' bindtap="showImg" class="tips">点击查看参考图片</view>
  51. </view>
  52. <view class="item">
  53. <image wx:if='{{data.halfbody_img}}' data-id='3' bindtap="takePhoto" src="{{data.halfbody_img}}" mode="widthFix"></image>
  54. <image wx:else data-id='3' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  55. <view class="title">上半身照,务必保持清晰</view>
  56. <text>注意:头像大小与1寸照片相近,纯色背景,不能穿红色衣服!</text>
  57. <view data-id='2' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  58. </view>
  59. <view class="item">
  60. <image wx:if='{{data.education_img}}' data-id='4' bindtap="takePhoto" src="{{data.education_img}}" mode="widthFix"></image>
  61. <image wx:else data-id='4' bindtap="takePhoto" src="../../images/upload.png" mode="widthFix"></image>
  62. <view class="title">毕业证书照或户口本个人现实学历页,务必保持清晰!</view>
  63. <text>注意:拍完整不能斜着拍,和复印效果一样!</text>
  64. <view data-id='3' bindtap="showImg" class="tips" style="margin:0;">点击查看参考图片</view>
  65. </view>
  66. </view>
  67. <view bindtap="post" class="post">提交资料</view>
  68. <view class="model {{show?'show':''}}" bindtap="hideImg">
  69. <image src="../../images/upload.png" mode="widthFix"></image>
  70. </view>