index.vue 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <template>
  2. <view style="background-color: #FFFFFF;height: 100%;">
  3. <view class="u-page status_bar">
  4. <view class="head">
  5. <view class="status_bar">
  6. <!-- 这里是状态栏 -->
  7. </view>
  8. <view class="u-flex u-row-between" style="padding: 10rpx 40rpx 30rpx;">
  9. <view class="u-flex">
  10. <view class="">
  11. <u-image width="130rpx" height="130rpx" src="../../static/sailun/head-portrait.png" :lazy-load="true" shape="circle">
  12. <view slot="error" style="font-size: 24rpx;" :fade="true" duration="450">加载失败
  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. <u-image width="60rpx" height="60rpx" src="../../static/sailun/qrcode.png" :lazy-load="true">
  28. </u-image>
  29. </view>
  30. </view>
  31. <view class="u-flex u-row-around u-m-t-20">
  32. <view class="u-text-center">
  33. <view style="font-size:34rpx; color: #FFFFFF;">
  34. 张三
  35. </view>
  36. <view style="color: #B3DAFF;opacity: 0.9;">
  37. 联系人
  38. </view>
  39. </view>
  40. <view class="u-text-center">
  41. <view style="font-size:34rpx;color: #FFFFFF;">
  42. 市北区
  43. </view>
  44. <view style="color: #B3DAFF;opacity: 0.9;">
  45. 区域
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <view style="position: relative;top:-110rpx">
  51. <u-card padding="20" box-shadow="0rpx 0rpx 24rpx 0rpx rgba(101, 176, 249, 0.41)" border-radius="20" :show-foot="false" :border="false">
  52. <view slot="head" class="u-flex u-row-between u-col-bottom">
  53. <view style="font-size: 34rpx;">
  54. 结算中心
  55. </view>
  56. <view class="u-col-bottom" style="color: #4B4B4B;font-size: 24rpx;">
  57. 查看全部
  58. </view>
  59. </view>
  60. <view slot="body">
  61. <view class="u-flex u-row-around">
  62. <view class="u-text-center">
  63. <view style="color: #0095FF;font-size: 30rpx;">
  64. 800 <text style="font-size: 14rpx;">万</text>
  65. </view>
  66. <view style="color: #333333;">
  67. 我的奖励
  68. </view>
  69. </view>
  70. <view class="u-text-center">
  71. <view style="color: #0095FF;font-size: 30rpx;">
  72. 800 <text style="font-size: 14rpx;">万</text>
  73. </view>
  74. <view style="color: #333333;">
  75. 冻结奖励
  76. </view>
  77. </view>
  78. <view class="u-text-center">
  79. <view style="color: #0095FF;font-size: 30rpx;">
  80. 800 <text style="font-size: 14rpx;">万</text>
  81. </view>
  82. <view style="color: #333333;">
  83. 待核销
  84. </view>
  85. </view>
  86. <view class="u-text-center">
  87. <view style="color: #0095FF;font-size: 30rpx;">
  88. 800 <text style="font-size: 14rpx;">万个</text>
  89. </view>
  90. <view style="color: #333333;">
  91. 可用积分
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. </u-card>
  97. <u-card padding="20" box-shadow="0rpx 0rpx 24rpx 0rpx rgba(101, 176, 249, 0.41)" border-radius="20" :show-foot="false" :border="false">
  98. <view slot="head" class="u-flex u-row-between u-col-bottom">
  99. <view style="font-size: 34rpx;">
  100. 我的服务
  101. </view>
  102. </view>
  103. <view slot="body">
  104. <view class="u-flex u-row-around u-flex-wrap u-col-between" style="height: 300rpx;font-size: 24rpx;">
  105. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inInstore">
  106. <view>
  107. <u-image width="80rpx" height="80rpx" src="../../static/sailun/instock.png" :lazy-load="true" shape="circle">
  108. </u-image>
  109. </view>
  110. <view style="color: #000000;" class="u-m-t-10">
  111. 入库明细
  112. </view>
  113. </view>
  114. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inOutstore">
  115. <view>
  116. <u-image width="80rpx" height="80rpx" src="../../static/sailun/outstock.png" :lazy-load="true" shape="circle">
  117. </u-image>
  118. </view>
  119. <view style="color: #000000;" class="u-m-t-10">
  120. 出库明细
  121. </view>
  122. </view>
  123. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inReward">
  124. <view>
  125. <u-image width="80rpx" height="80rpx" src="../../static/sailun/reward.png" :lazy-load="true" shape="circle">
  126. </u-image>
  127. </view>
  128. <view style="color: #000000;" class="u-m-t-10">
  129. 奖励明细
  130. </view>
  131. </view>
  132. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inStatistical">
  133. <view>
  134. <u-image width="80rpx" height="80rpx" src="../../static/sailun/task.png" :lazy-load="true" shape="circle">
  135. </u-image>
  136. </view>
  137. <view style="color: #000000;" class="u-m-t-10">
  138. 任务统计
  139. </view>
  140. </view>
  141. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inresult">
  142. <view>
  143. <u-image width="80rpx" height="80rpx" src="../../static/sailun/tirenum.png" :lazy-load="true" shape="circle">
  144. </u-image>
  145. </view>
  146. <view style="color: #000000;" class="u-m-t-10">
  147. 胎号查询
  148. </view>
  149. </view>
  150. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inorder">
  151. <view>
  152. <u-image width="80rpx" height="80rpx" src="../../static/sailun/me-order.png" :lazy-load="true" shape="circle">
  153. </u-image>
  154. </view>
  155. <view style="color: #000000;" class="u-m-t-10">
  156. 门店订单
  157. </view>
  158. </view>
  159. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inCoupon">
  160. <view>
  161. <u-image width="80rpx" height="80rpx" src="../../static/sailun/coupon.png" :lazy-load="true" shape="circle">
  162. </u-image>
  163. </view>
  164. <view style="color: #000000;" class="u-m-t-10">
  165. 我的优惠券
  166. </view>
  167. </view>
  168. <view class="u-flex u-row-centter" style="flex-direction: column;width: 25%;" @click="inSuppliers">
  169. <view>
  170. <u-image width="80rpx" height="80rpx" src="../../static/sailun/supplier.png" :lazy-load="true" shape="circle">
  171. </u-image>
  172. </view>
  173. <view style="color: #000000;" class="u-m-t-10">
  174. 我的供应商
  175. </view>
  176. </view>
  177. </view>
  178. </view>
  179. </u-card>
  180. <u-cell-group>
  181. <u-cell-item title="核销记录">
  182. <u-icon slot="icon" size="42" name="balance-o" custom-prefix="van-icon"></u-icon>
  183. </u-cell-item>
  184. <u-cell-item title="兑换记录">
  185. <u-icon slot="icon" size="42" name="balance-list-o" custom-prefix="van-icon"></u-icon>
  186. </u-cell-item>
  187. <u-cell-item title="经销商库存">
  188. <u-icon slot="icon" size="42" name="points" custom-prefix="van-icon"></u-icon>
  189. </u-cell-item>
  190. <u-cell-item title="设置" @click="inSetting">
  191. <u-icon slot="icon" size="42" name="setting-o" custom-prefix="van-icon"></u-icon>
  192. </u-cell-item>
  193. </u-cell-group>
  194. </view>
  195. </view>
  196. <!-- 与包裹页面所有内容的元素u-page同级, -->
  197. <!-- <u-tabbar v-model="current" :list="list"></u-tabbar> -->
  198. </view>
  199. </template>
  200. <script>
  201. export default {
  202. data() {
  203. return {
  204. src: '../../static/sailun/fade.jpg',
  205. };
  206. },
  207. methods:{
  208. inInstore(){
  209. this.$u.route({
  210. url: 'pages/me/Warehousing-details/index',
  211. })
  212. },
  213. inOutstore(){
  214. this.$u.route({
  215. url: 'pages/me/Delivery-details/index',
  216. })
  217. },
  218. inReward(){
  219. this.$u.route({
  220. url: 'pages/me/Reward-details/index',
  221. })
  222. },
  223. inStatistical(){
  224. this.$u.route({
  225. url: 'pages/me/Statistical-task/index',
  226. })
  227. },
  228. inresult(){
  229. this.$u.route({
  230. url: 'pages/me/scancodequery/scan',
  231. })
  232. },
  233. inorder(){
  234. this.$u.route({
  235. url: 'pages/me/my-order/my-order',
  236. })
  237. },
  238. inCoupon(){
  239. this.$u.route({
  240. url: 'pages/me/coupon',
  241. })
  242. },
  243. inSuppliers(){
  244. this.$u.route({
  245. url: 'pages/me/suppliers',
  246. })
  247. },
  248. inSetting(){
  249. this.$u.route({
  250. url: 'pages/me/setting/setting',
  251. })
  252. }
  253. }
  254. }
  255. </script>
  256. <style lang="scss" scoped>
  257. .status_bar {
  258. height: var(--status-bar-height);
  259. }
  260. .head {
  261. width: 750rpx;
  262. height: 460rpx;
  263. // background: linear-gradient(50deg, #3F77F6 0%, #66CCFF 100%);
  264. background-image: url(../../static/sailun/mebg.png);
  265. background-size:100% 100%;
  266. }
  267. </style>