index.vue 17 KB

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