index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  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. <uni-dateformat class="fc-f fs-40 mr-32" :format="'yyyy-MM-dd hh:mm:ss'"
  8. :date="new Date().toString()"></uni-dateformat>
  9. <!-- <view class="fc-f fs-40 mr-32">
  10. {{currentDate}}
  11. </view>
  12. <view class="fc-f fs-40 mr-32">
  13. {{currentTime}}
  14. </view> -->
  15. <view class="fc-f fs-40">
  16. {{weekday}}
  17. </view>
  18. </view>
  19. <!-- <view class="top-left">
  20. <view class="fc-f fs-40">
  21. 26°C
  22. </view>
  23. </view> -->
  24. </view>
  25. <view class="data-box">
  26. <!-- 左 -->
  27. <view class="left-box flex-1">
  28. <view class="top-left mb-56">
  29. <view class="amount-box flex-1">
  30. <image class="amount-img" src="/static/k1.png" mode=""></image>
  31. <image class="amount-img-two z-3" src="/static/zje.png" mode=""></image>
  32. <view class="z-3">
  33. <view class="fc-00D5FF fw-b fs-48">
  34. 乡村振兴
  35. </view>
  36. <!-- <view class="fc-00D5FF fw-b fs-48">
  37. ¥{{setTotalMoney(totalData.total_money)}}万
  38. </view>
  39. <view class="fc-f fs-14">
  40. 收款总金额
  41. </view> -->
  42. </view>
  43. </view>
  44. <view class="amount-box flex-1 mrl-12">
  45. <image class="amount-img" src="/static/k1.png" mode=""></image>
  46. <image class="amount-img-two z-3" src="/static/zbs.png" mode=""></image>
  47. <view class="z-3">
  48. <view class="fc-00D5FF fw-b fs-48">
  49. 民营经济
  50. </view>
  51. <!-- <view class="fc-00D5FF fw-b fs-48">
  52. {{totalData.count}}
  53. </view>
  54. <view class="fc-f fs-14">
  55. 收款总笔数
  56. </view> -->
  57. </view>
  58. </view>
  59. <view class="amount-box flex-1">
  60. <image class="amount-img" src="/static/k1.png" mode=""></image>
  61. <image class="amount-img-two z-3" src="/static/zrs.png" mode=""></image>
  62. <view class="z-3">
  63. <view class="fc-00D5FF fw-b fs-48">
  64. 实体联盟
  65. </view>
  66. <!-- <view class="fc-00D5FF fw-b fs-48">
  67. {{totalData.total_member}}
  68. </view>
  69. <view class="fc-f fs-14">
  70. 消费总人数
  71. </view> -->
  72. </view>
  73. </view>
  74. </view>
  75. <view class="flex-1 list-box">
  76. <image class="list-img" src="/static/k3.png" mode=""></image>
  77. <view class="title-box">
  78. <image class="title-img" src="/static/xfmx.png" mode=""></image>
  79. </view>
  80. <!-- 滚动列表 -->
  81. <swiper class="scroll-view-css z-3" circular :indicator-dots="false" :autoplay="true"
  82. :interval="800" :duration="800" :vertical="true" :circular='true' :display-multiple-items="8"
  83. @change="listChang">
  84. <swiper-item v-for="(item,i) in listData" :key="i">
  85. <view class="item-box">
  86. <view class="user-box w-30">
  87. <image class="user-img" :src="item.head_img" mode=""></image>
  88. <view class="">
  89. <view class="fs-32 fc-f w-90 text-overflow-ellipsis-one">
  90. {{item.nickname}}
  91. </view>
  92. <view class="fs-28 fc-B2D6FF">
  93. 消费者
  94. </view>
  95. </view>
  96. </view>
  97. <view class="w-30">
  98. <view class="fs-32 fc-f w-90 text-overflow-ellipsis-one">
  99. {{item.shop_name}}
  100. </view>
  101. <view class="fs-28 fc-B2D6FF">
  102. 消费门店
  103. </view>
  104. </view>
  105. <view class="w-20">
  106. <view class="fs-32 fc-f">
  107. ¥{{item.pay_money}}
  108. </view>
  109. <view class="fs-28 fc-B2D6FF">
  110. 消费金额
  111. </view>
  112. </view>
  113. <view class="w-20 t-r">
  114. <!-- <view class="fs-32 fc-f">
  115. {{item.created_at}}
  116. </view> -->
  117. <!-- <view class="fs-28 fc-B2D6FF text-align-right">
  118. 消费时间
  119. </view> -->
  120. <view class="fs-32 fc-f">
  121. 银联数字收款支付
  122. </view>
  123. <view class="fs-28 fc-B2D6FF text-align-right">
  124. 银联码
  125. </view>
  126. </view>
  127. </view>
  128. <view class="hr"></view>
  129. </swiper-item>
  130. </swiper>
  131. </view>
  132. </view>
  133. <!-- 右 -->
  134. <view class="right-box flex-1">
  135. <view class="flex-1 chart-box">
  136. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  137. <view class="title-box">
  138. <image class="title-img" src="/static/kbt.png" mode=""></image>
  139. <view class="fc-f fs-28 title-right">
  140. 单位(元)
  141. </view>
  142. </view>
  143. <view class="flex-1 z-3 column-box">
  144. <!-- 柱状图 -->
  145. <columnVue ref="columnRef" class="z-3"></columnVue>
  146. </view>
  147. </view>
  148. <view class="flex-1 chart-box mbt-12">
  149. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  150. <view class="title-box mb-15">
  151. <image class="title-img" src="/static/zxxfmx.png" mode=""></image>
  152. <!-- <view class="bfje-num">
  153. <view class="bfje-title">
  154. <image class="bf-img" src="/static/bfje.png" mode=""></image>
  155. <view class="fc-B2D6FF fs-28">
  156. 总帮扶金额(元)
  157. </view>
  158. </view>
  159. <view class="fc-f fs-40">
  160. {{Number(summaryDaya.total_money).toFixed(2)}}
  161. </view>
  162. </view> -->
  163. </view>
  164. <swiper class="scroll-view-css z-3" circular :indicator-dots="false" :autoplay="true"
  165. :interval="850" :duration="800" :vertical="true" :circular='true' :display-multiple-items="2">
  166. <swiper-item v-for="(item,i) in newListData" :key="i">
  167. <view class="item-box-two">
  168. <view class="user-box w-30">
  169. <image class="user-img" :src="item.head_img" mode=""></image>
  170. <view class="">
  171. <view class="fs-32 fc-f w-90 text-overflow-ellipsis-one">
  172. {{item.nickname}}
  173. </view>
  174. <view class="fs-28 fc-B2D6FF">
  175. 消费者
  176. </view>
  177. </view>
  178. </view>
  179. <view class="w-30">
  180. <view class="fs-32 fc-f w-90 text-overflow-ellipsis-one">
  181. {{item.shop_name}}
  182. </view>
  183. <view class="fs-28 fc-B2D6FF">
  184. 消费门店
  185. </view>
  186. </view>
  187. <view class="w-20">
  188. <view class="fs-32 fc-f">
  189. ¥{{item.pay_money}}
  190. </view>
  191. <view class="fs-28 fc-B2D6FF">
  192. 消费金额
  193. </view>
  194. </view>
  195. </view>
  196. <view class="hr"></view>
  197. </swiper-item>
  198. </swiper>
  199. <!-- <view class="flex-1 tj-box">
  200. <view class="hx-box z-3">
  201. <ringVue ref="ringRef"></ringVue>
  202. </view>
  203. <view class="bf-box mr-86 ml-28">
  204. <view class="bf-num">
  205. <image class="yhbf-img" src="/static/yhbf.png" mode=""></image>
  206. <view class="fc-f fs-40 z-3 text-align-center">
  207. ¥{{Number(summaryDaya.total_member).toFixed(2)}}
  208. </view>
  209. </view>
  210. <view class="bf-title">
  211. <image class="yh-bg" src="/static/yh-bg.png" mode=""></image>
  212. <image class="yh-img z-3" src="/static/yh.png" mode=""></image>
  213. <view class="fs-28 fc-f z-3">
  214. 用户帮扶资金 {{userGdp}}%
  215. </view>
  216. </view>
  217. </view>
  218. <view class="bf-box">
  219. <view class="bf-num">
  220. <image class="yhbf-img" src="/static/dpbf.png" mode=""></image>
  221. <view class="fc-f fs-40 z-3 text-align-center">
  222. ¥{{Number(summaryDaya.total_shop).toFixed(2)}}
  223. </view>
  224. </view>
  225. <view class="bf-title">
  226. <image class="yh-bg" src="/static/dp-bg.png" mode=""></image>
  227. <image class="yh-img z-3" src="/static/dp.png" mode=""></image>
  228. <view class="fs-28 fc-f z-3">
  229. 店铺帮扶资金 {{shopGdp}}%
  230. </view>
  231. </view>
  232. </view>
  233. </view> -->
  234. </view>
  235. <view class="flex-1 chart-box">
  236. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  237. <view class="title-box">
  238. <image class="title-img" src="/static/kbt.png" mode=""></image>
  239. </view>
  240. <view class="flex-1 z-3 column-box">
  241. <!-- 曲线图 -->
  242. <lineVue ref="lineRef"></lineVue>
  243. </view>
  244. </view>
  245. </view>
  246. </view>
  247. </view>
  248. </template>
  249. <script>
  250. import columnVue from './components/column.vue';
  251. import lineVue from './components/line.vue';
  252. // import ringVue from './components/ring.vue';
  253. import {
  254. chartShop,
  255. chartConsume,
  256. chartTotal,
  257. chartList,
  258. chartSummary,
  259. chartNewList
  260. } from '@/api/chart.js';
  261. export default {
  262. components: {
  263. columnVue,
  264. lineVue,
  265. // ringVue
  266. },
  267. data() {
  268. return {
  269. timer: '', //定时器
  270. listData: [],
  271. currentDate: '',
  272. currentTime: '',
  273. weekday: '',
  274. totalData: {},
  275. summaryDaya: {},
  276. shopGdp: '',
  277. userGdp: '',
  278. page: 1,
  279. total: 0,
  280. newListData: [],
  281. orderId: ''
  282. }
  283. },
  284. onReady() {
  285. if (window.plus) { // 仅在5+环境中有效
  286. plus.screen.lockOrientation(
  287. 'portrait-primary'); // 锁定为竖屏,如果你想锁定为横屏,可以使用 'landscape-primary' 或 'landscape-secondary'
  288. } else {
  289. // 对于非5+环境,例如H5,你可能需要使用CSS媒体查询或其他JavaScript库来处理横屏模式。
  290. }
  291. },
  292. mounted() {
  293. // document.addEventListener('keydown', (event) => {
  294. // event.preventDefault();
  295. // event.stopPropagation();
  296. // });
  297. this.updateDateTime()
  298. setInterval(() => { // 每分钟更新一次日期和时间
  299. this.updateDateTime();
  300. }, 60000); // 60000毫秒 = 1分钟
  301. this.updateTime(); // 初始化时间显示
  302. setInterval(this.updateTime, 1000); // 每秒更新时间
  303. this.chartShop()
  304. this.chartConsume()
  305. this.chartTotal()
  306. this.chartList()
  307. // this.chartSummary()
  308. },
  309. methods: {
  310. setTotalMoney(money) {
  311. let m = ((money * 1 + 100000) / 10000).toFixed(2);
  312. return m
  313. },
  314. chartSummary() {
  315. chartSummary().then((res) => {
  316. if (res.code === 1) {
  317. this.summaryDaya = res.data
  318. this.shopGdp = ((Number(res.data.total_shop).toFixed(2) / Number(res.data.total_money)
  319. .toFixed(2)) * 100).toFixed(0)
  320. this.userGdp = ((Number(res.data.total_member).toFixed(2) / Number(res.data.total_money)
  321. .toFixed(2)) * 100).toFixed(0)
  322. this.$refs.ringRef.getServerData(res.data)
  323. }
  324. })
  325. },
  326. chartList() {
  327. chartList({
  328. page: this.page
  329. }).then((res) => {
  330. if (res.code === 1) {
  331. this.total = res.data.total
  332. this.listData = [...this.listData, ...res.data.items]
  333. this.orderId = this.listData[0].id
  334. // res.data.items.forEach((j, k) => {
  335. // if (k <= 9 && this.page === 1) {
  336. // this.newListData.push(j)
  337. // }
  338. // });
  339. this.newListData = res.data.items.slice(0, 10)
  340. setInterval(() => {
  341. this.chartNewList()
  342. }, 5000)
  343. }
  344. })
  345. },
  346. chartNewList() {
  347. chartNewList({
  348. order_id: this.orderId
  349. }).then((res) => {
  350. if (res.code === 1) {
  351. if (res.data.id) {
  352. this.orderId = res.data.id
  353. this.newListData.splice(0, 1)
  354. this.newListData.push(res.data)
  355. // console.log(this.newListData, '1111111');
  356. }
  357. }
  358. })
  359. },
  360. listChang(e) {
  361. // console.log(e.detail.current, '111111111111');
  362. if (e.detail.current === 90) {
  363. this.page++
  364. this.chartList()
  365. }
  366. },
  367. chartTotal() {
  368. chartTotal().then((res) => {
  369. this.totalData = res.data
  370. })
  371. },
  372. chartConsume() {
  373. chartConsume().then((res) => {
  374. this.$refs.columnRef.getServerData(res)
  375. })
  376. },
  377. chartShop() {
  378. chartShop().then((res) => {
  379. this.$refs.lineRef.getServerData(res.categories, res.series)
  380. })
  381. },
  382. updateTime() {
  383. // 指定中文区域,并使用24小时制
  384. this.currentTime = new Date().toLocaleTimeString('zh-CN', {
  385. hour12: false
  386. });
  387. },
  388. updateDateTime() {
  389. const now = new Date();
  390. const year = now.getFullYear();
  391. const month = (now.getMonth() + 1).toString().padStart(2, '0'); // 月份补0
  392. const day = now.getDate().toString().padStart(2, '0'); // 日期补0
  393. // 生成 YYYY-MM-DD 格式的日期
  394. this.currentDate = `${year}-${month}-${day}`;
  395. // 获取星期几 (返回0-6, 0代表星期日)
  396. const weekDayNumber = now.getDay();
  397. const weekDays = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
  398. this.weekday = weekDays[weekDayNumber];
  399. }
  400. }
  401. }
  402. </script>
  403. <style>
  404. .t-r {
  405. text-align: right;
  406. }
  407. .box {
  408. width: 100vw;
  409. height: 100vh;
  410. position: relative;
  411. overflow: hidden;
  412. display: flex;
  413. flex-direction: column;
  414. }
  415. .bg-img {
  416. position: absolute;
  417. left: 0;
  418. top: 0;
  419. z-index: 1;
  420. width: 100vw;
  421. height: 101vh;
  422. }
  423. .bt-box {
  424. position: absolute;
  425. left: 0;
  426. top: 0;
  427. z-index: 1;
  428. width: 100%;
  429. height: 39rpx;
  430. }
  431. .top-box {
  432. display: flex;
  433. align-items: center;
  434. justify-content: space-between;
  435. padding: 15rpx 16rpx 12rpx;
  436. margin-bottom: 10rpx;
  437. position: relative;
  438. z-index: 2;
  439. }
  440. .top-left {
  441. display: flex;
  442. align-items: center;
  443. }
  444. .text-align-center {
  445. text-align: center;
  446. }
  447. .text-overflow-ellipsis-one {
  448. white-space: nowrap;
  449. text-overflow: ellipsis;
  450. overflow: hidden;
  451. word-break: break-all;
  452. }
  453. .fw-b {
  454. font-weight: bold;
  455. }
  456. .fc-00D5FF {
  457. color: #00D5FF;
  458. }
  459. .fc-B2D6FF {
  460. color: #B2D6FF;
  461. }
  462. .fc-f {
  463. color: #fff;
  464. }
  465. .fs-13 {
  466. font-size: 13rpx;
  467. }
  468. .fs-48 {
  469. font-size: 9rpx;
  470. }
  471. .fs-10 {
  472. font-size: 10rpx;
  473. }
  474. .fs-40 {
  475. font-size: 7rpx;
  476. }
  477. .fs-32 {
  478. font-size: 6.2rpx;
  479. }
  480. .fs-28 {
  481. font-size: 5rpx;
  482. }
  483. .fs-7 {
  484. font-size: 7rpx;
  485. }
  486. .fs-16 {
  487. font-size: 16rpx;
  488. }
  489. .fs-5 {
  490. font-size: 5rpx;
  491. }
  492. .fs-14 {
  493. font-size: 5rpx;
  494. }
  495. .mr-32 {
  496. margin-right: 6rpx;
  497. }
  498. .mr-6 {
  499. margin-right: 6rpx;
  500. }
  501. .mr-86 {
  502. margin-right: 16rpx;
  503. }
  504. .ml-28 {
  505. margin-left: 28rpx;
  506. }
  507. .ml-142 {
  508. margin-left: 142rpx;
  509. }
  510. .mb-10 {
  511. margin-bottom: 10rpx;
  512. }
  513. .mb-15 {
  514. margin-bottom: 15rpx;
  515. }
  516. .mb-5 {
  517. margin-bottom: 5rpx;
  518. }
  519. .mb-26 {
  520. margin-bottom: 26rpx;
  521. }
  522. .mb-56 {
  523. margin-bottom: 10rpx;
  524. }
  525. .mrl-12 {
  526. margin: 0 12rpx;
  527. }
  528. .mbt-12 {
  529. margin: 12rpx 0;
  530. }
  531. .text-align-right {
  532. text-align: right;
  533. }
  534. .flex-1 {
  535. flex: 1;
  536. }
  537. .z-3 {
  538. position: relative;
  539. z-index: 3;
  540. }
  541. .w-30 {
  542. width: 30%;
  543. }
  544. .w-20 {
  545. width: 20%;
  546. }
  547. .left-box {
  548. display: flex;
  549. flex-direction: column;
  550. width: 384rpx;
  551. margin-right: 12rpx;
  552. }
  553. .data-box {
  554. padding: 0 23rpx 23rpx 25rpx;
  555. box-sizing: border-box;
  556. display: flex;
  557. flex: 1;
  558. }
  559. .amount-box {
  560. width: 121rpx;
  561. height: 39rpx;
  562. position: relative;
  563. padding: 3rpx 9rpx;
  564. box-sizing: border-box;
  565. display: flex;
  566. align-items: center;
  567. }
  568. .amount-img {
  569. position: absolute;
  570. left: 0;
  571. top: 0;
  572. width: 121rpx;
  573. height: 100%;
  574. z-index: 2;
  575. }
  576. .amount-img-two {
  577. width: 32rpx;
  578. height: 32rpx;
  579. margin-right: 7.8rpx;
  580. flex-shrink: 0;
  581. }
  582. .list-box {
  583. width: 386rpx;
  584. height: 297rpx;
  585. position: relative;
  586. padding: 12rpx 7rpx;
  587. box-sizing: border-box;
  588. display: flex;
  589. flex-direction: column;
  590. }
  591. .list-img {
  592. position: absolute;
  593. left: 0;
  594. top: 0;
  595. width: 386rpx;
  596. height: 297rpx;
  597. z-index: 2;
  598. }
  599. .right-box {
  600. display: flex;
  601. flex-direction: column;
  602. width: 304rpx;
  603. height: 350rpx;
  604. }
  605. .chart-box {
  606. width: 304rpx;
  607. height: 105rpx;
  608. position: relative;
  609. padding: 7rpx;
  610. box-sizing: border-box;
  611. display: flex;
  612. flex-direction: column;
  613. }
  614. .chart-bg {
  615. position: absolute;
  616. left: 0;
  617. top: 0;
  618. width: 304rpx;
  619. height: 105rpx;
  620. z-index: 2;
  621. }
  622. .title-box {
  623. position: relative;
  624. width: 274rpx;
  625. height: 15rpx;
  626. }
  627. .title-img {
  628. position: absolute;
  629. top: 0;
  630. bottom: 0;
  631. width: 274rpx;
  632. height: 15rpx;
  633. z-index: 2;
  634. }
  635. .title-right {
  636. text-align: right;
  637. position: relative;
  638. top: 4rpx;
  639. z-index: 2;
  640. }
  641. .bfje-num {
  642. position: absolute;
  643. top: 0;
  644. right: 0;
  645. padding: 2rpx 4rpx 3rpx;
  646. box-sizing: border-box;
  647. border-radius: 2rpx;
  648. background: linear-gradient(to right, RGBA(19, 56, 87, 1), RGBA(0, 28, 59, 1));
  649. z-index: 2;
  650. }
  651. .bfje-title {
  652. display: flex;
  653. align-items: center;
  654. margin-bottom: 1rpx;
  655. }
  656. .bf-img {
  657. width: 6rpx;
  658. height: 6rpx;
  659. margin-right: 1rpx;
  660. }
  661. .tj-box {
  662. display: flex;
  663. align-items: center;
  664. justify-content: center;
  665. }
  666. .bf-box {
  667. width: 73rpx;
  668. height: auto;
  669. }
  670. .bf-num {
  671. width: 73rpx;
  672. height: 35rpx;
  673. position: relative;
  674. margin-bottom: 4rpx;
  675. }
  676. .bf-title {
  677. width: 100%;
  678. height: 10rpx;
  679. display: flex;
  680. align-items: center;
  681. justify-content: center;
  682. position: relative;
  683. }
  684. .yh-bg {
  685. position: absolute;
  686. top: 0;
  687. height: 0;
  688. width: 73rpx;
  689. height: 10rpx;
  690. z-index: 2;
  691. }
  692. .yh-img {
  693. width: 7rpx;
  694. height: 7rpx;
  695. margin-right: 1rpx;
  696. }
  697. .yhbf-img {
  698. position: absolute;
  699. left: 0;
  700. top: 0;
  701. width: 73rpx;
  702. height: 35rpx;
  703. z-index: 2;
  704. }
  705. .hx-box {
  706. width: 54rpx;
  707. height: 54rpx;
  708. }
  709. .scroll-view-css {
  710. width: 100%;
  711. height: 269rpx;
  712. overflow: auto;
  713. padding: 5rpx 0;
  714. box-sizing: border-box;
  715. }
  716. .item-box {
  717. width: 370rpx;
  718. height: 27rpx;
  719. background: rgba(0, 161, 255, 0.05);
  720. border-radius: 9rpx;
  721. margin-bottom: 6rpx;
  722. padding: 5rpx 9rpx;
  723. box-sizing: border-box;
  724. display: flex;
  725. align-items: center;
  726. justify-content: space-between;
  727. }
  728. .item-box-two {
  729. width: 100%;
  730. height: 27rpx;
  731. background: rgba(0, 161, 255, 0.05);
  732. border-radius: 9rpx;
  733. margin-bottom: 6rpx;
  734. padding: 5rpx 9rpx;
  735. box-sizing: border-box;
  736. display: flex;
  737. align-items: center;
  738. justify-content: space-between;
  739. }
  740. .hr {
  741. width: 375rpx;
  742. height: 6rpx;
  743. background: transparent;
  744. }
  745. .user-box {
  746. display: flex;
  747. align-items: center;
  748. }
  749. .user-img {
  750. width: 15rpx;
  751. height: 15rpx;
  752. border-radius: 50%;
  753. margin-right: 3rpx;
  754. flex-shrink: 0;
  755. }
  756. .column-box {
  757. width: 304rpx;
  758. height: 82rpx;
  759. /* padding: 7rpx 11rpx 5rpx; */
  760. /* box-sizing: border-box; */
  761. }
  762. .w-max-441 {
  763. max-width: 100rpx;
  764. }
  765. .w-90 {
  766. max-width: 80%;
  767. }
  768. </style>