index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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/xfdb.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/rztj.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. if (e.detail.current === 90) {
  362. this.page++
  363. this.chartList()
  364. }
  365. },
  366. chartTotal() {
  367. chartTotal().then((res) => {
  368. this.totalData = res.data
  369. })
  370. },
  371. chartConsume() {
  372. chartConsume().then((res) => {
  373. this.$refs.columnRef.getServerData(res)
  374. })
  375. },
  376. chartShop() {
  377. chartShop().then((res) => {
  378. this.$refs.lineRef.getServerData(res.categories, res.series)
  379. })
  380. },
  381. updateTime() {
  382. // 指定中文区域,并使用24小时制
  383. this.currentTime = new Date().toLocaleTimeString('zh-CN', {
  384. hour12: false
  385. });
  386. },
  387. updateDateTime() {
  388. const now = new Date();
  389. const year = now.getFullYear();
  390. const month = (now.getMonth() + 1).toString().padStart(2, '0'); // 月份补0
  391. const day = now.getDate().toString().padStart(2, '0'); // 日期补0
  392. // 生成 YYYY-MM-DD 格式的日期
  393. this.currentDate = `${year}-${month}-${day}`;
  394. // 获取星期几 (返回0-6, 0代表星期日)
  395. const weekDayNumber = now.getDay();
  396. const weekDays = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
  397. this.weekday = weekDays[weekDayNumber];
  398. }
  399. }
  400. }
  401. </script>
  402. <style>
  403. .t-r{
  404. text-align: right;
  405. }
  406. .box {
  407. width: 100vw;
  408. height: 100vh;
  409. position: relative;
  410. overflow: hidden;
  411. display: flex;
  412. flex-direction: column;
  413. }
  414. .bg-img {
  415. position: absolute;
  416. left: 0;
  417. top: 0;
  418. z-index: 1;
  419. width: 100vw;
  420. height: 101vh;
  421. }
  422. .bt-box {
  423. position: absolute;
  424. left: 0;
  425. top: 0;
  426. z-index: 1;
  427. width: 100%;
  428. height: 39rpx;
  429. }
  430. .top-box {
  431. display: flex;
  432. align-items: center;
  433. justify-content: space-between;
  434. padding: 15rpx 16rpx 12rpx;
  435. margin-bottom: 10rpx;
  436. position: relative;
  437. z-index: 2;
  438. }
  439. .top-left {
  440. display: flex;
  441. align-items: center;
  442. }
  443. .text-align-center {
  444. text-align: center;
  445. }
  446. .text-overflow-ellipsis-one {
  447. white-space: nowrap;
  448. text-overflow: ellipsis;
  449. overflow: hidden;
  450. word-break: break-all;
  451. }
  452. .fw-b {
  453. font-weight: bold;
  454. }
  455. .fc-00D5FF {
  456. color: #00D5FF;
  457. }
  458. .fc-B2D6FF {
  459. color: #B2D6FF;
  460. }
  461. .fc-f {
  462. color: #fff;
  463. }
  464. .fs-13 {
  465. font-size: 13rpx;
  466. }
  467. .fs-48 {
  468. font-size: 9rpx;
  469. }
  470. .fs-10 {
  471. font-size: 10rpx;
  472. }
  473. .fs-40 {
  474. font-size: 7rpx;
  475. }
  476. .fs-32 {
  477. font-size: 6.2rpx;
  478. }
  479. .fs-28 {
  480. font-size: 5rpx;
  481. }
  482. .fs-7 {
  483. font-size: 7rpx;
  484. }
  485. .fs-16 {
  486. font-size: 16rpx;
  487. }
  488. .fs-5 {
  489. font-size: 5rpx;
  490. }
  491. .fs-14 {
  492. font-size: 5rpx;
  493. }
  494. .mr-32 {
  495. margin-right: 6rpx;
  496. }
  497. .mr-6 {
  498. margin-right: 6rpx;
  499. }
  500. .mr-86 {
  501. margin-right: 16rpx;
  502. }
  503. .ml-28 {
  504. margin-left: 28rpx;
  505. }
  506. .ml-142 {
  507. margin-left: 142rpx;
  508. }
  509. .mb-10 {
  510. margin-bottom: 10rpx;
  511. }
  512. .mb-15 {
  513. margin-bottom: 15rpx;
  514. }
  515. .mb-5 {
  516. margin-bottom: 5rpx;
  517. }
  518. .mb-26 {
  519. margin-bottom: 26rpx;
  520. }
  521. .mb-56 {
  522. margin-bottom: 10rpx;
  523. }
  524. .mrl-12 {
  525. margin: 0 12rpx;
  526. }
  527. .mbt-12 {
  528. margin: 12rpx 0;
  529. }
  530. .text-align-right {
  531. text-align: right;
  532. }
  533. .flex-1 {
  534. flex: 1;
  535. }
  536. .z-3 {
  537. position: relative;
  538. z-index: 3;
  539. }
  540. .w-30 {
  541. width: 30%;
  542. }
  543. .w-20 {
  544. width: 20%;
  545. }
  546. .left-box {
  547. display: flex;
  548. flex-direction: column;
  549. width: 384rpx;
  550. margin-right: 12rpx;
  551. }
  552. .data-box {
  553. padding: 0 23rpx 23rpx 25rpx;
  554. box-sizing: border-box;
  555. display: flex;
  556. flex: 1;
  557. }
  558. .amount-box {
  559. width: 121rpx;
  560. height: 39rpx;
  561. position: relative;
  562. padding: 3rpx 9rpx;
  563. box-sizing: border-box;
  564. display: flex;
  565. align-items: center;
  566. }
  567. .amount-img {
  568. position: absolute;
  569. left: 0;
  570. top: 0;
  571. width: 121rpx;
  572. height: 100%;
  573. z-index: 2;
  574. }
  575. .amount-img-two {
  576. width: 32rpx;
  577. height: 32rpx;
  578. margin-right: 7.8rpx;
  579. flex-shrink: 0;
  580. }
  581. .list-box {
  582. width: 386rpx;
  583. height: 297rpx;
  584. position: relative;
  585. padding: 12rpx 7rpx;
  586. box-sizing: border-box;
  587. display: flex;
  588. flex-direction: column;
  589. }
  590. .list-img {
  591. position: absolute;
  592. left: 0;
  593. top: 0;
  594. width: 386rpx;
  595. height: 297rpx;
  596. z-index: 2;
  597. }
  598. .right-box {
  599. display: flex;
  600. flex-direction: column;
  601. width: 304rpx;
  602. height: 350rpx;
  603. }
  604. .chart-box {
  605. width: 304rpx;
  606. height: 105rpx;
  607. position: relative;
  608. padding: 7rpx;
  609. box-sizing: border-box;
  610. display: flex;
  611. flex-direction: column;
  612. }
  613. .chart-bg {
  614. position: absolute;
  615. left: 0;
  616. top: 0;
  617. width: 304rpx;
  618. height: 105rpx;
  619. z-index: 2;
  620. }
  621. .title-box {
  622. position: relative;
  623. width: 274rpx;
  624. height: 15rpx;
  625. }
  626. .title-img {
  627. position: absolute;
  628. top: 0;
  629. bottom: 0;
  630. width: 274rpx;
  631. height: 15rpx;
  632. z-index: 2;
  633. }
  634. .title-right {
  635. text-align: right;
  636. position: relative;
  637. top: 4rpx;
  638. z-index: 2;
  639. }
  640. .bfje-num {
  641. position: absolute;
  642. top: 0;
  643. right: 0;
  644. padding: 2rpx 4rpx 3rpx;
  645. box-sizing: border-box;
  646. border-radius: 2rpx;
  647. background: linear-gradient(to right, RGBA(19, 56, 87, 1), RGBA(0, 28, 59, 1));
  648. z-index: 2;
  649. }
  650. .bfje-title {
  651. display: flex;
  652. align-items: center;
  653. margin-bottom: 1rpx;
  654. }
  655. .bf-img {
  656. width: 6rpx;
  657. height: 6rpx;
  658. margin-right: 1rpx;
  659. }
  660. .tj-box {
  661. display: flex;
  662. align-items: center;
  663. justify-content: center;
  664. }
  665. .bf-box {
  666. width: 73rpx;
  667. height: auto;
  668. }
  669. .bf-num {
  670. width: 73rpx;
  671. height: 35rpx;
  672. position: relative;
  673. margin-bottom: 4rpx;
  674. }
  675. .bf-title {
  676. width: 100%;
  677. height: 10rpx;
  678. display: flex;
  679. align-items: center;
  680. justify-content: center;
  681. position: relative;
  682. }
  683. .yh-bg {
  684. position: absolute;
  685. top: 0;
  686. height: 0;
  687. width: 73rpx;
  688. height: 10rpx;
  689. z-index: 2;
  690. }
  691. .yh-img {
  692. width: 7rpx;
  693. height: 7rpx;
  694. margin-right: 1rpx;
  695. }
  696. .yhbf-img {
  697. position: absolute;
  698. left: 0;
  699. top: 0;
  700. width: 73rpx;
  701. height: 35rpx;
  702. z-index: 2;
  703. }
  704. .hx-box {
  705. width: 54rpx;
  706. height: 54rpx;
  707. }
  708. .scroll-view-css {
  709. width: 100%;
  710. height: 269rpx;
  711. overflow: auto;
  712. padding: 5rpx 0;
  713. box-sizing: border-box;
  714. }
  715. .item-box {
  716. width: 370rpx;
  717. height: 27rpx;
  718. background: rgba(0, 161, 255, 0.05);
  719. border-radius: 9rpx;
  720. margin-bottom: 6rpx;
  721. padding: 5rpx 9rpx;
  722. box-sizing: border-box;
  723. display: flex;
  724. align-items: center;
  725. justify-content: space-between;
  726. }
  727. .item-box-two {
  728. width: 100%;
  729. height: 27rpx;
  730. background: rgba(0, 161, 255, 0.05);
  731. border-radius: 9rpx;
  732. margin-bottom: 6rpx;
  733. padding: 5rpx 9rpx;
  734. box-sizing: border-box;
  735. display: flex;
  736. align-items: center;
  737. justify-content: space-between;
  738. }
  739. .hr {
  740. width: 375rpx;
  741. height: 6rpx;
  742. background: transparent;
  743. }
  744. .user-box {
  745. display: flex;
  746. align-items: center;
  747. }
  748. .user-img {
  749. width: 15rpx;
  750. height: 15rpx;
  751. border-radius: 50%;
  752. margin-right: 3rpx;
  753. flex-shrink: 0;
  754. }
  755. .column-box {
  756. width: 304rpx;
  757. height: 82rpx;
  758. /* padding: 7rpx 11rpx 5rpx; */
  759. /* box-sizing: border-box; */
  760. }
  761. .w-max-441 {
  762. max-width: 100rpx;
  763. }
  764. .w-90 {
  765. max-width: 80%;
  766. }
  767. </style>