index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  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. <lineVue ref="lineRef"></lineVue>
  242. </view>
  243. </view> -->
  244. <view class="flex-1 chart-box">
  245. <image class="chart-bg" src="/static/k2.png" mode=""></image>
  246. <view class="title-box mb-15">
  247. <image class="title-img" src="@/static/tenlist.png" mode=""></image>
  248. </view>
  249. <swiper class="scroll-view-css z-3" circular :indicator-dots="false" :autoplay="true"
  250. :interval="850" :duration="800" :vertical="true" :circular='true' :display-multiple-items="2">
  251. <swiper-item v-for="(item,i) in tenList" :key="i">
  252. <view class="item-box-two">
  253. <view class="user-box w-30">
  254. <image class="user-img" :src="item.head_img" mode=""></image>
  255. <view class="w-100">
  256. <view class="fs-32 fc-f w-100 text-overflow-ellipsis-one">
  257. {{item.nickname}}
  258. <span class="fs-32" style="color: #00D5FF" v-if="item.level_id == 1">(省级)</span>
  259. <span class="fs-32" style="color: #00D5FF" v-else-if="item.level_id == 3">(县级)</span>
  260. <span class="fs-32" style="color: #00D5FF" v-else-if="item.level_id == 4">(分销商)</span>
  261. </view>
  262. <view class="fs-28 fc-B2D6FF">
  263. 昵称/身份
  264. </view>
  265. </view>
  266. </view>
  267. <view class="w-30">
  268. <view class="fs-32 fc-f w-100 text-overflow-ellipsis-one">
  269. {{setName(item.city_name)}}
  270. </view>
  271. <view class="fs-28 fc-B2D6FF">
  272. 代理区域
  273. </view>
  274. </view>
  275. <view class="w-20">
  276. <view class="fs-32 fc-f">
  277. ¥{{item.total_income}}
  278. </view>
  279. <view class="fs-28 fc-B2D6FF">
  280. 累计收益
  281. </view>
  282. </view>
  283. </view>
  284. <view class="hr"></view>
  285. </swiper-item>
  286. </swiper>
  287. </view>
  288. </view>
  289. </view>
  290. </view>
  291. </template>
  292. <script>
  293. import columnVue from './components/column.vue';
  294. import lineVue from './components/line.vue';
  295. // import ringVue from './components/ring.vue';
  296. import {
  297. chartShop,
  298. chartConsume,
  299. chartTotal,
  300. chartList,
  301. chartSummary,
  302. chartNewList,distributorIncomeList
  303. } from '@/api/chart.js';
  304. export default {
  305. components: {
  306. columnVue,
  307. lineVue,
  308. // ringVue
  309. },
  310. data() {
  311. return {
  312. timer: '', //定时器
  313. listData: [],
  314. currentDate: '',
  315. currentTime: '',
  316. weekday: '',
  317. totalData: {},
  318. summaryDaya: {},
  319. shopGdp: '',
  320. userGdp: '',
  321. page: 1,
  322. total: 0,
  323. newListData: [],
  324. orderId: '',
  325. tenList:[],
  326. }
  327. },
  328. onReady() {
  329. if (window.plus) { // 仅在5+环境中有效
  330. plus.screen.lockOrientation(
  331. 'portrait-primary'); // 锁定为竖屏,如果你想锁定为横屏,可以使用 'landscape-primary' 或 'landscape-secondary'
  332. } else {
  333. // 对于非5+环境,例如H5,你可能需要使用CSS媒体查询或其他JavaScript库来处理横屏模式。
  334. }
  335. },
  336. mounted() {
  337. // document.addEventListener('keydown', (event) => {
  338. // event.preventDefault();
  339. // event.stopPropagation();
  340. // });
  341. this.updateDateTime()
  342. setInterval(() => { // 每分钟更新一次日期和时间
  343. this.updateDateTime();
  344. }, 60000); // 60000毫秒 = 1分钟
  345. this.updateTime(); // 初始化时间显示
  346. setInterval(this.updateTime, 1000); // 每秒更新时间
  347. this.chartShop()
  348. this.chartConsume()
  349. this.chartTotal()
  350. this.chartList()
  351. // this.chartSummary()
  352. this.getDistributorIncomeList();
  353. },
  354. methods: {
  355. setName(e){
  356. return [...new Set(e)].join('');
  357. },
  358. getDistributorIncomeList(){
  359. distributorIncomeList().then((res)=>{
  360. if(res.code == 1){
  361. this.tenList = res.data
  362. }
  363. })
  364. },
  365. setTotalMoney(money) {
  366. let m = ((money * 1 + 100000) / 10000).toFixed(2);
  367. return m
  368. },
  369. chartSummary() {
  370. chartSummary().then((res) => {
  371. if (res.code === 1) {
  372. this.summaryDaya = res.data
  373. this.shopGdp = ((Number(res.data.total_shop).toFixed(2) / Number(res.data.total_money)
  374. .toFixed(2)) * 100).toFixed(0)
  375. this.userGdp = ((Number(res.data.total_member).toFixed(2) / Number(res.data.total_money)
  376. .toFixed(2)) * 100).toFixed(0)
  377. this.$refs.ringRef.getServerData(res.data)
  378. }
  379. })
  380. },
  381. chartList() {
  382. chartList({
  383. page: this.page
  384. }).then((res) => {
  385. if (res.code === 1) {
  386. this.total = res.data.total
  387. this.listData = [...this.listData, ...res.data.items]
  388. this.orderId = this.listData[0].id
  389. // res.data.items.forEach((j, k) => {
  390. // if (k <= 9 && this.page === 1) {
  391. // this.newListData.push(j)
  392. // }
  393. // });
  394. this.newListData = res.data.items.slice(0, 10)
  395. setInterval(() => {
  396. this.chartNewList()
  397. }, 5000)
  398. }
  399. })
  400. },
  401. chartNewList() {
  402. chartNewList({
  403. order_id: this.orderId
  404. }).then((res) => {
  405. if (res.code === 1) {
  406. if (res.data.id) {
  407. this.orderId = res.data.id
  408. this.newListData.splice(0, 1)
  409. this.newListData.push(res.data)
  410. // console.log(this.newListData, '1111111');
  411. }
  412. }
  413. })
  414. },
  415. listChang(e) {
  416. // console.log(e.detail.current, '111111111111');
  417. if (e.detail.current === 90) {
  418. this.page++
  419. this.chartList()
  420. }
  421. },
  422. chartTotal() {
  423. chartTotal().then((res) => {
  424. this.totalData = res.data
  425. })
  426. },
  427. chartConsume() {
  428. chartConsume().then((res) => {
  429. this.$refs.columnRef.getServerData(res)
  430. })
  431. },
  432. chartShop() {
  433. chartShop().then((res) => {
  434. this.$refs.lineRef.getServerData(res.categories, res.series)
  435. })
  436. },
  437. updateTime() {
  438. // 指定中文区域,并使用24小时制
  439. this.currentTime = new Date().toLocaleTimeString('zh-CN', {
  440. hour12: false
  441. });
  442. },
  443. updateDateTime() {
  444. const now = new Date();
  445. const year = now.getFullYear();
  446. const month = (now.getMonth() + 1).toString().padStart(2, '0'); // 月份补0
  447. const day = now.getDate().toString().padStart(2, '0'); // 日期补0
  448. // 生成 YYYY-MM-DD 格式的日期
  449. this.currentDate = `${year}-${month}-${day}`;
  450. // 获取星期几 (返回0-6, 0代表星期日)
  451. const weekDayNumber = now.getDay();
  452. const weekDays = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
  453. this.weekday = weekDays[weekDayNumber];
  454. }
  455. }
  456. }
  457. </script>
  458. <style>
  459. .fc-00D5FF {
  460. color: #00D5FF;
  461. }
  462. .w-100{
  463. width: 100%;
  464. }
  465. .w-280{
  466. width: 280rpx;
  467. }
  468. .t-r {
  469. text-align: right;
  470. }
  471. .box {
  472. width: 100vw;
  473. height: 100vh;
  474. position: relative;
  475. overflow: hidden;
  476. display: flex;
  477. flex-direction: column;
  478. }
  479. .bg-img {
  480. position: absolute;
  481. left: 0;
  482. top: 0;
  483. z-index: 1;
  484. width: 100vw;
  485. height: 101vh;
  486. }
  487. .bt-box {
  488. position: absolute;
  489. left: 0;
  490. top: 0;
  491. z-index: 1;
  492. width: 100%;
  493. height: 39rpx;
  494. }
  495. .top-box {
  496. display: flex;
  497. align-items: center;
  498. justify-content: space-between;
  499. padding: 15rpx 16rpx 12rpx;
  500. margin-bottom: 10rpx;
  501. position: relative;
  502. z-index: 2;
  503. }
  504. .top-left {
  505. display: flex;
  506. align-items: center;
  507. }
  508. .text-align-center {
  509. text-align: center;
  510. }
  511. .text-overflow-ellipsis-one {
  512. white-space: nowrap;
  513. text-overflow: ellipsis;
  514. overflow: hidden;
  515. word-break: break-all;
  516. }
  517. .fw-b {
  518. font-weight: bold;
  519. }
  520. .fc-B2D6FF {
  521. color: #B2D6FF;
  522. }
  523. .fc-f {
  524. color: #fff;
  525. }
  526. .fs-13 {
  527. font-size: 13rpx;
  528. }
  529. .fs-48 {
  530. font-size: 9rpx;
  531. }
  532. .fs-10 {
  533. font-size: 10rpx;
  534. }
  535. .fs-40 {
  536. font-size: 7rpx;
  537. }
  538. .fs-32 {
  539. font-size: 6.2rpx;
  540. }
  541. .fs-28 {
  542. font-size: 5rpx;
  543. }
  544. .fs-7 {
  545. font-size: 7rpx;
  546. }
  547. .fs-16 {
  548. font-size: 16rpx;
  549. }
  550. .fs-5 {
  551. font-size: 5rpx;
  552. }
  553. .fs-14 {
  554. font-size: 5rpx;
  555. }
  556. .mr-32 {
  557. margin-right: 6rpx;
  558. }
  559. .mr-6 {
  560. margin-right: 6rpx;
  561. }
  562. .mr-86 {
  563. margin-right: 16rpx;
  564. }
  565. .ml-28 {
  566. margin-left: 28rpx;
  567. }
  568. .ml-142 {
  569. margin-left: 142rpx;
  570. }
  571. .mb-10 {
  572. margin-bottom: 10rpx;
  573. }
  574. .mb-15 {
  575. margin-bottom: 15rpx;
  576. }
  577. .mb-5 {
  578. margin-bottom: 5rpx;
  579. }
  580. .mb-26 {
  581. margin-bottom: 26rpx;
  582. }
  583. .mb-56 {
  584. margin-bottom: 10rpx;
  585. }
  586. .mrl-12 {
  587. margin: 0 12rpx;
  588. }
  589. .mbt-12 {
  590. margin: 12rpx 0;
  591. }
  592. .text-align-right {
  593. text-align: right;
  594. }
  595. .flex-1 {
  596. flex: 1;
  597. }
  598. .z-3 {
  599. position: relative;
  600. z-index: 3;
  601. }
  602. .w-30 {
  603. width: 30%;
  604. }
  605. .w-20 {
  606. width: 20%;
  607. }
  608. .left-box {
  609. display: flex;
  610. flex-direction: column;
  611. width: 384rpx;
  612. margin-right: 12rpx;
  613. }
  614. .data-box {
  615. padding: 0 23rpx 23rpx 25rpx;
  616. box-sizing: border-box;
  617. display: flex;
  618. flex: 1;
  619. }
  620. .amount-box {
  621. width: 121rpx;
  622. height: 39rpx;
  623. position: relative;
  624. padding: 3rpx 9rpx;
  625. box-sizing: border-box;
  626. display: flex;
  627. align-items: center;
  628. }
  629. .amount-img {
  630. position: absolute;
  631. left: 0;
  632. top: 0;
  633. width: 121rpx;
  634. height: 100%;
  635. z-index: 2;
  636. }
  637. .amount-img-two {
  638. width: 32rpx;
  639. height: 32rpx;
  640. margin-right: 7.8rpx;
  641. flex-shrink: 0;
  642. }
  643. .list-box {
  644. width: 386rpx;
  645. height: 297rpx;
  646. position: relative;
  647. padding: 12rpx 7rpx;
  648. box-sizing: border-box;
  649. display: flex;
  650. flex-direction: column;
  651. }
  652. .list-img {
  653. position: absolute;
  654. left: 0;
  655. top: 0;
  656. width: 386rpx;
  657. height: 297rpx;
  658. z-index: 2;
  659. }
  660. .right-box {
  661. display: flex;
  662. flex-direction: column;
  663. width: 304rpx;
  664. height: 350rpx;
  665. }
  666. .chart-box {
  667. width: 304rpx;
  668. height: 105rpx;
  669. position: relative;
  670. padding: 7rpx;
  671. box-sizing: border-box;
  672. display: flex;
  673. flex-direction: column;
  674. }
  675. .chart-bg {
  676. position: absolute;
  677. left: 0;
  678. top: 0;
  679. width: 304rpx;
  680. height: 105rpx;
  681. z-index: 2;
  682. }
  683. .title-box {
  684. position: relative;
  685. width: 274rpx;
  686. height: 15rpx;
  687. }
  688. .title-img {
  689. position: absolute;
  690. top: 0;
  691. bottom: 0;
  692. width: 274rpx;
  693. height: 15rpx;
  694. z-index: 2;
  695. }
  696. .title-right {
  697. text-align: right;
  698. position: relative;
  699. top: 4rpx;
  700. z-index: 2;
  701. }
  702. .bfje-num {
  703. position: absolute;
  704. top: 0;
  705. right: 0;
  706. padding: 2rpx 4rpx 3rpx;
  707. box-sizing: border-box;
  708. border-radius: 2rpx;
  709. background: linear-gradient(to right, RGBA(19, 56, 87, 1), RGBA(0, 28, 59, 1));
  710. z-index: 2;
  711. }
  712. .bfje-title {
  713. display: flex;
  714. align-items: center;
  715. margin-bottom: 1rpx;
  716. }
  717. .bf-img {
  718. width: 6rpx;
  719. height: 6rpx;
  720. margin-right: 1rpx;
  721. }
  722. .tj-box {
  723. display: flex;
  724. align-items: center;
  725. justify-content: center;
  726. }
  727. .bf-box {
  728. width: 73rpx;
  729. height: auto;
  730. }
  731. .bf-num {
  732. width: 73rpx;
  733. height: 35rpx;
  734. position: relative;
  735. margin-bottom: 4rpx;
  736. }
  737. .bf-title {
  738. width: 100%;
  739. height: 10rpx;
  740. display: flex;
  741. align-items: center;
  742. justify-content: center;
  743. position: relative;
  744. }
  745. .yh-bg {
  746. position: absolute;
  747. top: 0;
  748. height: 0;
  749. width: 73rpx;
  750. height: 10rpx;
  751. z-index: 2;
  752. }
  753. .yh-img {
  754. width: 7rpx;
  755. height: 7rpx;
  756. margin-right: 1rpx;
  757. }
  758. .yhbf-img {
  759. position: absolute;
  760. left: 0;
  761. top: 0;
  762. width: 73rpx;
  763. height: 35rpx;
  764. z-index: 2;
  765. }
  766. .hx-box {
  767. width: 54rpx;
  768. height: 54rpx;
  769. }
  770. .scroll-view-css {
  771. width: 100%;
  772. height: 269rpx;
  773. overflow: auto;
  774. padding: 5rpx 0;
  775. box-sizing: border-box;
  776. }
  777. .item-box {
  778. width: 370rpx;
  779. height: 27rpx;
  780. background: rgba(0, 161, 255, 0.05);
  781. border-radius: 9rpx;
  782. margin-bottom: 6rpx;
  783. padding: 5rpx 9rpx;
  784. box-sizing: border-box;
  785. display: flex;
  786. align-items: center;
  787. justify-content: space-between;
  788. }
  789. .item-box-two {
  790. width: 100%;
  791. height: 27rpx;
  792. background: rgba(0, 161, 255, 0.05);
  793. border-radius: 9rpx;
  794. margin-bottom: 6rpx;
  795. padding: 5rpx 9rpx;
  796. box-sizing: border-box;
  797. display: flex;
  798. align-items: center;
  799. justify-content: space-between;
  800. }
  801. .hr {
  802. width: 375rpx;
  803. height: 6rpx;
  804. background: transparent;
  805. }
  806. .user-box {
  807. display: flex;
  808. align-items: center;
  809. }
  810. .user-img {
  811. width: 15rpx;
  812. height: 15rpx;
  813. border-radius: 50%;
  814. margin-right: 3rpx;
  815. flex-shrink: 0;
  816. }
  817. .column-box {
  818. width: 304rpx;
  819. height: 82rpx;
  820. /* padding: 7rpx 11rpx 5rpx; */
  821. /* box-sizing: border-box; */
  822. }
  823. .w-max-441 {
  824. max-width: 100rpx;
  825. }
  826. .w-90 {
  827. max-width: 80%;
  828. }
  829. </style>