dossier.wxml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <view class="list">
  2. <view class="top-container">
  3. <image class="avatar" src="{{userInfo.avatar_url}}"></image>
  4. <text>会员用户:{{globalUserInfo.nickname}}</text>
  5. </view>
  6. <navigator url="/pages/name/name" hover-class="none">
  7. <view class="item flex-align-center">
  8. <view class="flex-row flex1">
  9. <text class="title">姓名</text>
  10. <text class="flex1" wx:if="{{ userInfo.real_name }}">{{ userInfo.real_name }}</text>
  11. <text class="flex1" wx:else style="color: #999999;">请填写姓名</text>
  12. </view>
  13. <!-- <image class="icon-right" src="/images/my/right.png"></image> -->
  14. </view>
  15. </navigator>
  16. <picker bindchange="bindGenderChange" value="{{userInfo.sex == 0 ? 0 : userInfo.sex -1}}" range="{{genders}}">
  17. <view class="item flex-align-center">
  18. <view class="flex-row flex1">
  19. <text class="title">性别</text>
  20. <text class="flex1">{{ userInfo.sex == 0 ? '保密' : genders[userInfo.sex -1 ] }}</text>
  21. <!-- <text class="flex1">{{genders[genderIndex]}}</text> -->
  22. </view>
  23. <image class="icon-right" src="/images/my/right.png"></image>
  24. </view>
  25. </picker>
  26. <picker mode="date" value="{{userInfo.birthday}}" start="1980-09-01" bindchange="bindDateChange">
  27. <view class="item flex-align-center">
  28. <view class="flex-row flex1">
  29. <text class="title">生日</text>
  30. <text class="flex1" wx:if="{{ userInfo.birthday }}">{{userInfo.birthday}}</text>
  31. <text class="flex1" wx:else style="color: #999999;">请选择生日</text>
  32. </view>
  33. <image class="icon-right" src="/images/my/right.png"></image>
  34. </view>
  35. </picker>
  36. <view class="item flex-align-center" bindtap="onPopupState" data-key="visible" data-value="{{true}}">
  37. <view class="flex-row flex1">
  38. <text class="title">手机号码</text>
  39. <text class="flex1">{{ userInfo.mobile }}</text>
  40. </view>
  41. <!-- <image class="icon-right" src="/images/my/right.png"></image> -->
  42. </view>
  43. <picker mode="region" bindchange="bindRegionChange">
  44. <view class="item flex-align-center">
  45. <view class="flex-row flex1">
  46. <text class="title">所在地</text>
  47. <text class="flex1" wx:if="{{ userInfo.city }}">{{ userInfo.city }}</text>
  48. <text class="flex1" wx:else style="color: #999999;">请选择常驻城市</text>
  49. <!-- <text class="flex1">{{region[0]}},{{region[1]}},{{region[2]}}</text> -->
  50. </view>
  51. <image class="icon-right" src="/images/my/right.png"></image>
  52. </view>
  53. </picker>
  54. <navigator url="/pages/member/investigation/investigation" hover-class="none">
  55. <view class="item flex-align-center">
  56. <view class="flex-row flex1">
  57. <text class="title">问诊信息</text>
  58. <text class="flex1" wx:if="{{ userInfo.has_investigation }}">已填写</text>
  59. <text class="flex1" wx:else style="color: #999999;">未填写,请尽快完善</text>
  60. </view>
  61. <image class="icon-right" src="/images/my/right.png"></image>
  62. </view>
  63. </navigator>
  64. </view>
  65. <wux-landscape visible="{{ visible }}" maskClosable="{{ true }}" closable="{{ false }}" bind:close="onPopupState" data-key="visible" data-value="{{false}}">
  66. <view class="use-popup flex-column">
  67. <text style="font-size: 36rpx;">更换手机</text>
  68. <text style="color: #666666;margin: 28rpx 0 78rpx;">您确定要更换绑定的手机吗?</text>
  69. <view class="use-btn">
  70. <view class="btn cancel flex-center" bindtap="onPopupState" data-key="visible" data-value="{{false}}">
  71. 取消
  72. </view>
  73. <navigator url="/pages/phone/phone?phone={{userInfo.mobile}}" hover-class="none">
  74. <view class="btn confirm flex-center">更换</view>
  75. </navigator>
  76. </view>
  77. <!-- [温馨提示] 确认激活后,该会员卡将立即生效; 如暂不激活,可在“已购会员卡”中去选择激活。 -->
  78. </view>
  79. </wux-landscape>