index.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. <template>
  2. <view>
  3. <view class="status_bar">
  4. <!-- 这里是状态栏 -->
  5. </view>
  6. <view class="u-page">
  7. <view class="head">
  8. <view class="u-flex u-row-between" style="padding: 50rpx 30rpx">
  9. <view class="u-flex">
  10. <view class="">
  11. <u-image width="130rpx" height="130rpx" :src="src" :lazy-load="true" shape="circle">
  12. <view slot="error" style="font-size: 24rpx;" :fade="true" duration="450">加载失败</u-icon>
  13. </view>
  14. </u-image>
  15. </view>
  16. <view class="u-margin-left-10">
  17. <view style="color: #fff;font-size: 42rpx;" class="u-margin-bottom-20">
  18. 青岛赛轮轮胎零售店
  19. </view>
  20. <view style="border: 1rpx solid #E3E3E3;border-radius: 30rpx;font-size:24rpx;color:#fff;padding: 2rpx 20rpx;">
  21. 山东省青岛市城阳区黑龙江北路188
  22. </view>
  23. </view>
  24. </view>
  25. <view class="">
  26. <u-icon name="qr" size="80rpx" custom-prefix="van-icon" color="#fff"></u-icon>
  27. </view>
  28. </view>
  29. <view class="u-flex u-row-around">
  30. <view class="u-text-center">
  31. <view style="font-size:36rpx; font-weight: 500;color: #FFFFFF;">
  32. 张三
  33. </view>
  34. <view style="color: #B3DAFF;opacity: 0.9;">
  35. 联系人
  36. </view>
  37. </view>
  38. <view class="u-text-center">
  39. <view style="font-size:36rpx;font-weight: 500;color: #FFFFFF;">
  40. 市北区
  41. </view>
  42. <view style="color: #B3DAFF;opacity: 0.9;">
  43. 区域
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <view style="position: relative;top:-110rpx">
  49. <u-card padding="20" box-shadow="0px 1px 10px rgba(0,0,0,0.2)" border-radius="20" :show-foot="false" :border="false">
  50. <view slot="head" class="u-flex u-row-between u-col-bottom">
  51. <view style="font-weight: 500;font-size: 36rpx;">
  52. 结算中心
  53. </view>
  54. <view class="u-col-bottom" style="color: #4B4B4B;font-size: 20rpx;">
  55. 查看全部
  56. </view>
  57. </view>
  58. <view slot="body">
  59. <view class="u-flex u-row-around">
  60. <view class="u-text-center">
  61. <view style="color: #0095FF;font-size: 30rpx;">
  62. 800 <text style="font-size: 14rpx;">万</text>
  63. </view>
  64. <view style="color: #333333;">
  65. 我的奖励
  66. </view>
  67. </view>
  68. <view class="u-text-center">
  69. <view style="color: #0095FF;font-size: 30rpx;">
  70. 800 <text style="font-size: 14rpx;">万</text>
  71. </view>
  72. <view style="color: #333333;">
  73. 冻结奖励
  74. </view>
  75. </view>
  76. <view class="u-text-center">
  77. <view style="color: #0095FF;font-size: 30rpx;">
  78. 800 <text style="font-size: 14rpx;">万</text>
  79. </view>
  80. <view style="color: #333333;">
  81. 待核销
  82. </view>
  83. </view>
  84. <view class="u-text-center">
  85. <view style="color: #0095FF;font-size: 30rpx;">
  86. 800 <text style="font-size: 14rpx;">万个</text>
  87. </view>
  88. <view style="color: #333333;">
  89. 可用积分
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </u-card>
  95. <u-card padding="20" box-shadow="0px 1px 10px rgba(0,0,0,0.2)" border-radius="20" :show-foot="false" :border="false">
  96. <view slot="head" class="u-flex u-row-between u-col-bottom">
  97. <view style="font-weight: 500;font-size: 36rpx;">
  98. 结算中心
  99. </view>
  100. <view class="u-col-bottom" style="color: #4B4B4B;font-size: 20rpx;">
  101. 查看全部
  102. </view>
  103. </view>
  104. <view slot="body">
  105. <view class="u-flex u-row-around u-flex-wrap">
  106. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  107. <view>
  108. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  109. </u-image>
  110. </view>
  111. <view style="font-weight: 500;color: #000000;">
  112. 入库明细
  113. </view>
  114. </view>
  115. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  116. <view>
  117. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  118. </u-image>
  119. </view>
  120. <view style="font-weight: 500;color: #000000;">
  121. 入库明细
  122. </view>
  123. </view>
  124. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  125. <view>
  126. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  127. </u-image>
  128. </view>
  129. <view style="font-weight: 500;color: #000000;">
  130. 入库明细
  131. </view>
  132. </view>
  133. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  134. <view>
  135. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  136. </u-image>
  137. </view>
  138. <view style="font-weight: 500;color: #000000;">
  139. 入库明细
  140. </view>
  141. </view>
  142. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  143. <view>
  144. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  145. </u-image>
  146. </view>
  147. <view style="font-weight: 500;color: #000000;">
  148. 入库明细
  149. </view>
  150. </view>
  151. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  152. <view>
  153. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  154. </u-image>
  155. </view>
  156. <view style="font-weight: 500;color: #000000;">
  157. 入库明细
  158. </view>
  159. </view>
  160. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  161. <view>
  162. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  163. </u-image>
  164. </view>
  165. <view style="font-weight: 500;color: #000000;">
  166. 入库明细
  167. </view>
  168. </view>
  169. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;">
  170. <view>
  171. <u-image width="80rpx" height="80rpx" :src="src" :lazy-load="true" shape="circle">
  172. </u-image>
  173. </view>
  174. <view style="font-weight: 500;color: #000000;">
  175. 入库明细
  176. </view>
  177. </view>
  178. </view>
  179. </view>
  180. </u-card>
  181. <u-cell-group>
  182. <u-cell-item title="核销记录">
  183. <u-icon slot="icon" size="32" name="balance-o" custom-prefix="van-icon"></u-icon>
  184. </u-cell-item>
  185. <u-cell-item title="兑换记录">
  186. <u-icon slot="icon" size="32" name="balance-list-o" custom-prefix="van-icon"></u-icon>
  187. </u-cell-item>
  188. <u-cell-item icon="setting-fill" title="设置">
  189. <u-icon slot="icon" size="32" name="setting-o" custom-prefix="van-icon"></u-icon>
  190. </u-cell-item>
  191. </u-cell-group>
  192. </view>
  193. </view>
  194. 2
  195. <!-- 与包裹页面所有内容的元素u-page同级, -->
  196. <u-tabbar v-model="current" :list="list"></u-tabbar>
  197. </view>
  198. </template>
  199. <script>
  200. export default {
  201. data() {
  202. return {
  203. src: '../../static/sailun/fade.jpg',
  204. list: [{
  205. iconPath: "home",
  206. selectedIconPath: "home-fill",
  207. text: '首页',
  208. customIcon: false,
  209. pagePath: '/pages/home/index'
  210. },
  211. {
  212. iconPath: "chat",
  213. selectedIconPath: "chat-fill",
  214. text: '消息',
  215. count: 2,
  216. isDot: false,
  217. customIcon: false,
  218. pagePath: '/pages/msg/index'
  219. },
  220. {
  221. iconPath: "account",
  222. selectedIconPath: "account-fill",
  223. text: '我的',
  224. customIcon: false,
  225. pagePath: '/pages/me/index'
  226. },
  227. ],
  228. current: 2
  229. };
  230. },
  231. methods:{
  232. inStore(){
  233. }
  234. }
  235. }
  236. </script>
  237. <style lang="scss" scoped>
  238. .status_bar {
  239. height: var(--status-bar-height);
  240. width: 100%;
  241. background-color: #0095FF;
  242. }
  243. .head {
  244. width: 750rpx;
  245. height: 429rpx;
  246. background: linear-gradient(50deg, #3F77F6 0%, #66CCFF 100%);
  247. }
  248. </style>