reportPanel.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. <template>
  2. <div class="report-panel">
  3. <!-- 最新报告 -->
  4. <div class="report-section">
  5. <div class="report-section__title">最新报告</div>
  6. <div
  7. v-for="report in latestReports"
  8. :key="report.id"
  9. class="latest-card"
  10. @click="handleReportClick(report)"
  11. >
  12. <div class="latest-card__header">
  13. <div class="latest-card__header-left">
  14. <div class="latest-card__type-icon">
  15. <el-icon><Search /></el-icon>
  16. </div>
  17. <div class="latest-card__type-meta">
  18. <div class="latest-card__type-name">{{ report.title || "—" }}</div>
  19. <div class="latest-card__date">{{ report.dateText }}</div>
  20. </div>
  21. </div>
  22. <span class="risk-badge">{{ report.riskLevel || "—" }}</span>
  23. </div>
  24. <div class="latest-card__subject">{{ report.riskName || "—" }}</div>
  25. <div class="latest-card__conclusion">
  26. <div class="latest-card__conclusion-label">核心结论</div>
  27. <div class="latest-card__conclusion-text">
  28. {{ report.desc || "—" }}
  29. </div>
  30. </div>
  31. <!-- <div class="latest-card__evidence">
  32. <div class="latest-card__avatars">
  33. <img
  34. v-for="(src, idx) in mockPhotoAvatars"
  35. :key="idx"
  36. class="latest-card__avatar"
  37. :src="src"
  38. alt=""
  39. />
  40. <span class="latest-card__avatar-more">+3</span>
  41. </div>
  42. <div class="latest-card__evidence-text">
  43. 基于 <em>6</em> 张待完善待完善 · <em>4</em> 项待完善
  44. </div>
  45. </div> -->
  46. <div class="latest-card__footer">
  47. <div class="latest-card__share" @click.stop="handleShare(report)">
  48. <Icon size="14" color="rgba(255,255,255,0.75)" name="share" />
  49. <span>转发</span>
  50. </div>
  51. <div class="latest-card__detail" @click.stop="handleReportClick(report)">
  52. 查看完整报告 <el-icon><ArrowRight /></el-icon>
  53. </div>
  54. </div>
  55. </div>
  56. <div v-if="!latestReports.length" class="report-empty">暂无最新报告</div>
  57. <!-- 报告生成中:暂写死 -->
  58. <div class="generating-card">
  59. <div class="generating-card__spinner"></div>
  60. <div class="generating-card__text">
  61. <div class="generating-card__title">报告生成中</div>
  62. <div class="generating-card__desc">
  63. 东区2号 · 已上传 <span class="generating-card__desc-count">3</span> 张巡园照片
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- 历史报告 -->
  69. <div class="report-section report-section--history">
  70. <div class="report-section__head">
  71. <div class="report-section__title">历史报告</div>
  72. <div class="report-section__meta">
  73. 共 <span class="report-section__meta-count">{{ historyCount }}</span> 份 · 按时间排序
  74. </div>
  75. </div>
  76. <List
  77. v-model:loading="historyLoading"
  78. :finished="historyFinished"
  79. :finished-text="historyMonthGroups.length ? '没有更多了' : ''"
  80. @load="loadHistoryPage"
  81. >
  82. <div v-if="!historyMonthGroups.length && !historyLoading" class="report-empty">
  83. 暂无历史报告
  84. </div>
  85. <div
  86. v-for="monthGroup in historyMonthGroups"
  87. :key="monthGroup.key"
  88. class="history-month"
  89. >
  90. <div class="history-month__label">
  91. <span>{{ monthGroup.label }}</span>
  92. <i class="history-month__line"></i>
  93. </div>
  94. <div
  95. v-for="item in monthGroup.items"
  96. :key="item.id"
  97. class="history-card"
  98. @click="handleReportClick(item)"
  99. >
  100. <div class="history-card-wrap">
  101. <img class="history-card__cover" :src="item.cover" alt="" />
  102. <div class="history-card__body">
  103. <div class="history-card__top">
  104. <div class="history-card__type">
  105. <el-icon><WarningFilled /></el-icon>
  106. <span>{{ resolveTypeLabel(item.type) }}</span>
  107. </div>
  108. <span class="risk-badge">{{ item.riskLevel || "—" }}</span>
  109. </div>
  110. <div class="history-card__title van-ellipsis">
  111. {{ item.title || "—" }}
  112. </div>
  113. <div class="history-card__desc van-ellipsis">
  114. {{ item.desc || "—" }}
  115. </div>
  116. <div class="history-card__line"></div>
  117. <div class="history-card__bottom">
  118. <span class="history-card__time">
  119. <el-icon><Clock /></el-icon>
  120. {{ item.dateText }}
  121. </span>
  122. <el-icon class="history-card__arrow"><ArrowRight /></el-icon>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </List>
  129. </div>
  130. </div>
  131. </template>
  132. <script setup>
  133. import { computed, onActivated, onMounted, ref } from "vue";
  134. import { useRouter } from "vue-router";
  135. import { Icon, List } from "vant";
  136. import { ArrowRight, Clock, Search, WarningFilled } from "@element-plus/icons-vue";
  137. import { base_img_url2 } from "@/api/config";
  138. import wx from "weixin-js-sdk";
  139. const router = useRouter();
  140. const defaultCover = require("@/assets/img/common/sd-1.jpg");
  141. const emptyPhoto = require("@/assets/img/common/empty-bg.png");
  142. /** 证据区头像占位 */
  143. const mockPhotoAvatars = [emptyPhoto, emptyPhoto];
  144. const TYPE_LABEL_MAP = {
  145. warning: "预警报告",
  146. stress: "胁迫报告",
  147. diagnosis: "巡园诊断报告",
  148. patrol: "巡园诊断报告",
  149. };
  150. // ---------- 最新报告(today_reports,可多份) ----------
  151. const latestReports = ref([]);
  152. // ---------- 历史报告(滚动分页) ----------
  153. const historyList = ref([]);
  154. const historyLoading = ref(false);
  155. const historyFinished = ref(false);
  156. const historyPage = ref(0);
  157. const historyCount = ref(0);
  158. /** 历史按月分组,key 用 YYYY-MM */
  159. const historyMonthGroups = computed(() => {
  160. const map = new Map();
  161. historyList.value.forEach((item) => {
  162. const key = item.monthKey || "unknown";
  163. if (!map.has(key)) {
  164. map.set(key, {
  165. key,
  166. label: item.monthLabel || "其他",
  167. items: [],
  168. });
  169. }
  170. map.get(key).items.push(item);
  171. });
  172. return Array.from(map.values());
  173. });
  174. const getSelectedFarm = () => {
  175. try {
  176. return JSON.parse(localStorage.getItem("selectedFarmData") || "{}");
  177. } catch {
  178. return {};
  179. }
  180. };
  181. const resolveCoverUrl = (path) => {
  182. if (!path) return defaultCover;
  183. const text = String(path).trim();
  184. if (!text) return defaultCover;
  185. if (/^https?:\/\//i.test(text)) return text;
  186. return base_img_url2 + text.replace(/^\//, "");
  187. };
  188. const resolveTypeLabel = (type) => {
  189. const key = String(type || "").toLowerCase();
  190. return TYPE_LABEL_MAP[key] || type || "报告";
  191. };
  192. /** 解析接口 time → 展示用日期 / 月份 */
  193. const parseReportTime = (raw) => {
  194. const text = String(raw || "").trim();
  195. const iso = text.match(/(\d{4})-(\d{2})-(\d{2})/);
  196. if (iso) {
  197. return {
  198. dateText: `${iso[2]}/${iso[3]}`,
  199. monthKey: `${iso[1]}-${iso[2]}`,
  200. monthLabel: `${Number(iso[2])} 月`,
  201. };
  202. }
  203. const slash = text.match(/(\d{1,2})\/(\d{1,2})/);
  204. if (slash) {
  205. const mm = slash[1].padStart(2, "0");
  206. const dd = slash[2].padStart(2, "0");
  207. return {
  208. dateText: `${mm}/${dd}`,
  209. monthKey: mm,
  210. monthLabel: `${Number(mm)} 月`,
  211. };
  212. }
  213. return {
  214. dateText: text || "—",
  215. monthKey: "unknown",
  216. monthLabel: "其他",
  217. };
  218. };
  219. const mapReportItem = (item, index) => {
  220. const timeInfo = parseReportTime(item.time || item.date);
  221. return {
  222. id: item.id ?? `${item.time || ""}-${index}`,
  223. title: item.title || "",
  224. type: item.type || "",
  225. desc: item.content || "",
  226. date: item.time || "",
  227. dateText: timeInfo.dateText,
  228. monthKey: timeInfo.monthKey,
  229. monthLabel: timeInfo.monthLabel,
  230. cover: resolveCoverUrl(item.cover_url),
  231. phenoName: item.phenophase_name || "",
  232. riskName: item.risk_name || "",
  233. riskLevel: item.risk_level || "",
  234. riskLevelNum: item.risk_level_num || "",
  235. };
  236. };
  237. const handleReportClick = (item) => {
  238. router.push({
  239. path: "/alert_detail",
  240. query: {
  241. title: item?.title || "具体预警",
  242. type: item?.type || "warning",
  243. },
  244. });
  245. };
  246. const handleShare = (item) => {
  247. const shareText = item?.type === 'warning' ? '预警报告已生成,请点击查看吧!' : '胁迫报告已生成,请点击查看吧!';
  248. const query = {
  249. askInfo: { title: "转发报告", content: "是否分享给好友" },
  250. shareText,
  251. targetUrl: "alert_detail",
  252. paramsPage: JSON.stringify({
  253. title: item?.title || "报告",
  254. type: item?.type || "warning",
  255. fromShare: 1,
  256. }),
  257. imageUrl: "https://birdseye-img.sysuimars.com/farm-h5/report_cover.png",
  258. };
  259. wx.miniProgram.navigateTo({
  260. url: `/pages/subPages/share_page/index?pageParams=${JSON.stringify(query)}&type=sharePage`,
  261. });
  262. };
  263. /**
  264. * 加载一页历史报告;首屏(page=1)同时写入「最新报告」。
  265. * 由 van-list 的 @load 在滚动到底部时持续触发。
  266. */
  267. const loadHistoryPage = async () => {
  268. const farm = getSelectedFarm();
  269. const farmId = farm.farm_id ?? farm.id;
  270. const zoneId = farm.zone_id ?? farm.zoneId;
  271. if (farmId == null || farmId === "" || zoneId == null || zoneId === "") {
  272. historyFinished.value = true;
  273. historyLoading.value = false;
  274. return;
  275. }
  276. const nextPage = historyPage.value + 1;
  277. historyLoading.value = true;
  278. try {
  279. const res = await VE_API.questionnaire.getReportList({
  280. farm_id: farmId,
  281. zone_id: zoneId,
  282. page: nextPage,
  283. page_size: 10,
  284. });
  285. const data = res?.data || {};
  286. if (nextPage === 1) {
  287. // 最新报告取 today_reports(当日可有多份)
  288. latestReports.value = Array.isArray(data.today_reports)
  289. ? data.today_reports.map((item, i) => mapReportItem(item, i))
  290. : [];
  291. historyCount.value = data.history_count ?? 0;
  292. }
  293. const flat = (Array.isArray(data.history) ? data.history : [])
  294. .flatMap((group) => (Array.isArray(group.reports) ? group.reports : []));
  295. const start = historyList.value.length;
  296. const mapped = flat.map((item, idx) => mapReportItem(item, start + idx));
  297. historyList.value = historyList.value.concat(mapped);
  298. historyPage.value = nextPage;
  299. historyFinished.value =
  300. !data.has_more || (data.total_pages && nextPage >= data.total_pages);
  301. } catch (e) {
  302. // 出错即停止,避免 van-list 死循环重试
  303. historyFinished.value = true;
  304. } finally {
  305. historyLoading.value = false;
  306. }
  307. };
  308. /** 进入 / 再次激活:重置分页并由 van-list 触发首屏加载 */
  309. const resetAndLoad = () => {
  310. historyList.value = [];
  311. historyPage.value = 0;
  312. historyFinished.value = false;
  313. historyLoading.value = true; // 先占位,防止 van-list 重复触发首屏
  314. latestReports.value = [];
  315. historyCount.value = 0;
  316. loadHistoryPage();
  317. };
  318. onMounted(resetAndLoad);
  319. onActivated(resetAndLoad);
  320. </script>
  321. <style lang="scss" scoped>
  322. .report-panel {
  323. .report-section--history {
  324. margin-top: 10px;
  325. }
  326. .report-section {
  327. & + & {
  328. margin-top: 20px;
  329. }
  330. &__title {
  331. margin-bottom: 10px;
  332. font-size: 16px;
  333. font-weight: 500;
  334. color: #fff;
  335. }
  336. &__head {
  337. display: flex;
  338. align-items: center;
  339. justify-content: space-between;
  340. gap: 8px;
  341. margin-bottom: 10px;
  342. .report-section__title {
  343. margin-bottom: 0;
  344. }
  345. }
  346. &__meta {
  347. flex-shrink: 0;
  348. font-size: 12px;
  349. color: rgba(255, 255, 255, 0.5);
  350. .report-section__meta-count {
  351. color: rgba(255, 255, 255, 0.9);
  352. font-weight: 600;
  353. }
  354. }
  355. }
  356. .risk-badge {
  357. flex-shrink: 0;
  358. height: 20px;
  359. background: rgba(107, 52, 18, 0.4);
  360. padding: 0 6px;
  361. border: 1px solid rgba(224, 122, 46, 0.4);
  362. border-radius: 4px;
  363. color: rgba(255, 159, 90, 1);
  364. font-size: 12px;
  365. box-sizing: border-box;
  366. line-height: 20px;
  367. }
  368. .report-empty {
  369. padding: 20px 0;
  370. text-align: center;
  371. font-size: 13px;
  372. color: rgba(255, 255, 255, 0.35);
  373. }
  374. // ---------- 最新报告卡片 ----------
  375. .latest-card {
  376. padding: 12px;
  377. border-radius: 12px;
  378. border: 1px solid rgba(255, 212, 137, 0.16);
  379. background: radial-gradient(80% 80% at 90% 0%, rgba(255, 212, 137, 0.12) 0%, rgba(255, 212, 137, 0) 100%);
  380. box-sizing: border-box;
  381. & + & {
  382. margin-top: 12px;
  383. }
  384. &__header {
  385. display: flex;
  386. align-items: flex-start;
  387. justify-content: space-between;
  388. gap: 8px;
  389. }
  390. &__header-left {
  391. display: flex;
  392. align-items: center;
  393. gap: 11px;
  394. min-width: 0;
  395. }
  396. &__type-icon {
  397. width: 35px;
  398. height: 35px;
  399. border-radius: 8px;
  400. background: rgba(255, 255, 255, 0.05);
  401. border: 1px solid rgba(255, 255, 255, 0.12);
  402. color: rgba(255, 255, 255, 0.8);
  403. display: flex;
  404. align-items: center;
  405. justify-content: center;
  406. flex-shrink: 0;
  407. font-size: 18px;
  408. }
  409. &__type-meta {
  410. min-width: 0;
  411. }
  412. &__type-name {
  413. font-size: 12px;
  414. color: rgba(255, 255, 255, 0.6);
  415. line-height: 18px;
  416. }
  417. &__date {
  418. font-size: 12px;
  419. font-weight: 600;
  420. color: rgba(255, 255, 255, 0.9);
  421. line-height: 16px;
  422. }
  423. &__subject {
  424. margin-top: 12px;
  425. font-size: 16px;
  426. color: #fff;
  427. line-height: 24px;
  428. }
  429. &__conclusion {
  430. margin-top: 7px;
  431. padding: 7px 14px;
  432. border-radius: 12px;
  433. background: rgba(255, 255, 255, 0.05);
  434. box-sizing: border-box;
  435. position: relative;
  436. &::after {
  437. content: "";
  438. position: absolute;
  439. left: 0;
  440. top: 12px;
  441. width: 2px;
  442. height: calc(100% - 24px);
  443. background: rgba(255, 255, 255, 0.3);
  444. }
  445. }
  446. &__conclusion-label {
  447. font-size: 12px;
  448. color: rgba(255, 255, 255, 0.5);
  449. line-height: 18px;
  450. }
  451. &__conclusion-text {
  452. margin-top: 4px;
  453. font-size: 14px;
  454. line-height: 20px;
  455. color: rgba(255, 255, 255, 1);
  456. word-break: break-all;
  457. display: -webkit-box;
  458. -webkit-box-orient: vertical;
  459. -webkit-line-clamp: 3;
  460. overflow: hidden;
  461. }
  462. &__evidence {
  463. margin-top: 12px;
  464. display: flex;
  465. align-items: center;
  466. gap: 12px;
  467. }
  468. &__avatars {
  469. display: flex;
  470. align-items: center;
  471. flex-shrink: 0;
  472. gap: 4px;
  473. }
  474. &__avatar {
  475. width: 36px;
  476. height: 36px;
  477. border-radius: 8px;
  478. object-fit: cover;
  479. // margin-left: -6px;
  480. background: #2a2a2c;
  481. &:first-child {
  482. margin-left: 0;
  483. }
  484. }
  485. &__avatar-more {
  486. width: 36px;
  487. height: 36px;
  488. border-radius: 8px;
  489. background: linear-gradient(135deg, #22211F 0%, #121214 100%);
  490. color: rgba(255, 255, 255, 0.6);
  491. font-size: 12px;
  492. font-weight: 600;
  493. display: flex;
  494. align-items: center;
  495. justify-content: center;
  496. }
  497. &__evidence-text {
  498. min-width: 0;
  499. font-size: 12px;
  500. line-height: 16px;
  501. color: rgba(255, 255, 255, 0.4);
  502. em {
  503. font-style: normal;
  504. color: #fff;
  505. font-weight: 500;
  506. }
  507. }
  508. &__footer {
  509. margin-top: 12px;
  510. display: flex;
  511. align-items: center;
  512. gap: 8px;
  513. }
  514. &__share {
  515. flex-shrink: 0;
  516. height: 32px;
  517. padding: 0 23px;
  518. border-radius: 8px;
  519. background: rgba(255, 255, 255, 0.05);
  520. color: rgba(255, 255, 255, 0.8);
  521. font-size: 12px;
  522. display: flex;
  523. align-items: center;
  524. gap: 8px;
  525. box-sizing: border-box;
  526. }
  527. &__detail {
  528. flex: 1;
  529. height: 32px;
  530. border-radius: 8px;
  531. background: linear-gradient(90deg, #FFEBC9 0%, #FFCA6D 100%);
  532. color: #1a1408;
  533. font-size: 14px;
  534. display: flex;
  535. align-items: center;
  536. justify-content: center;
  537. gap: 4px;
  538. }
  539. }
  540. // ---------- 报告生成中 ----------
  541. .generating-card {
  542. margin-top: 10px;
  543. padding: 14px;
  544. border-radius: 12px;
  545. border: 1px dashed rgba(255, 255, 255, 0.2);
  546. background: rgba(255, 255, 255, 0.03);
  547. display: flex;
  548. align-items: center;
  549. gap: 12px;
  550. box-sizing: border-box;
  551. &__spinner {
  552. width: 24px;
  553. height: 24px;
  554. flex-shrink: 0;
  555. border-radius: 50%;
  556. border: 2px solid rgba(255, 255, 255, 0.12);
  557. border-top-color: rgba(255, 212, 137, 1);
  558. animation: report-spin 0.9s linear infinite;
  559. box-sizing: border-box;
  560. }
  561. &__text {
  562. min-width: 0;
  563. }
  564. &__title {
  565. font-size: 14px;
  566. font-weight: 500;
  567. color: #fff;
  568. line-height: 20px;
  569. }
  570. &__desc {
  571. margin-top: 2px;
  572. font-size: 12px;
  573. color: rgba(255, 255, 255, 0.4);
  574. line-height: 16px;
  575. .generating-card__desc-count {
  576. font-style: normal;
  577. color: #fff;
  578. font-weight: 600;
  579. }
  580. }
  581. }
  582. @keyframes report-spin {
  583. to {
  584. transform: rotate(360deg);
  585. }
  586. }
  587. .history-card + .history-card {
  588. margin-top: 12px;
  589. }
  590. .history-month + .history-month {
  591. margin-top: 14px;
  592. }
  593. // ---------- 历史报告 ----------
  594. .history-month {
  595. &__label {
  596. display: flex;
  597. align-items: center;
  598. gap: 8px;
  599. margin-bottom: 8px;
  600. font-size: 12px;
  601. color: rgba(255, 255, 255, 0.5);
  602. }
  603. &__line {
  604. flex: 1;
  605. height: 1px;
  606. background: rgba(255, 255, 255, 0.08);
  607. }
  608. }
  609. .history-card {
  610. padding: 1px;
  611. border-radius: 12px;
  612. background: linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
  613. linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 25%);
  614. &-wrap {
  615. display: flex;
  616. gap: 10px;
  617. padding: 10px;
  618. background: linear-gradient(180deg, #1A191D 0%, #121216 100%);
  619. border-radius: 12px;
  620. }
  621. & + & {
  622. margin-top: 8px;
  623. }
  624. &__cover {
  625. width: 82px;
  626. height: 93px;
  627. flex-shrink: 0;
  628. border-radius: 8px;
  629. object-fit: cover;
  630. background: rgba(255, 255, 255, 0.06);
  631. }
  632. &__body {
  633. flex: 1;
  634. min-width: 0;
  635. display: flex;
  636. flex-direction: column;
  637. }
  638. &__top {
  639. display: flex;
  640. align-items: center;
  641. justify-content: space-between;
  642. gap: 6px;
  643. }
  644. &__type {
  645. display: flex;
  646. align-items: center;
  647. gap: 3px;
  648. min-width: 0;
  649. font-size: 12px;
  650. border-radius: 4px;
  651. padding: 0 6px;
  652. height: 19px;
  653. background: rgba(255, 255, 255, 0.05);
  654. color: rgba(255, 255, 255, 0.6);
  655. border: 1px solid rgba(255, 255, 255, 0.12);
  656. .el-icon {
  657. font-size: 12px;
  658. flex-shrink: 0;
  659. }
  660. }
  661. &__title {
  662. margin-top: 6px;
  663. font-size: 16px;
  664. color: #fff;
  665. line-height: 24px;
  666. }
  667. &__desc {
  668. margin-top: 2px;
  669. font-size: 12px;
  670. color: rgba(255, 255, 255, 0.6);
  671. line-height: 18px;
  672. }
  673. &__line {
  674. margin: 4px 0;
  675. height: 1px;
  676. width: 100%;
  677. background: rgba(255, 255, 255, 0.06);
  678. }
  679. &__bottom {
  680. display: flex;
  681. align-items: center;
  682. justify-content: space-between;
  683. gap: 6px;
  684. }
  685. &__time {
  686. display: flex;
  687. align-items: center;
  688. gap: 5px;
  689. font-size: 12px;
  690. font-weight: 600;
  691. color: rgba(255, 255, 255, 0.6);
  692. .el-icon {
  693. font-size: 12px;
  694. }
  695. }
  696. &__arrow {
  697. font-size: 12px;
  698. color: rgba(255, 255, 255, 0.4);
  699. }
  700. }
  701. }
  702. </style>