personInfo.wxml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <view class="container" style="margin-bottom:100rpx">
  2. <view class="card_bj">
  3. <view class="p1">身份证上传</view>
  4. <view class="p2">上传身份证头像面</view>
  5. <image class="cardimg" mode="aspectFit" src="{{imgsrc}}" data-type='card' bindtap="uploadCard"></image>
  6. </view>
  7. <view class="card_bj">
  8. <view class="p1">照片上传</view>
  9. <view class="p2">上传本人照片呦</view>
  10. <image class="cardimg" mode="aspectFit" src="{{photo}}" data-type='photo' bindtap="uploadCard"></image>
  11. </view>
  12. <form bindsubmit='formSubmit'>
  13. <view style="display:none">
  14. <input name="idFront" type="text" value="{{form.idFront}}"></input>
  15. </view>
  16. <view style="display:none">
  17. <input name="idCard" type="text" value="{{form.idCard}}"></input>
  18. </view>
  19. <view style="display:none">
  20. <input name="photoUrl" type="text" value="{{form.photoUrl}}"></input>
  21. </view>
  22. <view class="block">
  23. <view class='left'>姓名</view>
  24. <view class='right'>
  25. <input name="name" value="{{form.name}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  26. </view>
  27. </view>
  28. <view class="block">
  29. <view class='left'>性别</view>
  30. <view class='right'>
  31. <radio-group class="parameter-wrap" bindchange="checkboxChange" name='sex' value="{{form.sex}}">
  32. <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="index" wx:for="{{questionList}}">
  33. <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
  34. </label>
  35. </radio-group>
  36. </view>
  37. </view>
  38. <view class="block">
  39. <view class='left'>年龄</view>
  40. <view class='right'>
  41. <input name="age" value="{{form.age}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  42. </view>
  43. </view>
  44. <view class="block">
  45. <view class='left'>户籍</view>
  46. <view class='right'>
  47. <input name="nativePlace" value="{{form.nativePlace}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  48. </view>
  49. </view>
  50. <view class="block">
  51. <view class='left'>民族</view>
  52. <view class='right'>
  53. <picker bindchange="nationPicker" range="{{mzArr}}" name='nation' value="{{form.nation}}">
  54. <view style="text-align:right">
  55. <view wx:if="{{form.nation}}">{{form.nation}}</view>
  56. <view wx:else class='placeStyle'>
  57. <view class="redpoint"></view>
  58. <view class="placetext">未选择</view>
  59. <van-icon size="15px" name="arrow" />
  60. </view>
  61. </view>
  62. </picker>
  63. </view>
  64. </view>
  65. <view class="block">
  66. <view class='left'>生日</view>
  67. <view class='right'>
  68. <picker mode='date' bindchange="birthdayPicker" name='birthday' value="{{form.birthday}}">
  69. <view style="text-align:right">
  70. <view wx:if="{{form.birthday}}">{{form.birthday}}</view>
  71. <view wx:else class='placeStyle'>
  72. <view class="redpoint"></view>
  73. <view class="placetext">未选择</view>
  74. <van-icon size="15px" name="arrow" />
  75. </view>
  76. </view>
  77. </picker>
  78. </view>
  79. </view>
  80. <view class="block">
  81. <view class='left'>星座</view>
  82. <view class='right'>
  83. <picker bindchange="constellationPicker" range="{{constellationArr}}" name='constellation' value="{{form.constellation}}">
  84. <view style="text-align:right">
  85. <view wx:if="{{constellationLabel}}">{{constellationLabel}}</view>
  86. <view wx:else class='placeStyle'>
  87. <view class="redpoint"></view>
  88. <view class="placetext">未选择</view>
  89. <van-icon size="15px" name="arrow" />
  90. </view>
  91. </view>
  92. </picker>
  93. </view>
  94. </view>
  95. <view class="btn-area">
  96. <button form-type="submit" id="sunbmit">
  97. <span wx:if="{{myInfo&&myInfo.height}}">确认</span>
  98. <span wx:else>确认,快去完善详细信息吧</span>
  99. </button>
  100. </view>
  101. <!-- <view style="font-size:25rpx;display:flex;margin-left:120rpx">
  102. <checkbox-group bindchange="change">
  103. <label class="checkbox">
  104. <checkbox value="cb" />
  105. </label>
  106. </checkbox-group>
  107. <p bindtap='goxy'>同意并遵守《月合权益购买协议》</p>
  108. </view> -->
  109. </form>
  110. </view>