personInfo.wxml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <view class="container" style="padding-bottom:150rpx">
  2. <view class="card_bj">
  3. <view class="p1">身份证上传</view>
  4. <view class="p2">注:上传横向且清晰的</view>
  5. <view class="p3">身份证头像面照片</view>
  6. <image class="cardimg" mode="aspectFit" src="{{imgsrc}}" data-type='card' bindtap="uploadCard"></image>
  7. </view>
  8. <view class="card_bj">
  9. <view class="p1">照片上传</view>
  10. <view class="p2">上传本人照片呦</view>
  11. <image class="cardimg" mode="aspectFit" src="{{photo}}" data-type='photo' bindtap="uploadCard"></image>
  12. </view>
  13. <form bindsubmit='formSubmit'>
  14. <view style="display:none">
  15. <input name="idFront" type="text" value="{{form.idFront}}"></input>
  16. </view>
  17. <view style="display:none">
  18. <input name="idCard" type="text" value="{{form.idCard}}"></input>
  19. </view>
  20. <view style="display:none">
  21. <input name="photoUrl" type="text" value="{{form.photoUrl}}"></input>
  22. </view>
  23. <view class="block">
  24. <view class='left'>姓名</view>
  25. <view class='right'>
  26. <input name="name" value="{{form.name}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  27. </view>
  28. </view>
  29. <view class="block">
  30. <view class='left' style="width:40%">联系方式</view>
  31. <view class='right' style="width:60%">
  32. <input name="tel" wx:if="{{form.tel}}" value="{{form.tel}}" bindblur="phoneChange" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  33. <button wx:else open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" id="photo_btn">未填写</button>
  34. </view>
  35. </view>
  36. <view class="block">
  37. <view class='left'>性别</view>
  38. <view class='right'>
  39. <radio-group class="parameter-wrap" bindchange="checkboxChange" name='sex' value="{{form.sex}}">
  40. <label class="checkbox my-choosebox {{ item.checked?'checkboxbox':''}}" wx:for-index="idx" wx:key="index" wx:for="{{questionList}}">
  41. <checkbox value="{{item.value}}" checked="{{item.checked}}" />{{item.name}}
  42. </label>
  43. </radio-group>
  44. </view>
  45. </view>
  46. <view class="block">
  47. <view class='left'>年龄</view>
  48. <view class='right'>
  49. <input name="age" value="{{form.age}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  50. </view>
  51. </view>
  52. <view class="block">
  53. <view class='left'>户籍</view>
  54. <view class='right'>
  55. <input name="nativePlace" value="{{form.nativePlace}}" placeholder="未填写" placeholder-class="iconfont icon-jianjiaohao1 icon-tubiaozhizuo-1"></input>
  56. </view>
  57. </view>
  58. <view class="block">
  59. <view class='left'>民族</view>
  60. <view class='right'>
  61. <picker bindchange="nationPicker" range="{{mzArr}}" name='nation' value="{{form.nation}}">
  62. <view style="text-align:right">
  63. <view wx:if="{{form.nation}}">{{form.nation}}</view>
  64. <view wx:else class='placeStyle'>
  65. <view class="redpoint"></view>
  66. <view class="placetext">未选择</view>
  67. <van-icon size="15px" name="arrow" />
  68. </view>
  69. </view>
  70. </picker>
  71. </view>
  72. </view>
  73. <view class="block">
  74. <view class='left'>生日</view>
  75. <view class='right'>
  76. <picker mode='date' bindchange="birthdayPicker" name='birthday' value="{{form.birthday}}">
  77. <view style="text-align:right">
  78. <view wx:if="{{form.birthday}}">{{form.birthday}}</view>
  79. <view wx:else class='placeStyle'>
  80. <view class="redpoint"></view>
  81. <view class="placetext">未选择</view>
  82. <van-icon size="15px" name="arrow" />
  83. </view>
  84. </view>
  85. </picker>
  86. </view>
  87. </view>
  88. <view class="block">
  89. <view class='left'>星座</view>
  90. <view class='right'>
  91. <picker bindchange="constellationPicker" range="{{constellationArr}}" name='constellation' value="{{form.constellation}}">
  92. <view style="text-align:right">
  93. <view wx:if="{{constellationLabel}}">{{constellationLabel}}</view>
  94. <view wx:else class='placeStyle'>
  95. <view class="redpoint"></view>
  96. <view class="placetext">未选择</view>
  97. <van-icon size="15px" name="arrow" />
  98. </view>
  99. </view>
  100. </picker>
  101. </view>
  102. </view>
  103. <view class="btn-area">
  104. <button form-type="submit" id="sunbmit">
  105. <span wx:if="{{myInfo&&myInfo.height}}">确认</span>
  106. <span wx:else>确认,快去完善详细信息吧</span>
  107. </button>
  108. </view>
  109. </form>
  110. </view>
  111. <view class="tabbar">
  112. <view class="tab1" bindtap="goIndex">
  113. <image src="../../images/unactive_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  114. <view>首页</view>
  115. </view>
  116. <view class="tab1">
  117. <image src="../../images/unactive_bar2.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  118. <button type="primary" id="red" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}|foreignid={{userInfo.foreignid}}|referrerTitle={{ysf.title}}|ysf.config= {{ysf.config}}"
  119. open-type="contact"
  120. >客服</button>
  121. </view>
  122. <view class="tab1">
  123. <image src="../../images/active_bar4.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  124. <view style="color:#a342ff">注册</view>
  125. </view>
  126. <view class="tab1" bindtap="goMy">
  127. <image src="../../images/unactive_bar3.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  128. <view>我的</view>
  129. </view>
  130. </view>