dossier.wxml 3.9 KB

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