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.
 
 
 

153 lines
3.6 KiB

  1. <template>
  2. <view class="main">
  3. <view class="backTop"></view>
  4. <!-- 头部开始 -->
  5. <view class="header box">
  6. <u-avatar :src="photo?photo:'https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/my/headPicture.png'"
  7. size="174"></u-avatar>
  8. <view class="userName">{{name}}</view>
  9. <view class="mobile">{{mobile}}</view>
  10. </view>
  11. <view class="settingGroup box">
  12. <view class="line">
  13. <view class="title">
  14. <image src="/static/images/password.png" style="width: 40rpx;height: 40rpx;" mode=""></image>
  15. 修改密码
  16. </view>
  17. <view class="right">
  18. <image src="/static/images/arrow.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
  19. </view>
  20. </view>
  21. <navigator class="line" url="/pages/my/set/index">
  22. <view class="title">
  23. <image src="/static/images/setting.png" style="width: 44rpx;height: 42rpx;" mode=""></image>
  24. 我的设置
  25. </view>
  26. <view class="right">
  27. <image src="/static/images/arrow.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
  28. </view>
  29. </navigator>
  30. <view class="line" @click="phone">
  31. <view class="title">
  32. <image src="/static/images/Customer.png" style="width: 48rpx;height: 46rpx;" mode=""></image>
  33. 客服电话
  34. </view>
  35. <view class="right">
  36. <image src="/static/images/arrow.png" style="width: 30rpx;height: 30rpx;" mode=""></image>
  37. </view>
  38. </view>
  39. <view class="line" @click="logout" style="border: none;">
  40. <view class="title">
  41. <image src="/static/images/exit.png" style="width: 46rpx;height: 46rpx;" mode=""></image>
  42. 退出登录
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. var app = getApp();
  50. var util = require("../../utils/util.js");
  51. var config = require("../../config");
  52. export default {
  53. data() {
  54. return {
  55. name: "",
  56. photo: "",
  57. mobile: "",
  58. ishowAS:true,
  59. };
  60. },
  61. onShow: function() {
  62. },
  63. methods: {
  64. //拨打电话
  65. phone() {
  66. wx.makePhoneCall({
  67. phoneNumber: '4008191707,8888' //仅为示例,并非真实的电话号码
  68. })
  69. },
  70. logout() {
  71. }
  72. }
  73. };
  74. </script>
  75. <style lang="scss" scoped>
  76. .main {
  77. padding: 0 30rpx;
  78. background: #F8F8F8;
  79. display: flex;
  80. flex-direction: column;
  81. min-height: 100vh;
  82. padding-bottom: 40rpx;
  83. .backTop {
  84. background: #2671E2;
  85. position: absolute;
  86. left: 0;
  87. top: 0;
  88. width: 750rpx;
  89. height: 352rpx;
  90. }
  91. .box {
  92. background: #ffffff;
  93. }
  94. }
  95. .header {
  96. z-index: 2;
  97. border-radius: 25upx;
  98. margin-top: 120upx;
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. padding: 30upx 0;
  103. .userName{
  104. font-size: 36upx;
  105. font-weight: 500;
  106. color: #303030;
  107. margin-top: 20upx;
  108. line-height: 50upx;
  109. }
  110. .mobile{
  111. font-size: 30upx;
  112. line-height: 42upx;
  113. color: #BDBDBD;
  114. margin-top: 6upx;
  115. }
  116. }
  117. .settingGroup{
  118. margin-top: 30upx;
  119. color: #303030;
  120. font-size: 30upx;
  121. display: flex;
  122. flex-direction: column;
  123. .line{
  124. height: 118upx;
  125. border-bottom: 1upx solid #EEEEEE;
  126. margin: 0 38upx 0 30upx;
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-between;
  130. .title{
  131. display: flex;
  132. align-items: center;
  133. width: 190upx;
  134. justify-content: space-between;
  135. }
  136. }
  137. }
  138. </style>