You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
3.8 KiB

1 year ago
1 year ago
1 year ago
  1. <!--pages/my/my.wxml-->
  2. <view class="vip">
  3. <view class="tx" bindtap="goPath" data-path="/pages/personalData/personalData">
  4. <view class="tximg">
  5. <!-- <image src="{{userInfo.avatarUrl}}" mode="widthFix"></image> -->
  6. <button open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar"></button>
  7. <!-- <button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
  8. <image class="avatar" src="{{avatarUrl}}"></image>
  9. </button> -->
  10. <open-data type="userAvatarUrl"></open-data>
  11. </view>
  12. <view class="txtxt" bindtap="personalData">
  13. <view class="phone">
  14. <!-- <open-data type="userNickName"></open-data> -->
  15. <view>{{userInfo.username}}</view>
  16. </view>
  17. </view>
  18. <view class="righticon" bindtap="personalData">
  19. <icon class="iconfont icon-right1"></icon>
  20. </view>
  21. </view>
  22. </view>
  23. <!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号</button> -->
  24. <view class="serviceList">
  25. <navigator url="/pages/modelselection/modelselection" wx:if="{{userInfo.type<2}}">
  26. <view class="serviceLi">
  27. <view class="servicetxt">
  28. <icon class="iconfont iconziliao"></icon>
  29. <text>施工</text>
  30. </view>
  31. <view class="serviceright">
  32. <icon class="iconfont icon-right"></icon>
  33. </view>
  34. </view>
  35. </navigator>
  36. <navigator url="/pagesA/activatePayment/activatePayment" wx:if="{{userInfo.type<2}}">
  37. <view class="serviceLi">
  38. <view class="servicetxt">
  39. <icon class="iconfont iconziliao"></icon>
  40. <text>绑定银行卡</text>
  41. </view>
  42. <view class="serviceright">
  43. <icon class="iconfont icon-right"></icon>
  44. </view>
  45. </view>
  46. </navigator>
  47. <navigator url="/pages/updateWord/updateWord">
  48. <view class="serviceLi">
  49. <view class="servicetxt">
  50. <icon class="iconfont iconziliao"></icon>
  51. <text>修改密码</text>
  52. </view>
  53. <view class="serviceright">
  54. <icon class="iconfont icon-right"></icon>
  55. </view>
  56. </view>
  57. </navigator>
  58. <navigator url="/pages/config/config" wx:if="{{userInfo.type==0}}">
  59. <view class="serviceLi">
  60. <view class="servicetxt">
  61. <icon class="iconfont iconziliao"></icon>
  62. <text>设置数据区域</text>
  63. </view>
  64. <view class="serviceright">
  65. <icon class="iconfont icon-right"></icon>
  66. </view>
  67. </view>
  68. </navigator>
  69. <navigator url="/pages/rentManagement/rentManagement" wx:if="{{userInfo.type==0}}">
  70. <view class="serviceLi">
  71. <view class="servicetxt">
  72. <icon class="iconfont iconziliao"></icon>
  73. <text>合同</text>
  74. </view>
  75. <view class="serviceright">
  76. <icon class="iconfont icon-right"></icon>
  77. </view>
  78. </view>
  79. </navigator>
  80. <navigator url="/pages/orderList/orderList" wx:if="{{userInfo.type==0}}">
  81. <view class="serviceLi">
  82. <view class="servicetxt">
  83. <icon class="iconfont iconziliao"></icon>
  84. <text>订单列表</text>
  85. </view>
  86. <view class="serviceright">
  87. <icon class="iconfont icon-right"></icon>
  88. </view>
  89. </view>
  90. </navigator>
  91. <!-- <navigator url="/pages/changeLock/changeLock" wx:if="{{userInfo.type<2}}">
  92. <view class="serviceLi">
  93. <view class="servicetxt">
  94. <icon class="iconfont iconziliao"></icon>
  95. <text>换锁</text>
  96. </view>
  97. <view class="serviceright">
  98. <icon class="iconfont icon-right"></icon>
  99. </view>
  100. </view>
  101. </navigator> -->
  102. </view>
  103. <view class="bottombutton">
  104. <van-button type="default" block bindtap="logout">退出登录</van-button>
  105. </view>