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

190 lines
4.9 KiB

  1. <template>
  2. <view>
  3. <lf-nav :spreadOut="false" :showIcon="false" titleColor="white" bgColor="transparent!important" title="会员中心"></lf-nav>
  4. <view class="center-top">
  5. <view class="ocupy"></view>
  6. <view class="lf-flex lf-p-32 lf-row-between">
  7. <view class="lf-row-between">
  8. <view>
  9. <image src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill" class="center-img"></image>
  10. </view>
  11. <view class="lf-row-center">
  12. <view class="lf-color-white lf-font-36 lf-m-l-20">182****5380 </view>
  13. <view class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-white"></view>
  14. </view>
  15. </view>
  16. <view class="lf-row-center lf-flex-column">
  17. <view class="lf-iconfont icon-shoucang lf-color-white"></view>
  18. <view class="lf-font-24 lf-color-white">支付码</view>
  19. </view>
  20. </view>
  21. <view class="lf-flex lf-row-between center-tag">
  22. <view class="lf-row-center lf-flex-column">
  23. <view class="lf-font-36 lf-color-white">0</view>
  24. <view class="lf-font-24 lf-color-white">积分</view>
  25. </view>
  26. <view class="lf-row-center lf-flex-column">
  27. <view class="lf-font-36 lf-color-white">0.00</view>
  28. <view class="lf-font-24 lf-color-white">余额</view>
  29. </view>
  30. <view class="lf-row-center lf-flex-column">
  31. <view class="lf-font-36 lf-color-white">0</view>
  32. <view class="lf-font-24 lf-color-white">优惠券</view>
  33. </view>
  34. </view>
  35. <view class="center-card">
  36. <view class="lf-p-30 lf-row-between lf-w-100">
  37. <view class="lf-flex-column">
  38. <view class="lf-font-48 lf-font-bold" style="color: #15716E;">
  39. VIP 预备会员
  40. </view>
  41. <view class="lf-font-28" style="color: #15716E;">卡号: 638329</view>
  42. </view>
  43. <view class="card-tag">
  44. 会员权益
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="lf-row-center">
  50. <view class="order-card">
  51. <view class="lf-row-between">
  52. <view class="lf-color-black lf-font-32 lf-font-bold">
  53. 商家订单
  54. </view>
  55. <view class="lf-flex">
  56. <view class="lf-font-24 lf-color-777">全部订单</view><text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
  57. </view>
  58. </view>
  59. <view class="order-tag lf-flex-wrap">
  60. <view class="order-children" v-for="i of 4">
  61. <view class="function-tag"></view>
  62. <view class="lf-color-black lf-font-28 lf-m-t-20">待付款</view>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. <view class="lf-row-center">
  68. <view class="order-card1">
  69. <view class="lf-row-between">
  70. <view class="lf-color-black lf-font-32 lf-font-bold">
  71. 我的服务
  72. </view>
  73. <view></view>
  74. </view>
  75. <view class="order-tag lf-flex-wrap">
  76. <view class="order-children" v-for="i of 5">
  77. <view class="function-tag"></view>
  78. <view class="lf-color-black lf-font-28 lf-m-t-20">会员服务</view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. <lf-tabbar></lf-tabbar>
  84. </view>
  85. </template>
  86. <script>
  87. import lfTabbar from '@/components/lf-tabbar/lf-tabbar.vue'
  88. export default {
  89. components: {
  90. lfTabbar
  91. },
  92. }
  93. </script>
  94. <style lang="scss" scoped>
  95. .order-children {
  96. width: 134rpx;
  97. height: 100%;
  98. display: flex;
  99. flex-direction: column;
  100. justify-content: center;
  101. align-items: center;
  102. margin-right: 27rpx;
  103. &:nth-child(4n) {
  104. margin-right: 0;
  105. }
  106. &:nth-child(n + 5) {
  107. margin-top: 50rpx;
  108. }
  109. }
  110. .function-tag {
  111. width: 50rpx;
  112. height: 50rpx;
  113. background: #D8D8D8;
  114. border: 1rpx solid #979797;
  115. border-radius: 50%;
  116. }
  117. .order-tag {
  118. padding: 50rpx 0;
  119. display: flex;
  120. flex: wrap;
  121. // justify-content: space-around;
  122. align-items: center;
  123. }
  124. .order-card {
  125. padding: 30rpx 30rpx 0 30rpx;
  126. width: 686rpx;
  127. height: 100%;
  128. background: #FFFFFF;
  129. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  130. border-radius: 20rpx;
  131. margin: 150rpx 0 30rpx 0;
  132. }
  133. .order-card1 {
  134. padding: 30rpx 30rpx 0 30rpx;
  135. width: 686rpx;
  136. height: 100%;
  137. background: #FFFFFF;
  138. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  139. border-radius: 20rpx;
  140. margin-bottom: 30rpx;
  141. }
  142. .card-tag {
  143. width: 144rpx;
  144. height: 53rpx;
  145. background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
  146. border-radius: 30rpx;
  147. display: flex;
  148. align-items: center;
  149. color: white;
  150. justify-content: center;
  151. font-size: 26rpx;
  152. }
  153. .center-card {
  154. width: 686rpx;
  155. height: 160rpx;
  156. background: #FFFFFF;
  157. display: flex;
  158. align-items: center;
  159. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  160. border-radius: 20rpx;
  161. margin: 0 auto;
  162. position: absolute;
  163. bottom: -120rpx;
  164. left: 32rpx;
  165. z-index: 9999;
  166. }
  167. .center-tag {
  168. padding: 0 80rpx 0 80rpx;
  169. }
  170. .ocupy {
  171. height: 160rpx;
  172. width: 100%;
  173. }
  174. .center-top {
  175. position: relative;
  176. width: 750rpx;
  177. height: 512rpx;
  178. background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
  179. }
  180. .center-img {
  181. width: 100rpx;
  182. height: 100rpx;
  183. border: 2rpx solid #FFFFFF;
  184. border-radius: 100%;
  185. }
  186. </style>