index.wxml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <view class="container">
  2. <view class="profile-info">
  3. <image bindtap="onUserInfoClick" class="avatar" src="{{userInfo.avatar}}"></image>
  4. <view class="info">
  5. <text class='name' bindtap='onUserInfoClick'>{{ userInfo.nickname || '点击登录' }}</text>
  6. <!-- <text class='level' bindtap='onUserInfoClick'></text> -->
  7. </view>
  8. <image bindtap="onUserInfoClick" class='btn' src='/static/images/address_right.png'></image>
  9. </view>
  10. <view class="user-menu">
  11. <view class="item">
  12. <navigator url="/pages/ucenter/order/order" class="a">
  13. <text class="icon order"></text>
  14. <text class="txt">我的订单</text>
  15. </navigator>
  16. </view>
  17. <view class="item">
  18. <navigator url="/pages/ucenter/coupon/coupon" class="a">
  19. <text class="icon coupon"></text>
  20. <text class="txt">优惠券</text>
  21. </navigator>
  22. </view>
  23. <view class="item no-border">
  24. <navigator url="url" class="a">
  25. <text class="icon gift"></text>
  26. <text class="txt">礼品卡</text>
  27. </navigator>
  28. </view>
  29. <view class="item">
  30. <navigator url="/pages/ucenter/collect/collect" class="a">
  31. <text class="icon address"></text>
  32. <text class="txt">我的收藏</text>
  33. </navigator>
  34. </view>
  35. <view class="item">
  36. <navigator url="/pages/ucenter/footprint/footprint" class="a">
  37. <text class="icon security"></text>
  38. <text class="txt">我的足迹</text>
  39. </navigator>
  40. </view>
  41. <view class="item no-border">
  42. <navigator url="url" class="a">
  43. <text class="icon kefu"></text>
  44. <text class="txt">会员福利</text>
  45. </navigator>
  46. </view>
  47. <view class="item">
  48. <navigator url="../address/address" class="a">
  49. <text class="icon address"></text>
  50. <text class="txt">地址管理</text>
  51. </navigator>
  52. </view>
  53. <view class="item">
  54. <navigator url="url" class="a">
  55. <text class="icon security"></text>
  56. <text class="txt">账号安全</text>
  57. </navigator>
  58. </view>
  59. <view class="item no-border">
  60. <navigator url="url" class="a">
  61. <text class="icon kefu"></text>
  62. <text class="txt">联系客服</text>
  63. </navigator>
  64. </view>
  65. <view class="item item-bottom">
  66. <navigator url="url" class="a">
  67. <text class="icon help"></text>
  68. <text class="txt">帮助中心</text>
  69. </navigator>
  70. </view>
  71. <view class="item item-bottom">
  72. <navigator url="/pages/ucenter/feedback/feedback" class="a">
  73. <text class="icon feedback"></text>
  74. <text class="txt">意见反馈</text>
  75. </navigator>
  76. </view>
  77. </view>
  78. <!-- <view class="logout" bindtap="exitLogin">退出登录</view> -->
  79. </view>
  80. <view class='dialog-login' wx:if="{{showLoginDialog}}" bindtap='onCloseLoginDialog'>
  81. <view class='dialog-body' catchtap='onDialogBody'>
  82. <view class='title'>请选择登录方式</view>
  83. <view class='content'>
  84. <button type="primary" open-type="getUserInfo" bindgetuserinfo="onWechatLogin">微信登录</button>
  85. <button open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="onWechatLogin">手机号登录</button>
  86. </view>
  87. </view>
  88. </view>