金诚优选前端代码
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.

143 lines
4.1 KiB

  1. <template>
  2. <view>
  3. <lf-nav :spreadOut="true" :showIcon="true" title="设置"></lf-nav>
  4. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  5. <view class="set-tag lf-border-bottom" @click="$url('/pages/user/my/editname')">
  6. <view class="lf-font-28 lf-color-black">
  7. 昵称
  8. </view>
  9. <view class="lf-flex">
  10. <view class="lf-font-28 lf-color-555">{{ userInfo.mobile_replace }}</view><text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  15. <view class="set-tag lf-border-bottom" @click="$msg('敬请期待')">
  16. <view class="lf-font-28 lf-color-black">
  17. 头像
  18. </view>
  19. <view class="lf-flex">
  20. <view class="lf-row-center">
  21. <image :src="userInfo.avatar" mode="aspectFill" class="set-img" v-if="userInfo.avatar"></image>
  22. <image src="../../../static/images/empty.png" mode="aspectFill" class="set-img" v-else></image>
  23. </view>
  24. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  29. <view class="set-tag lf-border-bottom" @click="$url('/pages/user/my/vipinfo')">
  30. <view class="lf-font-28 lf-color-black">
  31. 会员资料
  32. </view>
  33. <view class="lf-flex">
  34. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  39. <view class="set-tag" @click="$url('/pages/address/list/list')">
  40. <view class="lf-font-28 lf-color-black">
  41. 地址管理
  42. </view>
  43. <view class="lf-flex">
  44. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  45. </view>
  46. </view>
  47. </view>
  48. <self-line/>
  49. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  50. <view class="set-tag lf-border-bottom" @click="$url('/pages/user/my/verificationPhone')">
  51. <view class="lf-font-28 lf-color-black">
  52. 修改手机号
  53. </view>
  54. <view class="lf-flex">
  55. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  60. <view class="set-tag" @click="$url('/pages/user/my/setPassword')">
  61. <view class="lf-font-28 lf-color-black">
  62. 支付密码设置
  63. </view>
  64. <view class="lf-flex">
  65. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  66. </view>
  67. </view>
  68. </view>
  69. <self-line/>
  70. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  71. <view class="set-tag lf-border-bottom" @click="$url('/pages/user/agreement/agreement')">
  72. <view class="lf-font-28 lf-color-black">
  73. 关于我们
  74. </view>
  75. <view class="lf-flex">
  76. <text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="lf-p-l-32 lf-p-r-32 lf-bg-white">
  81. <view class="set-tag" @click="$msg('敬请期待')">
  82. <view class="lf-font-28 lf-color-black">
  83. 客服电话
  84. </view>
  85. <view class="lf-flex">
  86. <view class="lf-font-28 lf-color-555">0315-7483482</view><text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  87. </view>
  88. </view>
  89. </view>
  90. <button class="set-btn" hover-class="lf-opacity" @click="signOut">退出账号</button>
  91. </view>
  92. </template>
  93. <script>
  94. export default {
  95. data(){
  96. return {
  97. userInfo: {}
  98. }
  99. },
  100. onLoad(){
  101. var userInfo = this.$cookieStorage.get('user_info');
  102. this.userInfo = userInfo || {};
  103. },
  104. methods: {
  105. signOut(){
  106. this.$msg('敬请期待')
  107. }
  108. }
  109. }
  110. </script>
  111. <style>
  112. page{
  113. background-color: #F8F8F8;
  114. }
  115. </style>
  116. <style scoped lang="scss">
  117. .set-btn {
  118. width: 550rpx;
  119. height: 100rpx;
  120. background: #15716E;
  121. border-radius: 50rpx;
  122. margin: 40rpx auto;
  123. font-size: 32rpx;
  124. color: white;
  125. line-height: 100rpx;
  126. }
  127. .set-img {
  128. width: 41rpx;
  129. height: 41rpx;
  130. border-radius: 50%;
  131. }
  132. .set-tag {
  133. height: 100rpx;
  134. width: 100%;
  135. display: flex;
  136. align-items: center;
  137. justify-content: space-between;
  138. // border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  139. }
  140. </style>