clientInfoEdit.wxml 4.5 KB

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