index.vue 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. <template>
  2. <view class="box">
  3. <image class="bg-img" src="/static/bg.png" mode=""></image>
  4. <image class="bt-box" src="/static/bt.png" mode=""></image>
  5. <view class="top-box">
  6. <view class="top-left">
  7. <view class="fc-f fs-7 mr-6">
  8. 17:52:00
  9. </view>
  10. <view class="fc-f fs-7 mr-6">
  11. 2021-12-09
  12. </view>
  13. <view class="fc-f fs-7">
  14. 星期四
  15. </view>
  16. </view>
  17. <view class="top-left">
  18. <view class="fc-f fs-7">
  19. 26°C
  20. </view>
  21. </view>
  22. </view>
  23. <view class="data-box">
  24. <view class="left-box flex-1">
  25. <view class="top-left mb-10">
  26. <view class="amount-box flex-1">
  27. <image class="amount-img" src="/static/k1.png" mode=""></image>
  28. <image class="amount-img-two z-3" src="/static/zje.png" mode=""></image>
  29. <view class="z-3">
  30. <view class="fc-00D5FF fw-b fs-13">
  31. ¥89000.00
  32. </view>
  33. <view class="fc-f fs-5">
  34. 收款总金额
  35. </view>
  36. </view>
  37. </view>
  38. <view class="amount-box flex-1 mrl-12">
  39. <image class="amount-img" src="/static/k1.png" mode=""></image>
  40. <image class="amount-img-two z-3" src="/static/zbs.png" mode=""></image>
  41. <view class="z-3">
  42. <view class="fc-00D5FF fw-b fs-13">
  43. 16
  44. </view>
  45. <view class="fc-f fs-5">
  46. 收款总笔数
  47. </view>
  48. </view>
  49. </view>
  50. <view class="amount-box flex-1">
  51. <image class="amount-img" src="/static/k1.png" mode=""></image>
  52. <image class="amount-img-two z-3" src="/static/zrs.png" mode=""></image>
  53. <view class="z-3">
  54. <view class="fc-00D5FF fw-b fs-13">
  55. 32
  56. </view>
  57. <view class="fc-f fs-5">
  58. 消费总人数
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="flex-1 list-box">
  64. <image class="list-img" src="/static/k3.png" mode=""></image>
  65. <view class="title-box mb-5">
  66. <image class="title-img" src="/static/xfmx.png" mode=""></image>
  67. </view>
  68. <!-- 滚动列表 -->
  69. <scroll-view class="scroll-view-css z-3" scroll-x="true">
  70. <view class="item-box" v-for="(item,index) in 15">
  71. <view class="user-box">
  72. <image class="user-img" src="/static/k1.png" mode=""></image>
  73. <view class="">
  74. <view class="fs-6 fc-f">
  75. Darrell Steward
  76. </view>
  77. <view class="fs-5 fc-B2D6FF">
  78. 消费者
  79. </view>
  80. </view>
  81. </view>
  82. <view class="">
  83. <view class="fs-6 fc-f">
  84. 振合网实体店
  85. </view>
  86. <view class="fs-5 fc-B2D6FF">
  87. 消费门店
  88. </view>
  89. </view>
  90. <view class="">
  91. <view class="fs-6 fc-f">
  92. ¥779.58
  93. </view>
  94. <view class="fs-5 fc-B2D6FF">
  95. 消费金额
  96. </view>
  97. </view>
  98. <view class="">
  99. <view class="fs-6 fc-f">
  100. 2025-03-24 12:32:24
  101. </view>
  102. <view class="fs-5 fc-B2D6FF text-align-right">
  103. 消费时间
  104. </view>
  105. </view>
  106. </view>
  107. </scroll-view>
  108. </view>
  109. </view>
  110. <view class="right-box flex-1">
  111. <view class="flex-1 chart-box">
  112. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  113. <view class="title-box">
  114. <image class="title-img" src="/static/xfdb.png" mode=""></image>
  115. <view class="fc-f fs-5 title-right">
  116. 单位(元)
  117. </view>
  118. </view>
  119. <view class="flex-1">
  120. <!-- 柱状图 -->
  121. </view>
  122. </view>
  123. <view class="flex-1 chart-box mbt-12">
  124. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  125. <view class="title-box">
  126. <image class="title-img" src="/static/zjtj.png" mode=""></image>
  127. <view class="bfje-num">
  128. <view class="bfje-title">
  129. <image class="bf-img" src="/static/bfje.png" mode=""></image>
  130. <view class="fc-B2D6FF fs-5">
  131. 总帮扶金额(元)
  132. </view>
  133. </view>
  134. <view class="fc-f fs-7">
  135. 27998.00
  136. </view>
  137. </view>
  138. </view>
  139. <view class="flex-1 tj-box">
  140. <view class="hx-box z-3">
  141. <!-- 环形图 -->
  142. </view>
  143. <view class="bf-box mr-16 ml-28">
  144. <view class="bf-num">
  145. <image class="yhbf-img" src="/static/yhbf.png" mode=""></image>
  146. <view class="fc-f fs-10 z-3 text-align-center">
  147. ¥8999.00
  148. </view>
  149. </view>
  150. <view class="bf-title">
  151. <image class="yh-bg" src="/static/yh-bg.png" mode=""></image>
  152. <image class="yh-img z-3" src="/static/yh.png" mode=""></image>
  153. <view class="fs-5 fc-f z-3">
  154. 用户帮扶资金 40%
  155. </view>
  156. </view>
  157. </view>
  158. <view class="bf-box">
  159. <view class="bf-num">
  160. <image class="yhbf-img" src="/static/dpbf.png" mode=""></image>
  161. <view class="fc-f fs-10 z-3 text-align-center">
  162. ¥18999.00
  163. </view>
  164. </view>
  165. <view class="bf-title">
  166. <image class="yh-bg" src="/static/dp-bg.png" mode=""></image>
  167. <image class="yh-img z-3" src="/static/dp.png" mode=""></image>
  168. <view class="fs-5 fc-f z-3">
  169. 店铺帮扶资金 60%
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. <view class="flex-1 chart-box">
  176. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  177. <view class="title-box">
  178. <image class="title-img" src="/static/rztj.png" mode=""></image>
  179. </view>
  180. <view class="flex-1">
  181. <!-- 曲线图 -->
  182. </view>
  183. </view>
  184. </view>
  185. </view>
  186. </view>
  187. </template>
  188. <script>
  189. export default {
  190. data() {
  191. return {
  192. listData: []
  193. }
  194. },
  195. onLoad() {
  196. },
  197. methods: {
  198. }
  199. }
  200. </script>
  201. <style>
  202. .box {
  203. width: 100%;
  204. height: 100vh;
  205. position: relative;
  206. overflow: hidden;
  207. display: flex;
  208. flex-direction: column;
  209. }
  210. .bg-img {
  211. position: absolute;
  212. left: 0;
  213. top: 0;
  214. z-index: 1;
  215. width: 101vw;
  216. height: 102vh;
  217. }
  218. .bt-box {
  219. position: absolute;
  220. left: 0;
  221. top: 0;
  222. z-index: 1;
  223. width: 100%;
  224. height: 39rpx;
  225. }
  226. .top-box {
  227. display: flex;
  228. align-items: center;
  229. justify-content: space-between;
  230. padding: 15rpx 15rpx 12rpx 16rpx;
  231. margin-bottom: 10rpx;
  232. position: relative;
  233. z-index: 2;
  234. }
  235. .top-left {
  236. display: flex;
  237. align-items: center;
  238. }
  239. .text-align-center {
  240. text-align: center;
  241. }
  242. .fw-b {
  243. font-weight: bold;
  244. }
  245. .fc-00D5FF {
  246. color: #00D5FF;
  247. }
  248. .fc-B2D6FF {
  249. color: #B2D6FF;
  250. }
  251. .fc-f {
  252. color: #fff;
  253. }
  254. .fs-13 {
  255. font-size: 13rpx;
  256. }
  257. .fs-10 {
  258. font-size: 10rpx;
  259. }
  260. .fs-7 {
  261. font-size: 7rpx;
  262. }
  263. .fs-6 {
  264. font-size: 6rpx;
  265. }
  266. .fs-5 {
  267. font-size: 5rpx;
  268. }
  269. .mr-6 {
  270. margin-right: 6rpx;
  271. }
  272. .mr-16 {
  273. margin-right: 16rpx;
  274. }
  275. .ml-28 {
  276. margin-left: 28rpx;
  277. }
  278. .mb-10 {
  279. margin-bottom: 10rpx;
  280. }
  281. .mb-5 {
  282. margin-bottom: 5rpx;
  283. }
  284. .mrl-12 {
  285. margin: 0 12rpx;
  286. }
  287. .mbt-12 {
  288. margin: 12rpx 0;
  289. }
  290. .text-align-right {
  291. text-align: right;
  292. }
  293. .flex-1 {
  294. flex: 1;
  295. }
  296. .z-3 {
  297. position: relative;
  298. z-index: 3;
  299. }
  300. .left-box {
  301. margin-right: 12rpx;
  302. display: flex;
  303. flex-direction: column;
  304. }
  305. .data-box {
  306. padding: 0 23rpx 23.05rpx 23rpx;
  307. box-sizing: border-box;
  308. display: flex;
  309. flex: 1;
  310. }
  311. .amount-box {
  312. height: 39rpx;
  313. position: relative;
  314. padding: 3rpx 9rpx;
  315. display: flex;
  316. align-items: center;
  317. }
  318. .amount-img {
  319. position: absolute;
  320. left: 0;
  321. top: 0;
  322. width: 100%;
  323. height: 100%;
  324. z-index: 2;
  325. }
  326. .amount-img-two {
  327. width: 32rpx;
  328. height: 32rpx;
  329. margin-right: 7rpx;
  330. }
  331. .list-box {
  332. position: relative;
  333. padding: 12rpx 7rpx;
  334. box-sizing: border-box;
  335. display: flex;
  336. flex-direction: column;
  337. }
  338. .list-img {
  339. position: absolute;
  340. left: 0;
  341. top: 0;
  342. width: 100%;
  343. height: 100%;
  344. z-index: 2;
  345. }
  346. .right-box {
  347. display: flex;
  348. flex-direction: column;
  349. }
  350. .chart-box {
  351. position: relative;
  352. padding: 7rpx;
  353. box-sizing: border-box;
  354. display: flex;
  355. flex-direction: column;
  356. }
  357. .chart-bg {
  358. position: absolute;
  359. left: 0;
  360. top: 0;
  361. width: 100%;
  362. height: 100%;
  363. z-index: 2;
  364. }
  365. .title-box {
  366. position: relative;
  367. width: 100%;
  368. height: 15rpx;
  369. }
  370. .title-img {
  371. position: absolute;
  372. top: 0;
  373. bottom: 0;
  374. width: 274rpx;
  375. height: 100%;
  376. z-index: 2;
  377. }
  378. .title-right {
  379. text-align: right;
  380. line-height: 15rpx;
  381. position: relative;
  382. z-index: 2;
  383. }
  384. .bfje-num {
  385. position: absolute;
  386. top: 0;
  387. right: 0;
  388. border-radius: 2rpx;
  389. border-image: linear-gradient(90deg, rgba(113, 203, 255, 0.5), rgba(0, 161, 255, 0.05)) 0 0;
  390. z-index: 2;
  391. }
  392. .bfje-title {
  393. display: flex;
  394. align-items: center;
  395. margin-bottom: 1rpx;
  396. }
  397. .bf-img {
  398. width: 6rpx;
  399. height: 6rpx;
  400. margin-right: 1rpx;
  401. }
  402. .tj-box {
  403. display: flex;
  404. align-items: center;
  405. justify-content: center;
  406. }
  407. .bf-box {
  408. width: 73rpx;
  409. height: 50rpx;
  410. }
  411. .bf-num {
  412. width: 73rpx;
  413. height: 35rpx;
  414. position: relative;
  415. margin-bottom: 4rpx;
  416. }
  417. .bf-title {
  418. width: 100%;
  419. height: 10rpx;
  420. display: flex;
  421. align-items: center;
  422. justify-content: center;
  423. position: relative;
  424. }
  425. .yh-bg {
  426. position: absolute;
  427. top: 0;
  428. height: 0;
  429. width: 100%;
  430. height: 100%;
  431. z-index: 2;
  432. }
  433. .yh-img {
  434. width: 7rpx;
  435. height: 7rpx;
  436. margin-right: 0.3rpx;
  437. }
  438. .yhbf-img {
  439. position: absolute;
  440. left: 0;
  441. top: 0;
  442. width: 100%;
  443. height: 100%;
  444. z-index: 2;
  445. }
  446. .hx-box {
  447. width: 54rpx;
  448. height: 54rpx;
  449. }
  450. .scroll-view-css {
  451. width: 100%;
  452. flex: 1;
  453. overflow: auto;
  454. }
  455. .item-box {
  456. width: 100%;
  457. height: 26rpx;
  458. background: rgba(0, 161, 255, 0.05);
  459. border-radius: 9rpx;
  460. margin-bottom: 6rpx;
  461. padding: 5rpx 9rpx;
  462. box-sizing: border-box;
  463. display: flex;
  464. align-items: center;
  465. justify-content: space-between;
  466. }
  467. .user-box {
  468. display: flex;
  469. align-items: center;
  470. }
  471. .user-img {
  472. width: 15rpx;
  473. height: 15rpx;
  474. border-radius: 50%;
  475. margin-right: 3rpx;
  476. }
  477. </style>