建材商城系统20241014
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.

348 lines
7.0 KiB

7 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
6 months ago
7 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
6 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="page">
  3. <!-- <navbar title="个人中心" /> -->
  4. <view class="head">
  5. <view class="headImage">
  6. <image src="/static/image/center/headImage.png" mode=""></image>
  7. </view>
  8. <view class="info">
  9. <view class="name">
  10. 倾心.
  11. </view>
  12. <view class="headBtn" @click="headBtn">
  13. 修改资料
  14. </view>
  15. <!-- <view class="vip">
  16. VIP1
  17. </view> -->
  18. <view class="tips">
  19. 手机号<text>1387451383</text>
  20. </view>
  21. </view>
  22. <view class="amend">
  23. <uv-icon name="edit-pen-fill" size="26rpx" color="#fff"></uv-icon>
  24. </view>
  25. </view>
  26. <!-- 酒店 -->
  27. <view class="user">
  28. <view class="line">
  29. <view class="item" style="">
  30. <view class="image">
  31. <image src="/static/image/center/1.png" mode=""></image>
  32. </view>
  33. <view class="">
  34. 我的佣金
  35. <p style="color:#DC2828; font-weight: 700;">240</p>
  36. </view>
  37. </view>
  38. <view class="item">
  39. <view class="image">
  40. <image src="/static/image/center/4.png" mode=""></image>
  41. </view>
  42. <view class="">
  43. 我的金额
  44. <p style="color:#DC2828;font-weight: 700">1200</p>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="line">
  49. <view class="image-home">
  50. <uv-swiper
  51. class="uv-swaip"
  52. height="300rpx"
  53. :list="list"
  54. circular
  55. indicator="true"
  56. bgColor="#ffffff">
  57. </uv-swiper>
  58. </view>
  59. </view>
  60. <view class="line grid">
  61. <view class="title">
  62. 我的服务
  63. </view>
  64. <uv-grid :col="4" :border="false">
  65. <uv-grid-item @click="$utils.navigateTo('/index/order')">
  66. <image class="image" src="/static/image/center/12.png" mode=""></image>
  67. <text class="grid-text">我的订单</text>
  68. </uv-grid-item>
  69. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/address')">
  70. <image class="image" src="/static/image/center/12.png" mode=""></image>
  71. <text class="grid-text">我的地址</text>
  72. </uv-grid-item>
  73. <uv-grid-item @click="$utils.redirectTo('/pages_order/mine/individualTeam')">
  74. <image class="image" src="/static/image/center/8.png" mode=""></image>
  75. <text class="grid-text">我的团队</text>
  76. </uv-grid-item>
  77. <uv-grid-item @click="$utils.navigateTo('/pages_order/order/refundsOrExchange?index='+0)">
  78. <image class="image" src="/static/image/center/5.png" mode=""></image>
  79. <text class="grid-text">联系客服</text>
  80. </uv-grid-item>
  81. <uv-grid-item @click="$utils.navigateTo('/pages_order/order/refundsOrExchange?index='+1)">
  82. <image class="image" src="/static/image/center/7.png" mode=""></image>
  83. <text class="grid-text">快捷订单</text>
  84. </uv-grid-item>
  85. <uv-grid-item @click="contactUs">
  86. <image class="image" src="/static/image/center/9.png" mode=""></image>
  87. <text class="grid-text">邀请好友</text>
  88. </uv-grid-item>
  89. <uv-grid-item>
  90. <image class="image" src="/static/image/center/6.png" mode=""></image>
  91. <text class="grid-text">系统设置</text>
  92. </uv-grid-item>
  93. <uv-grid-item @click="$utils.redirectTo('/index/cart')">
  94. <image class="image" src="/static/image/center/7.png" mode=""></image>
  95. <text class="grid-text">帮助与反馈</text>
  96. </uv-grid-item>
  97. <uv-grid-item
  98. @click="$utils.navigateTo('/pages_order/auth/loginAndRegisterAndForgetPassword?index='+2)">
  99. <image class="image" src="/static/image/center/7.png" mode=""></image>
  100. <text class="grid-text">关于本程序</text>
  101. </uv-grid-item>
  102. </uv-grid>
  103. </view>
  104. </view>
  105. <tabber select="4" />
  106. </view>
  107. </template>
  108. <script>
  109. import tabber from '@/components/base/tabbar.vue'
  110. export default {
  111. components: {
  112. tabber,
  113. },
  114. computed: {
  115. },
  116. data() {
  117. return {
  118. list: [
  119. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  120. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  121. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  122. ]
  123. }
  124. },
  125. methods: {
  126. }
  127. }
  128. </script>
  129. <style scoped lang="scss">
  130. .page {
  131. .warp {
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. height: 100%;
  136. }
  137. .rect {
  138. width: 600rpx;
  139. height: 300rpx;
  140. background-color: #fff;
  141. border-radius: 20rpx;
  142. overflow: hidden;
  143. .title {
  144. padding: 10rpx 0 0 15rpx;
  145. background-color: #fd5100;
  146. color: #FFF;
  147. text-align: left;
  148. width: 100%;
  149. height: 18%;
  150. font-size: 36rpx;
  151. }
  152. .center {
  153. height: 40%;
  154. display: flex;
  155. justify-content: center;
  156. align-items: center;
  157. font-size: 36rpx;
  158. }
  159. .bottom {
  160. display: flex;
  161. justify-content: center;
  162. gap: 50rpx;
  163. }
  164. }
  165. }
  166. image {
  167. width: 100%;
  168. height: 100%;
  169. }
  170. .head {
  171. z-index: -1;
  172. display: flex;
  173. background-color: #DC2828;
  174. padding: 0rpx 20rpx;
  175. align-items: center;
  176. position: relative;
  177. height: 300rpx;
  178. padding-top: 60rpx;
  179. .headImage {
  180. width: 120rpx;
  181. height: 120rpx;
  182. background-image: url(/static/image/center/3.png);
  183. background-size: 100% 100%;
  184. overflow: hidden;
  185. border-radius: 50%;
  186. margin-right: 40rpx;
  187. }
  188. .info {
  189. font-size: 28rpx;
  190. .vip {
  191. background-color: #FCCC92;
  192. color: #FA6239;
  193. width: 100rpx;
  194. display: flex;
  195. justify-content: center;
  196. align-items: center;
  197. height: 40rpx;
  198. border-radius: 20rpx;
  199. margin-top: 20rpx;
  200. }
  201. .name {
  202. font-size: 36rpx;
  203. color: #fff;
  204. }
  205. .tips {
  206. font-size: 26rpx;
  207. color: #fff;
  208. margin-top: 10rpx;
  209. }
  210. }
  211. .headBtn {
  212. position: absolute;
  213. left: 310rpx;
  214. top: 175rpx;
  215. color: #FFF;
  216. font-size: 26rpx;
  217. }
  218. .amend {
  219. position: absolute;
  220. left: 275rpx;
  221. top: 180rpx;
  222. }
  223. }
  224. .userShop {
  225. .userList {
  226. .title {
  227. font-size: 32rpx;
  228. font-weight: 900;
  229. padding: 20rpx;
  230. }
  231. .list {
  232. display: flex;
  233. flex-wrap: wrap;
  234. .item {
  235. width: 270rpx;
  236. margin: 20rpx;
  237. display: flex;
  238. flex-direction: column;
  239. padding: 40rpx 30rpx;
  240. background-color: #fff;
  241. border-radius: 30rpx;
  242. line-height: 60rpx;
  243. .name {}
  244. .num {
  245. color: $uni-color;
  246. font-weight: 600;
  247. font-size: 28rpx;
  248. }
  249. }
  250. }
  251. }
  252. }
  253. .user {
  254. z-index: 99;
  255. margin: 0 30rpx;
  256. margin-top: -60rpx;
  257. .line {
  258. display: flex;
  259. background-color: #fff;
  260. padding: 20rpx 0;
  261. align-content: center;
  262. margin-top: 20rpx;
  263. border-radius: 15rpx;
  264. .item {
  265. flex: 1;
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. padding: 20rpx 0;
  270. &:nth-child(1) {
  271. border-right: 1px dotted #00000013;
  272. }
  273. .image {
  274. width: 150rpx;
  275. height: 135rpx;
  276. margin-right: 20rpx;
  277. }
  278. }
  279. .image-home{
  280. z-index: 1;
  281. height: 300rpx;
  282. width: 100%;
  283. }
  284. }
  285. .grid {
  286. flex-direction: column;
  287. font-size: 26rpx;
  288. padding: 20rpx;
  289. .title {
  290. margin-bottom: 30rpx;
  291. font-size: 28rpx;
  292. font-weight: 600;
  293. }
  294. .image {
  295. width: 50rpx;
  296. height: 50rpx;
  297. margin: 20rpx 0;
  298. }
  299. text {
  300. text-align: center;
  301. width: 120rpx;
  302. font-size: 24rpx;
  303. }
  304. }
  305. }
  306. </style>