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

183 lines
4.8 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. </view>
  84. </template>
  85. <script>
  86. </script>
  87. <style lang="scss" scoped>
  88. .order-children {
  89. width: 134rpx;
  90. height: 100%;
  91. display: flex;
  92. flex-direction: column;
  93. justify-content: center;
  94. align-items: center;
  95. margin-right: 27rpx;
  96. &:nth-child(4n) {
  97. margin-right: 0;
  98. }
  99. &:nth-child(n + 5) {
  100. margin-top: 50rpx;
  101. }
  102. }
  103. .function-tag {
  104. width: 50rpx;
  105. height: 50rpx;
  106. background: #D8D8D8;
  107. border: 1rpx solid #979797;
  108. border-radius: 50%;
  109. }
  110. .order-tag {
  111. padding: 50rpx 0;
  112. display: flex;
  113. flex: wrap;
  114. // justify-content: space-around;
  115. align-items: center;
  116. }
  117. .order-card {
  118. padding: 30rpx 30rpx 0 30rpx;
  119. width: 686rpx;
  120. height: 100%;
  121. background: #FFFFFF;
  122. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  123. border-radius: 20rpx;
  124. margin: 150rpx 0 30rpx 0;
  125. }
  126. .order-card1 {
  127. padding: 30rpx 30rpx 0 30rpx;
  128. width: 686rpx;
  129. height: 100%;
  130. background: #FFFFFF;
  131. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  132. border-radius: 20rpx;
  133. }
  134. .card-tag {
  135. width: 144rpx;
  136. height: 53rpx;
  137. background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
  138. border-radius: 30rpx;
  139. display: flex;
  140. align-items: center;
  141. color: white;
  142. justify-content: center;
  143. font-size: 26rpx;
  144. }
  145. .center-card {
  146. width: 686rpx;
  147. height: 160rpx;
  148. background: #FFFFFF;
  149. display: flex;
  150. align-items: center;
  151. box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
  152. border-radius: 20rpx;
  153. margin: 0 auto;
  154. position: absolute;
  155. bottom: -120rpx;
  156. left: 32rpx;
  157. z-index: 9999;
  158. }
  159. .center-tag {
  160. padding: 0 80rpx 0 80rpx;
  161. }
  162. .ocupy {
  163. height: 160rpx;
  164. width: 100%;
  165. }
  166. .center-top {
  167. position: relative;
  168. width: 750rpx;
  169. height: 512rpx;
  170. background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
  171. }
  172. .center-img {
  173. width: 100rpx;
  174. height: 100rpx;
  175. border: 2rpx solid #FFFFFF;
  176. border-radius: 100%;
  177. }
  178. </style>