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

283 lines
5.6 KiB

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
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
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
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
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
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
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
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
7 months ago
  1. <template>
  2. <view class="page">
  3. <navbar bgColor="#DC2828"/>
  4. <view class="head">
  5. <view class="headImage">
  6. <image :src="headImage" mode=""></image>
  7. </view>
  8. <view class="info">
  9. <view class="name">
  10. 倾心.
  11. <view>
  12. <uv-icon name="edit-pen" size="40rpx" color="#fff"></uv-icon>
  13. 修改资料
  14. </view>
  15. </view>
  16. <view class="tips">
  17. 手机号1300000000
  18. </view>
  19. </view>
  20. </view>
  21. <view class="user">
  22. <view class="swipe">
  23. <uv-swiper
  24. :list="bannerList"
  25. indicator
  26. height="220rpx"
  27. keyName="url"></uv-swiper>
  28. </view>
  29. <view class="line grid">
  30. <view class="title">
  31. 我的服务
  32. </view>
  33. <uv-grid :col="4" :border="false">
  34. <uv-grid-item @click="$utils.navigateTo('/index/order')">
  35. <image class="image" src="/static/image/center/1.png" mode=""></image>
  36. <text class="grid-text">我的订单</text>
  37. </uv-grid-item>
  38. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/GainPoints')">
  39. <image class="image" src="/static/image/center/4.png" mode=""></image>
  40. <text class="grid-text">我的团队</text>
  41. </uv-grid-item>
  42. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/IntegralRecord')">
  43. <image class="image" src="/static/image/center/5.png" mode=""></image>
  44. <text class="grid-text">联系客服</text>
  45. </uv-grid-item>
  46. <uv-grid-item @click="$utils.navigateTo('/pages_order/order/refundsOrExchange?index='+1)">
  47. <image class="image" src="/static/image/center/6.png" mode=""></image>
  48. <text class="grid-text">快捷订单</text>
  49. </uv-grid-item>
  50. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/address')">
  51. <image class="image" src="/static/image/center/5.png" mode=""></image>
  52. <text class="grid-text">邀请好友</text>
  53. </uv-grid-item>
  54. <uv-grid-item @click="$utils.redirectTo('/index/consult')">
  55. <image class="image" src="/static/image/center/6.png" mode=""></image>
  56. <text class="grid-text">系统设置</text>
  57. </uv-grid-item>
  58. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/contract')">
  59. <image class="image" src="/static/image/center/5.png" mode=""></image>
  60. <text class="grid-text">帮助与反馈</text>
  61. </uv-grid-item>
  62. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/promotion?index='+1)">
  63. <image class="image" src="/static/image/center/5.png" mode=""></image>
  64. <text class="grid-text">关于本程序</text>
  65. </uv-grid-item>
  66. </uv-grid>
  67. </view>
  68. </view>
  69. <tabber select="2" />
  70. </view>
  71. </template>
  72. <script>
  73. import tabber from '@/components/base/tabbar.vue'
  74. import {
  75. mapState
  76. } from 'vuex'
  77. export default {
  78. components: {
  79. tabber,
  80. },
  81. computed: {
  82. ...mapState(['userInfo']),
  83. headImage(){
  84. return '/static/image/center/headImage.png'
  85. },
  86. username(){
  87. },
  88. },
  89. data() {
  90. return {
  91. show: false,
  92. bannerList: [
  93. {
  94. url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  95. },
  96. {
  97. url: 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  98. },
  99. {
  100. url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  101. },
  102. ],
  103. }
  104. },
  105. methods: {
  106. headBtn() {
  107. let self = this
  108. uni.showModal({
  109. title: '演示切换角色之后的效果',
  110. success(res) {
  111. if (res.confirm) {
  112. self.$store.state.shop = !self.$store.state.shop
  113. }
  114. }
  115. })
  116. },
  117. // 联系客服按钮回调
  118. contactUs() {
  119. this.show = true
  120. },
  121. confirm() {
  122. this.show = false
  123. },
  124. cancle() {
  125. this.show = false
  126. },
  127. }
  128. }
  129. </script>
  130. <style scoped lang="scss">
  131. .page {
  132. }
  133. image {
  134. width: 100%;
  135. height: 100%;
  136. }
  137. .head {
  138. display: flex;
  139. background-color: $uni-color;
  140. padding: 40rpx 20rpx;
  141. align-items: center;
  142. position: relative;
  143. color: #fff;
  144. padding-bottom: 70rpx;
  145. .headImage {
  146. width: 120rpx;
  147. height: 120rpx;
  148. // background-image: url(/static/image/center/3.png);
  149. background-size: 100% 100%;
  150. overflow: hidden;
  151. border-radius: 50%;
  152. margin-right: 40rpx;
  153. }
  154. .info {
  155. font-size: 28rpx;
  156. .name {
  157. font-size: 32rpx;
  158. display: flex;
  159. padding-bottom: 10rpx;
  160. view{
  161. display: flex;
  162. font-size: 20rpx;
  163. align-items: center;
  164. padding-left: 20rpx;
  165. }
  166. }
  167. .tips {
  168. font-size: 26rpx;
  169. color: #fff;
  170. }
  171. }
  172. // .headBtn {
  173. // margin-left: auto;
  174. // padding: 15rpx 20rpx;
  175. // background-color: $uni-color;
  176. // color: #fff;
  177. // border-radius: 20rpx;
  178. // margin-top: 50rpx;
  179. // }
  180. // .setting {
  181. // position: absolute;
  182. // right: 50rpx;
  183. // top: 50rpx;
  184. // }
  185. }
  186. .user {
  187. position: relative;
  188. padding-top: 30rpx;
  189. .auth{
  190. width: 690rpx;
  191. position: absolute;
  192. top: -50rpx;
  193. left: 30rpx;
  194. z-index: 99;
  195. overflow: hidden;
  196. background-color: #fff;
  197. border-radius: 20rpx;
  198. /deep/ text{
  199. font-size: 26rpx;
  200. }
  201. }
  202. .swipe{
  203. margin: 30rpx;
  204. border-radius: 20rpx;
  205. overflow: hidden;
  206. }
  207. .line {
  208. display: flex;
  209. background-color: #fff;
  210. margin-top: 20rpx;
  211. padding: 20rpx 0;
  212. margin: 30rpx;
  213. border-radius: 20rpx;
  214. overflow: hidden;
  215. .item {
  216. flex: 1;
  217. display: flex;
  218. flex-direction: column;
  219. justify-content: center;
  220. align-items: center;
  221. font-size: 24rpx;
  222. padding: 10rpx 0;
  223. view{
  224. padding: 5rpx 0;
  225. }
  226. }
  227. }
  228. .grid {
  229. flex-direction: column;
  230. font-size: 26rpx;
  231. padding: 20rpx;
  232. .title {
  233. margin-bottom: 30rpx;
  234. font-size: 28rpx;
  235. }
  236. .image {
  237. width: 45rpx;
  238. height: 45rpx;
  239. margin-bottom: 10rpx;
  240. }
  241. text {
  242. text-align: center;
  243. margin-bottom: 20rpx;
  244. }
  245. }
  246. }
  247. </style>