WaterEnvironment.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  1. <template>
  2. <div class="water-environment-content">
  3. <!-- 左侧面板 -->
  4. <div class="left-panel">
  5. <div class="left-panel-3d">
  6. <!-- 水质监测面板 -->
  7. <m-card title="水质监测" class="water-environment-card water-environment-card-top" :width="398" :height="320">
  8. <div class="water-quality-panel">
  9. <!-- 核心成效数据 -->
  10. <div class="quality-achievement">
  11. <div class="achievement-item">
  12. <div class="achievement-label">国省考断面优Ⅲ比例</div>
  13. <div class="achievement-value">90%</div>
  14. </div>
  15. <div class="achievement-item">
  16. <div class="achievement-label">优Ⅱ比例</div>
  17. <div class="achievement-value">60%</div>
  18. </div>
  19. </div>
  20. <!-- 水质指标列表 -->
  21. <div class="quality-indicators">
  22. <div class="indicator-item" v-for="(indicator, index) in qualityIndicators" :key="index" :class="{ 'over-limit': indicator.isOverLimit }">
  23. <div class="indicator-name">{{ indicator.name }}</div>
  24. <div class="indicator-value">{{ indicator.value }} <span class="unit">{{ indicator.unit }}</span></div>
  25. <div class="indicator-status">
  26. <div class="status-bar">
  27. <div class="status-fill" :style="{ width: indicator.percent + '%', background: indicator.isOverLimit ? '#ff4444' : '#00d4ff' }"></div>
  28. </div>
  29. <div class="status-text" :class="{ 'warning': indicator.isOverLimit }">{{ indicator.status }}</div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </m-card>
  35. <!-- 水质趋势 -->
  36. <m-card title="水质趋势" class="water-environment-card water-environment-card-bottom" :width="398" :height="480">
  37. <div class="water-quality-trend">
  38. <div class="trend-chart">
  39. <div class="chart-header">
  40. <div class="chart-title">近7日水质变化</div>
  41. <div class="chart-legend">
  42. <div class="legend-item">
  43. <div class="legend-color" style="background: #00d4ff;"></div>
  44. <span>优Ⅲ</span>
  45. </div>
  46. <div class="legend-item">
  47. <div class="legend-color" style="background: #ffaa00;"></div>
  48. <span>Ⅳ</span>
  49. </div>
  50. <div class="legend-item">
  51. <div class="legend-color" style="background: #ff4444;"></div>
  52. <span>劣Ⅴ</span>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="chart-body">
  57. <div class="chart-bar" v-for="(item, index) in trendData" :key="index">
  58. <div class="bar-wrapper">
  59. <div class="bar-fill" :style="{ height: item.height, background: item.color }"></div>
  60. </div>
  61. <div class="bar-label">{{ item.date }}</div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </m-card>
  67. </div>
  68. </div>
  69. <!-- 右侧面板 -->
  70. <div class="right-panel">
  71. <div class="right-panel-3d">
  72. <!-- 水质站点分布 -->
  73. <m-card title="水质站点分布" class="water-environment-card water-environment-card-top" :width="398" :height="350">
  74. <div class="station-distribution">
  75. <div class="distribution-stats">
  76. <div class="stat-item excellent">
  77. <div class="stat-icon">优</div>
  78. <div class="stat-info">
  79. <div class="stat-value">45</div>
  80. <div class="stat-label">优良站点</div>
  81. </div>
  82. </div>
  83. <div class="stat-item good">
  84. <div class="stat-icon">良</div>
  85. <div class="stat-info">
  86. <div class="stat-value">8</div>
  87. <div class="stat-label">良好站点</div>
  88. </div>
  89. </div>
  90. <div class="stat-item poor">
  91. <div class="stat-icon">差</div>
  92. <div class="stat-info">
  93. <div class="stat-value">4</div>
  94. <div class="stat-label">较差站点</div>
  95. </div>
  96. </div>
  97. </div>
  98. <div class="station-list">
  99. <div class="station-item" v-for="(station, index) in stationList" :key="index">
  100. <div class="station-name">{{ station.name }}</div>
  101. <div class="station-level" :class="station.levelClass">{{ station.level }}</div>
  102. <div class="station-score">{{ station.score }}</div>
  103. </div>
  104. </div>
  105. </div>
  106. </m-card>
  107. <!-- 污染源监控 -->
  108. <m-card title="污染源监控" class="water-environment-card water-environment-card-bottom" :width="398" :height="450">
  109. <div class="pollution-monitor">
  110. <div class="pollution-stats">
  111. <div class="pollution-item">
  112. <div class="pollution-title">工业污染源</div>
  113. <div class="pollution-value">12</div>
  114. <div class="pollution-unit">个</div>
  115. </div>
  116. <div class="pollution-item">
  117. <div class="pollution-title">生活污染源</div>
  118. <div class="pollution-value">28</div>
  119. <div class="pollution-unit">个</div>
  120. </div>
  121. <div class="pollution-item">
  122. <div class="pollution-title">农业污染源</div>
  123. <div class="pollution-value">15</div>
  124. <div class="pollution-unit">个</div>
  125. </div>
  126. </div>
  127. <div class="pollution-list">
  128. <div class="pollution-list-header">
  129. <div class="header-item">污染源名称</div>
  130. <div class="header-item">类型</div>
  131. <div class="header-item">排放量</div>
  132. <div class="header-item">状态</div>
  133. </div>
  134. <div class="pollution-list-body">
  135. <div class="pollution-item-row" v-for="(item, index) in pollutionList" :key="index">
  136. <div class="item-cell">{{ item.name }}</div>
  137. <div class="item-cell">{{ item.type }}</div>
  138. <div class="item-cell">{{ item.emission }}</div>
  139. <div class="item-cell">
  140. <div class="status-badge" :class="item.statusClass">{{ item.status }}</div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </m-card>
  147. </div>
  148. </div>
  149. </div>
  150. </template>
  151. <script setup>
  152. import { ref } from "vue"
  153. import mCard from "@/components/mCard/index.vue"
  154. const qualityIndicators = ref([
  155. { name: 'pH值', value: 7.2, unit: '', status: '正常', percent: 72, isOverLimit: false },
  156. { name: '溶解氧', value: 6.8, unit: 'mg/L', status: '正常', percent: 85, isOverLimit: false },
  157. { name: '氨氮', value: 0.45, unit: 'mg/L', status: '正常', percent: 45, isOverLimit: false },
  158. { name: 'COD', value: 18.5, unit: 'mg/L', status: '正常', percent: 62, isOverLimit: false },
  159. { name: '总磷', value: 0.12, unit: 'mg/L', status: '正常', percent: 60, isOverLimit: false },
  160. { name: '总氮', value: 1.2, unit: 'mg/L', status: '正常', percent: 60, isOverLimit: false },
  161. { name: '高锰酸盐指数', value: 4.2, unit: 'mg/L', status: '正常', percent: 70, isOverLimit: false },
  162. { name: '氟化物', value: 0.8, unit: 'mg/L', status: '正常', percent: 40, isOverLimit: false },
  163. { name: '氰化物', value: 0.005, unit: 'mg/L', status: '正常', percent: 10, isOverLimit: false },
  164. { name: '挥发酚', value: 0.001, unit: 'mg/L', status: '正常', percent: 5, isOverLimit: false }
  165. ])
  166. const trendData = ref([
  167. { date: '02-06', height: '90%', color: '#00d4ff' },
  168. { date: '02-07', height: '85%', color: '#00d4ff' },
  169. { date: '02-08', height: '88%', color: '#00d4ff' },
  170. { date: '02-09', height: '75%', color: '#ffaa00' },
  171. { date: '02-10', height: '92%', color: '#00d4ff' },
  172. { date: '02-11', height: '87%', color: '#00d4ff' },
  173. { date: '02-12', height: '90%', color: '#00d4ff' }
  174. ])
  175. const stationList = ref([
  176. { name: '巴城湖', level: 'Ⅱ类', levelClass: 'level-excellent', score: '92' },
  177. { name: '斜塘', level: 'Ⅲ类', levelClass: 'level-good', score: '85' },
  178. { name: '赵库', level: 'Ⅱ类', levelClass: 'level-excellent', score: '90' },
  179. { name: '兵希(浏)', level: 'Ⅲ类', levelClass: 'level-good', score: '82' },
  180. { name: '大直', level: 'Ⅳ类', levelClass: 'level-poor', score: '68' }
  181. ])
  182. const pollutionList = ref([
  183. { name: '昆山污水处理厂', type: '工业', emission: '1200', status: '正常', statusClass: 'normal' },
  184. { name: '周市化工园区', type: '工业', emission: '850', status: '正常', statusClass: 'normal' },
  185. { name: '花桥生活污水站', type: '生活', emission: '680', status: '正常', statusClass: 'normal' },
  186. { name: '张浦农业灌溉区', type: '农业', emission: '420', status: '正常', statusClass: 'normal' },
  187. { name: '千灯印染厂', type: '工业', emission: '560', status: '预警', statusClass: 'warning' }
  188. ])
  189. </script>
  190. <style lang="scss" scoped>
  191. .water-environment-content {
  192. position: absolute;
  193. top: 0;
  194. left: 0;
  195. right: 0;
  196. bottom: 0;
  197. z-index: 100;
  198. }
  199. .left-panel {
  200. position: absolute;
  201. z-index: 4;
  202. width: 398px;
  203. left: 32px;
  204. top: 100px;
  205. bottom: 50px;
  206. perspective: 500px;
  207. perspective-origin: 50% 50%;
  208. }
  209. .left-panel-3d {
  210. position: absolute;
  211. left: 0;
  212. top: 0;
  213. right: 0;
  214. bottom: 0;
  215. display: flex;
  216. flex-direction: column;
  217. gap: 10px;
  218. transform: translate3d(0px, 0px, 0px) scaleX(1) scaleY(1) rotateX(0deg) rotateY(6deg) rotateZ(0deg) skewX(0deg) skewY(0deg);
  219. z-index: 4;
  220. }
  221. .right-panel {
  222. position: absolute;
  223. z-index: 4;
  224. width: 398px;
  225. right: 32px;
  226. top: 100px;
  227. bottom: 50px;
  228. perspective: 500px;
  229. perspective-origin: 50% 50%;
  230. }
  231. .right-panel-3d {
  232. position: absolute;
  233. left: 0;
  234. top: 0;
  235. right: 0;
  236. bottom: 0;
  237. display: flex;
  238. flex-direction: column;
  239. gap: 10px;
  240. transform: translate3d(0px, 0px, 0px) scaleX(1) scaleY(1) rotateX(0deg) rotateY(-6deg) rotateZ(0deg) skewX(0deg) skewY(0deg);
  241. z-index: 4;
  242. }
  243. .water-environment-card {
  244. pointer-events: auto;
  245. &.water-environment-card-top {
  246. flex-shrink: 0;
  247. }
  248. &.water-environment-card-bottom {
  249. flex: 1;
  250. min-height: 200px;
  251. }
  252. }
  253. .water-quality-panel {
  254. padding: 12px;
  255. height: 100%;
  256. display: flex;
  257. flex-direction: column;
  258. gap: 12px;
  259. box-sizing: border-box;
  260. background: rgba(0, 30, 60, 0.5);
  261. border-radius: 6px;
  262. }
  263. .quality-achievement {
  264. display: grid;
  265. grid-template-columns: repeat(2, 1fr);
  266. gap: 10px;
  267. padding-bottom: 12px;
  268. border-bottom: 1px solid rgba(48, 220, 255, 0.3);
  269. }
  270. .achievement-item {
  271. background: linear-gradient(135deg, rgba(48, 220, 255, 0.2) 0%, rgba(0, 191, 255, 0.15) 100%);
  272. border: 1px solid rgba(48, 220, 255, 0.4);
  273. border-radius: 6px;
  274. padding: 12px;
  275. text-align: center;
  276. }
  277. .achievement-label {
  278. color: rgba(255, 255, 255, 0.8);
  279. font-size: 11px;
  280. margin-bottom: 6px;
  281. letter-spacing: 0.5px;
  282. }
  283. .achievement-value {
  284. font-size: 24px;
  285. font-weight: bold;
  286. color: #30DCFF;
  287. font-family: "D-DIN";
  288. text-shadow: 0 0 10px rgba(48, 220, 255, 0.5);
  289. }
  290. .quality-indicators {
  291. flex: 1;
  292. display: flex;
  293. flex-direction: column;
  294. gap: 6px;
  295. overflow-y: auto;
  296. &::-webkit-scrollbar {
  297. width: 4px;
  298. }
  299. &::-webkit-scrollbar-thumb {
  300. background: rgba(48, 220, 255, 0.3);
  301. border-radius: 2px;
  302. }
  303. }
  304. .indicator-item {
  305. display: flex;
  306. align-items: center;
  307. padding: 8px 10px;
  308. background: rgba(0, 100, 150, 0.3);
  309. border: 1px solid rgba(48, 220, 255, 0.3);
  310. border-radius: 4px;
  311. transition: all 0.3s ease;
  312. &:hover {
  313. background: rgba(0, 100, 150, 0.5);
  314. }
  315. &.over-limit {
  316. border-color: rgba(255, 68, 68, 0.6);
  317. background: rgba(255, 68, 68, 0.15);
  318. }
  319. }
  320. .indicator-name {
  321. width: 100px;
  322. color: rgba(255, 255, 255, 0.9);
  323. font-size: 12px;
  324. flex-shrink: 0;
  325. }
  326. .indicator-value {
  327. width: 80px;
  328. color: #30DCFF;
  329. font-size: 14px;
  330. font-weight: bold;
  331. font-family: "D-DIN";
  332. text-align: right;
  333. margin-right: 10px;
  334. .unit {
  335. font-size: 11px;
  336. color: rgba(255, 255, 255, 0.6);
  337. margin-left: 2px;
  338. }
  339. }
  340. .indicator-status {
  341. flex: 1;
  342. display: flex;
  343. align-items: center;
  344. gap: 8px;
  345. }
  346. .status-bar {
  347. flex: 1;
  348. height: 6px;
  349. background: rgba(0, 0, 0, 0.4);
  350. border-radius: 3px;
  351. overflow: hidden;
  352. }
  353. .status-fill {
  354. height: 100%;
  355. border-radius: 3px;
  356. transition: width 0.3s ease;
  357. }
  358. .status-text {
  359. width: 40px;
  360. text-align: right;
  361. font-size: 11px;
  362. color: #00ff88;
  363. &.warning {
  364. color: #ff4444;
  365. }
  366. }
  367. .water-quality-trend {
  368. padding: 12px;
  369. height: 100%;
  370. display: flex;
  371. flex-direction: column;
  372. box-sizing: border-box;
  373. background: rgba(0, 30, 60, 0.5);
  374. border-radius: 6px;
  375. }
  376. .trend-chart {
  377. flex: 1;
  378. display: flex;
  379. flex-direction: column;
  380. }
  381. .chart-header {
  382. display: flex;
  383. justify-content: space-between;
  384. align-items: center;
  385. margin-bottom: 15px;
  386. }
  387. .chart-title {
  388. color: #30DCFF;
  389. font-size: 14px;
  390. font-weight: bold;
  391. }
  392. .chart-legend {
  393. display: flex;
  394. gap: 12px;
  395. }
  396. .legend-item {
  397. display: flex;
  398. align-items: center;
  399. gap: 4px;
  400. font-size: 11px;
  401. color: rgba(255, 255, 255, 0.8);
  402. }
  403. .legend-color {
  404. width: 12px;
  405. height: 12px;
  406. border-radius: 2px;
  407. }
  408. .chart-body {
  409. flex: 1;
  410. display: flex;
  411. align-items: flex-end;
  412. justify-content: space-between;
  413. padding: 0 10px;
  414. }
  415. .chart-bar {
  416. display: flex;
  417. flex-direction: column;
  418. align-items: center;
  419. gap: 6px;
  420. flex: 1;
  421. }
  422. .bar-wrapper {
  423. width: 30px;
  424. height: 100%;
  425. background: rgba(0, 0, 0, 0.3);
  426. border-radius: 4px 4px 0 0;
  427. position: relative;
  428. overflow: hidden;
  429. }
  430. .bar-fill {
  431. position: absolute;
  432. bottom: 0;
  433. left: 0;
  434. right: 0;
  435. border-radius: 4px 4px 0 0;
  436. transition: height 0.5s ease;
  437. }
  438. .bar-label {
  439. font-size: 11px;
  440. color: rgba(255, 255, 255, 0.7);
  441. }
  442. .station-distribution {
  443. padding: 12px;
  444. height: 100%;
  445. display: flex;
  446. flex-direction: column;
  447. gap: 12px;
  448. box-sizing: border-box;
  449. background: rgba(0, 30, 60, 0.5);
  450. border-radius: 6px;
  451. }
  452. .distribution-stats {
  453. display: grid;
  454. grid-template-columns: repeat(3, 1fr);
  455. gap: 8px;
  456. padding-bottom: 12px;
  457. border-bottom: 1px solid rgba(48, 220, 255, 0.3);
  458. }
  459. .stat-item {
  460. background: rgba(0, 100, 150, 0.4);
  461. border: 1px solid rgba(48, 220, 255, 0.5);
  462. border-radius: 6px;
  463. padding: 10px;
  464. display: flex;
  465. flex-direction: column;
  466. align-items: center;
  467. &.excellent {
  468. border-color: #00ff88;
  469. background: rgba(0, 255, 136, 0.15);
  470. }
  471. &.good {
  472. border-color: #00d4ff;
  473. background: rgba(0, 212, 255, 0.15);
  474. }
  475. &.poor {
  476. border-color: #ff4444;
  477. background: rgba(255, 68, 68, 0.15);
  478. }
  479. }
  480. .stat-icon {
  481. width: 32px;
  482. height: 32px;
  483. border-radius: 50%;
  484. display: flex;
  485. align-items: center;
  486. justify-content: center;
  487. font-size: 14px;
  488. font-weight: bold;
  489. margin-bottom: 6px;
  490. .excellent & {
  491. background: rgba(0, 255, 136, 0.3);
  492. color: #00ff88;
  493. }
  494. .good & {
  495. background: rgba(0, 212, 255, 0.3);
  496. color: #00d4ff;
  497. }
  498. .poor & {
  499. background: rgba(255, 68, 68, 0.3);
  500. color: #ff4444;
  501. }
  502. }
  503. .stat-info {
  504. text-align: center;
  505. }
  506. .stat-value {
  507. font-size: 20px;
  508. font-weight: bold;
  509. color: #fff;
  510. font-family: "D-DIN";
  511. margin-bottom: 2px;
  512. }
  513. .stat-label {
  514. font-size: 10px;
  515. color: rgba(255, 255, 255, 0.7);
  516. }
  517. .station-list {
  518. flex: 1;
  519. display: flex;
  520. flex-direction: column;
  521. gap: 6px;
  522. overflow-y: auto;
  523. &::-webkit-scrollbar {
  524. width: 4px;
  525. }
  526. &::-webkit-scrollbar-thumb {
  527. background: rgba(48, 220, 255, 0.3);
  528. border-radius: 2px;
  529. }
  530. }
  531. .station-item {
  532. display: flex;
  533. align-items: center;
  534. padding: 8px 10px;
  535. background: rgba(0, 100, 150, 0.3);
  536. border: 1px solid rgba(48, 220, 255, 0.3);
  537. border-radius: 4px;
  538. transition: all 0.3s ease;
  539. &:hover {
  540. background: rgba(0, 100, 150, 0.5);
  541. }
  542. }
  543. .station-name {
  544. flex: 1;
  545. color: rgba(255, 255, 255, 0.9);
  546. font-size: 12px;
  547. }
  548. .station-level {
  549. width: 50px;
  550. text-align: center;
  551. font-size: 11px;
  552. font-weight: bold;
  553. padding: 2px 6px;
  554. border-radius: 3px;
  555. &.level-excellent {
  556. background: rgba(0, 255, 136, 0.3);
  557. color: #00ff88;
  558. }
  559. &.level-good {
  560. background: rgba(0, 212, 255, 0.3);
  561. color: #00d4ff;
  562. }
  563. &.level-poor {
  564. background: rgba(255, 68, 68, 0.3);
  565. color: #ff4444;
  566. }
  567. }
  568. .station-score {
  569. width: 40px;
  570. text-align: right;
  571. font-size: 14px;
  572. font-weight: bold;
  573. color: #30DCFF;
  574. font-family: "D-DIN";
  575. }
  576. .pollution-monitor {
  577. padding: 12px;
  578. height: 100%;
  579. display: flex;
  580. flex-direction: column;
  581. gap: 12px;
  582. box-sizing: border-box;
  583. background: rgba(0, 30, 60, 0.5);
  584. border-radius: 6px;
  585. }
  586. .pollution-stats {
  587. display: grid;
  588. grid-template-columns: repeat(3, 1fr);
  589. gap: 8px;
  590. padding-bottom: 12px;
  591. border-bottom: 1px solid rgba(48, 220, 255, 0.3);
  592. }
  593. .pollution-item {
  594. background: rgba(0, 100, 150, 0.4);
  595. border: 1px solid rgba(48, 220, 255, 0.5);
  596. border-radius: 6px;
  597. padding: 12px;
  598. text-align: center;
  599. }
  600. .pollution-title {
  601. color: rgba(255, 255, 255, 0.8);
  602. font-size: 11px;
  603. margin-bottom: 6px;
  604. }
  605. .pollution-value {
  606. font-size: 20px;
  607. font-weight: bold;
  608. color: #30DCFF;
  609. font-family: "D-DIN";
  610. margin-bottom: 2px;
  611. }
  612. .pollution-unit {
  613. font-size: 11px;
  614. color: rgba(255, 255, 255, 0.6);
  615. }
  616. .pollution-list {
  617. flex: 1;
  618. display: flex;
  619. flex-direction: column;
  620. overflow: hidden;
  621. }
  622. .pollution-list-header {
  623. display: flex;
  624. padding: 8px 10px;
  625. background: rgba(0, 100, 150, 0.5);
  626. border-bottom: 1px solid rgba(48, 220, 255, 0.4);
  627. color: #30dcff;
  628. font-weight: bold;
  629. font-size: 12px;
  630. flex-shrink: 0;
  631. border-radius: 4px 4px 0 0;
  632. margin-bottom: 5px;
  633. .header-item {
  634. flex: 1;
  635. text-align: center;
  636. padding: 0 5px;
  637. }
  638. }
  639. .pollution-list-body {
  640. flex: 1;
  641. overflow-y: auto;
  642. &::-webkit-scrollbar {
  643. width: 4px;
  644. }
  645. &::-webkit-scrollbar-thumb {
  646. background: rgba(48, 220, 255, 0.3);
  647. border-radius: 2px;
  648. }
  649. }
  650. .pollution-item-row {
  651. display: flex;
  652. padding: 8px 10px;
  653. border-bottom: 1px solid rgba(48, 220, 255, 0.2);
  654. color: rgba(255, 255, 255, 0.9);
  655. font-size: 12px;
  656. line-height: 1.4;
  657. transition: all 0.3s ease;
  658. &:hover {
  659. background: rgba(48, 220, 255, 0.15);
  660. border-radius: 3px;
  661. }
  662. &:last-child {
  663. border-bottom: none;
  664. }
  665. .item-cell {
  666. flex: 1;
  667. text-align: center;
  668. padding: 0 5px;
  669. &:first-child {
  670. flex: 2;
  671. text-align: left;
  672. }
  673. }
  674. }
  675. .status-badge {
  676. display: inline-block;
  677. padding: 2px 8px;
  678. border-radius: 3px;
  679. font-size: 10px;
  680. font-weight: bold;
  681. &.normal {
  682. background: rgba(0, 255, 136, 0.3);
  683. color: #00ff88;
  684. }
  685. &.warning {
  686. background: rgba(255, 68, 68, 0.3);
  687. color: #ff4444;
  688. }
  689. }
  690. </style>