network.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <template>
  2. <div class="zl-box">
  3. <div class="zl-container-box">
  4. <div class="top-box">
  5. <div class="left-box lr-box">
  6. <!-- <div class = "container-title">
  7. <a-select
  8. class="title-select"
  9. ref="select"
  10. v-model:value="currentTitleValue"
  11. @change="handleTitleChange"
  12. >
  13. <a-select-option value="2">15212工作面</a-select-option>
  14. <a-select-option value="1598491318007898113">采煤工作面</a-select-option>
  15. <a-select-option value="3">掘进工作面</a-select-option>
  16. </a-select>
  17. </div> -->
  18. <div class="analysis-box">
  19. <div class="pie-group">
  20. <div class="item-pie">
  21. <div class="pie">
  22. <div class="qiu qiu1">
  23. <p>{{ totalEnterNum }}</p>
  24. </div>
  25. </div>
  26. <div class="pie-data">
  27. <span class="data-text">总进风量</span>
  28. </div>
  29. </div>
  30. <div class="item-pie">
  31. <div class="pie">
  32. <div class="qiu qiu2">
  33. <p>{{ totalToNum }}</p>
  34. </div>
  35. </div>
  36. <div class="pie-data">
  37. <span class="data-text">总回风量</span>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="detail-data-group">
  42. <div class="container-item" v-for="(data, index) in analysisDetailDataList" :key="index">
  43. <div class="item-icon">
  44. <SvgIcon class="icon-style" size="18" :name="data.icon" />
  45. </div>
  46. <div class="item-name">{{ data.name }}</div>
  47. <div v-if="data.code !== 'level' && data.code !== 'resistance'" class="item-value">{{ data.value }}
  48. </div>
  49. <div v-if="data.code == 'level'" class="item-value">
  50. <span class="signal-round signal-round-run"></span>
  51. </div>
  52. <div v-if="data.code == 'resistance'" class="item-value">{{ totalPa }}</div>
  53. </div>
  54. </div>
  55. <div class="feature-group">
  56. <div class="feature-item">
  57. <div class="pie">
  58. <Progress type="circle" :width="50" :stroke-color="{
  59. '0%': '#FC9C1D',
  60. '100%': '#1FF8FB',
  61. }" :percent="Number(rate1)"></Progress>
  62. </div>
  63. <div class="data">可靠度</div>
  64. </div>
  65. <div class="feature-item">
  66. <div class="pie">
  67. <Progress type="circle" :width="50" :stroke-color="{
  68. '0%': '#A02EFF',
  69. '100%': '#1FF8FB',
  70. }" :percent="Number(rate2)"></Progress>
  71. </div>
  72. <div class="data">风阻合理度</div>
  73. </div>
  74. <div class="feature-item">
  75. <div class="pie">
  76. <Progress type="circle" :width="50" :stroke-color="{
  77. '0%': '#108ee9',
  78. '100%': '#1FF8FB',
  79. }" :percent="Number(rate3)"></Progress>
  80. </div>
  81. <div class="data">有效风量率</div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <div class="right-box lr-box">
  87. <div class="sensor-box">
  88. <div class="item-top-title">传感器实时数据</div>
  89. <BorderBox1 class="table-box">
  90. <div class="table-container">
  91. <a-table :columns="sensorColumns" :data-source="sensorDataList" :pagination="false" size="small" />
  92. </div>
  93. </BorderBox1>
  94. </div>
  95. <div class="warning-box">
  96. <div class="item-top-title">预警报警信息</div>
  97. <BorderBox1 class="table-box">
  98. <div class="table-container">
  99. <a-table :columns="warningColumns" :data-source="warningDataList" :pagination="false" size="small">
  100. <template #bodyCell="{ column, record }">
  101. <div v-if="column.dataIndex == 'level'">
  102. <span class="signal-round"
  103. :class="{ 'signal-round-red': record['level'] == 1, 'signal-round-orange': record['level'] == 2, 'signal-round-yellow': record['level'] == 3 }"></span>
  104. </div>
  105. </template>
  106. </a-table>
  107. </div>
  108. </BorderBox1>
  109. </div>
  110. </div>
  111. </div>
  112. <!-- <div class="bottom-box">
  113. <div class="bottom-left bottom-lr-box">
  114. <BorderBox11 title="实时网络解算" :color="['#00FFFF']">
  115. <div class="network-top">
  116. <div class="network-top-left">
  117. <div>
  118. 准确率:
  119. <span class="accuracy-rate">95%</span>
  120. </div>
  121. <div>
  122. 迭代误差:
  123. <span class="error-rate">0.0941%</span>
  124. </div>
  125. </div>
  126. <div class="network-top-right">
  127. 本次解算时间:
  128. <span class="time">{{ currentTime }}</span>
  129. </div>
  130. </div>
  131. <div class="table-container">
  132. <a-table :columns="networkColumns" :data-source="networkDataList" :pagination="false" size="small" />
  133. </div>
  134. </BorderBox11>
  135. </div>
  136. <div class="bottom-right bottom-lr-box">
  137. <BorderBox11 title="最大阻力路线">
  138. <div class="zl-top">
  139. <div>
  140. <span class="btn active">1号回风斜井</span>
  141. <span class="btn">2号回风斜井</span>
  142. </div>
  143. <div>
  144. 路线阻力
  145. <span class="data">{{ totalPa }}</span>
  146. Pa
  147. </div>
  148. </div>
  149. <div class="zl-container">
  150. <div class="zl-path-item position1">
  151. <div class="title">副平硐</div>
  152. </div>
  153. <div class="zl-path-item position2">
  154. <div class="title">5煤组盘区辅运巷</div>
  155. </div>
  156. <div class="zl-path-item position3">
  157. <div class="title">1521辅运顺槽</div>
  158. </div>
  159. <div class="zl-path-item position4">
  160. <div class="title">15212综采工作面</div>
  161. </div>
  162. <div class="zl-path-item position5">
  163. <div class="title">15211辅运顺槽</div>
  164. </div>
  165. <div class="zl-path-item position6">
  166. <div class="title">15212胶运顺槽</div>
  167. </div>
  168. <div class="zl-path-item position7">
  169. <div class="title">15212回风顺槽回风联巷</div>
  170. </div>
  171. <div class="zl-path-item position8">
  172. <div class="title">5煤组盘曲回风大巷</div>
  173. </div>
  174. <div class="zl-path-item position9">
  175. <div class="title">回风斜井联络巷</div>
  176. </div>
  177. <div class="zl-path-item position10">
  178. <div class="title">1盘曲回风斜井</div>
  179. </div>
  180. </div>
  181. </BorderBox11>
  182. </div>
  183. </div> -->
  184. </div>
  185. </div>
  186. </template>
  187. <script setup lang="ts">
  188. import { ref, onMounted, onUnmounted } from 'vue';
  189. import { Icon as SvgIcon } from '/@/components/Icon';
  190. import { Progress } from 'ant-design-vue';
  191. import { BorderBox11, BorderBox1 } from '@kjgl77/datav-vue3';
  192. import { sensorColumns, sensorData, networkColumns, networkData, warningColumns, warningData } from './network.data'
  193. import dayjs from 'dayjs'
  194. const currentTitleValue = ref('2') // 监测工作面id
  195. let count = 0;
  196. const sensorDataList = ref<any[]>([])
  197. const networkDataList = ref<any[]>([])
  198. const warningDataList = ref<any[]>([])
  199. const currentTime = ref(dayjs(new Date('2022-10-11 15:03:11').getTime() + count).format('YYYY-MM-DD HH:mm:ss'))
  200. const totalEnterNum = ref(23855 + '')
  201. const totalToNum = ref(244436 + '')
  202. const totalPa = ref(1640 + '')
  203. const rate1 = ref(95 + '')
  204. const rate2 = ref(95 + '')
  205. const rate3 = ref(95 + '')
  206. const analysisDetailDataList = ref([
  207. {
  208. code: '',
  209. name: '通风巷道规模(m)',
  210. value: '21000',
  211. icon: 'path-icon1'
  212. },
  213. {
  214. code: 'level',
  215. name: '通风难易程度',
  216. value: '21000',
  217. icon: 'path-icon2'
  218. },
  219. {
  220. code: 'resistance',
  221. name: '总阻力',
  222. value: totalPa.value,
  223. icon: 'path-icon3'
  224. },
  225. {
  226. code: '',
  227. name: '等积孔(㎡)',
  228. value: '11.27',
  229. icon: 'path-icon4'
  230. },
  231. ])
  232. let timer: null | NodeJS.Timeout = null;
  233. function getMonitorData() {
  234. if (Object.prototype.toString.call(timer) === '[object Null]') {
  235. timer = setTimeout(async () => {
  236. sensorDataList.value = sensorData()
  237. networkDataList.value = networkData()
  238. warningDataList.value = warningData()
  239. currentTime.value = dayjs(new Date('2022-10-11 15:03:11').getTime() + (++count * 5000)).format('YYYY-MM-DD HH:mm:ss')
  240. totalEnterNum.value = Number(Math.random() * 200 - 100 + 23855).toFixed(0)
  241. totalToNum.value = Number(Math.random() * 200 - 100 + 244436).toFixed(0)
  242. totalPa.value = Number(Math.random() * 50 - 25 + 1640).toFixed(0)
  243. rate1.value = Number(Math.random() * 4 - 2 + 95).toFixed(0)
  244. rate2.value = Number(Math.random() * 4 - 2 + 95).toFixed(0)
  245. rate3.value = Number(Math.random() * 4 - 2 + 95).toFixed(0)
  246. sensorDataList.value = sensorData()
  247. networkDataList.value = networkData()
  248. warningDataList.value = warningData()
  249. if (timer) {
  250. timer = null;
  251. }
  252. getMonitorData();
  253. }, 5000)
  254. }
  255. }
  256. // 标题选择
  257. function handleTitleChange() {
  258. //
  259. }
  260. onMounted(() => {
  261. getMonitorData()
  262. // if (document.body.getAttribute('class')?.includes('style-styleTwo')) document.body.removeAttribute('class', 'style-styleTwo');
  263. });
  264. onUnmounted(() => {
  265. if (timer) {
  266. clearTimeout(timer);
  267. timer = undefined;
  268. }
  269. });
  270. </script>
  271. <style scoped lang="less">
  272. @ventSpace: zxm;
  273. .zl-box {
  274. width: 100%;
  275. height: calc(100% - 100px);
  276. color: #fff;
  277. background-position: center;
  278. background-size: cover;
  279. .modal-box {
  280. position: relative;
  281. width: 100%;
  282. height: 100%;
  283. top: 0;
  284. left: 0;
  285. }
  286. }
  287. .zl-container-box {
  288. pointer-events: none;
  289. margin-top: 30px;
  290. .top-box {
  291. display: flex;
  292. justify-content: space-between;
  293. height: calc(70% - 20px);
  294. .lr-box {
  295. width: 374px;
  296. margin-top: 10px;
  297. }
  298. .left-box {
  299. // .container-title {
  300. // width: 398px;
  301. // height: 34px;
  302. // top: -30px;
  303. // background: url('/@/assets/images/vent/new-home/container-title-bg.png') no-repeat;
  304. // background-size: contain;
  305. // padding: 0 0 0 180px;
  306. // font-size: 20px;
  307. // pointer-events: auto;
  308. // position: relative;
  309. // .title-select {
  310. // width: 198px;
  311. // position: absolute;
  312. // top: 0;
  313. // left: 180px;
  314. // }
  315. // }
  316. .analysis-box {
  317. position: relative;
  318. .pie-group {
  319. display: flex;
  320. flex-direction: row;
  321. .item-pie {
  322. flex: 1;
  323. padding: 5px;
  324. display: flex;
  325. flex-direction: column;
  326. justify-content: center;
  327. align-items: center;
  328. .pie {
  329. width: 140px;
  330. height: 80px;
  331. background: url('/@/assets/images/vent/path/di.png') no-repeat;
  332. background-size: contain;
  333. display: flex;
  334. justify-content: center;
  335. .qiu1 {
  336. background: url('/@/assets/images/vent/path/cicle01.png') no-repeat center;
  337. }
  338. .qiu2 {
  339. background: url('/@/assets/images/vent/path/cicle04.png') no-repeat center;
  340. }
  341. .qiu {
  342. position: relative;
  343. width: 60px;
  344. height: 60px;
  345. background-size: 100%;
  346. display: flex;
  347. justify-content: center;
  348. padding-top: 18px;
  349. &::before {
  350. content: '';
  351. display: block;
  352. width: 60px;
  353. height: 60px;
  354. position: absolute;
  355. left: 50%;
  356. top: 50%;
  357. transform: translate(-50%, -50%);
  358. border-radius: 50%;
  359. border: 3px solid rgba(255, 255, 255, 0.5);
  360. animation: scale 2s linear infinite;
  361. }
  362. }
  363. }
  364. .pie-data {
  365. width: 140px;
  366. height: 20px;
  367. display: flex;
  368. justify-content: center;
  369. position: relative;
  370. background: url('/@/assets/images/vent/path/pie-line.png');
  371. .data-text {
  372. display: block;
  373. position: absolute;
  374. top: -8px;
  375. }
  376. }
  377. }
  378. }
  379. .detail-data-group {
  380. width: 100%;
  381. ;
  382. display: flex;
  383. flex-direction: column;
  384. align-items: center;
  385. margin-top: 15px;
  386. .container-item {
  387. width: 307px;
  388. height: 63px;
  389. display: flex;
  390. position: relative;
  391. background: url('/@/assets/images/vent/plane-bottom.png') no-repeat;
  392. background-size: auto;
  393. background-position: bottom;
  394. padding: 10px 30px;
  395. &::before {
  396. content: '';
  397. display: block;
  398. width: 100%;
  399. height: 5px;
  400. position: absolute;
  401. top: 62px;
  402. left: 0;
  403. background-color: #73f4ff66;
  404. backdrop-filter: blur(5px);
  405. }
  406. .item-icon {
  407. width: 60px;
  408. height: 45px;
  409. background: url('/@/assets/images/vent/plane-icon-bg.png') no-repeat;
  410. background-size: cover;
  411. .icon-style {
  412. margin: 10px 0 0 18px;
  413. }
  414. }
  415. .item-name {
  416. width: 180px;
  417. line-height: 60px;
  418. margin-left: 5px;
  419. text-align: left;
  420. }
  421. .item-value {
  422. position: relative;
  423. height: 26px;
  424. line-height: 24px;
  425. margin: 15px 0;
  426. text-align: center;
  427. width: 80px;
  428. border: 1px solid #00f5fe;
  429. border-radius: 13px;
  430. background: linear-gradient(to right, #00f5fe44, #0090ff44);
  431. &::before {
  432. width: 6px;
  433. height: 6px;
  434. content: '';
  435. position: absolute;
  436. left: -3px;
  437. top: 8px;
  438. background: #ffa500;
  439. border-radius: 3px;
  440. }
  441. }
  442. }
  443. }
  444. .feature-group {
  445. display: flex;
  446. flex-direction: row;
  447. padding: 20px;
  448. margin-top: 15px;
  449. .feature-item {
  450. width: 108px;
  451. height: 120px;
  452. background: url('/@/assets/images/vent/path/path-feature-bg.png');
  453. display: flex;
  454. flex-direction: column;
  455. // justify-content: center;
  456. .pie {
  457. display: flex;
  458. justify-content: center;
  459. }
  460. .data {
  461. margin-top: 15px;
  462. font-size: 12px;
  463. scale: 0.9;
  464. text-align: center;
  465. }
  466. }
  467. }
  468. }
  469. }
  470. .right-box {
  471. display: flex;
  472. flex-direction: column;
  473. .sensor-box,
  474. .warning-box {
  475. position: relative;
  476. // min-height: 220px;
  477. // max-height: 250px;
  478. .table-box {
  479. height: 280px;
  480. position: relative;
  481. .table-container {
  482. margin: 25px 20px 20px;
  483. height: 250px;
  484. position: absolute;
  485. }
  486. }
  487. }
  488. .sensor-box {
  489. .item-top-title {
  490. &::after {
  491. left: 110px;
  492. }
  493. &::before {
  494. left: 265px;
  495. }
  496. }
  497. }
  498. .warning-box {
  499. margin-top: 10px;
  500. }
  501. }
  502. }
  503. .bottom-box {
  504. width: 100%;
  505. height: calc(30% - 20px);
  506. display: flex;
  507. justify-content: space-between;
  508. margin-top: 20px;
  509. .bottom-lr-box {
  510. flex: 1;
  511. display: flex;
  512. justify-content: center;
  513. }
  514. .bottom-left {
  515. margin-right: 10px;
  516. .network-top {
  517. display: flex;
  518. flex-direction: row;
  519. justify-content: space-between;
  520. position: relative;
  521. top: 55px;
  522. padding: 0 30px;
  523. .network-top-left {
  524. display: flex;
  525. div {
  526. margin-right: 20px;
  527. }
  528. span {
  529. font-family: 'douyuFont';
  530. font-size: 15px;
  531. }
  532. .accuracy-rate {
  533. color: #FFA500;
  534. }
  535. .error-rate {
  536. color: #00f5fe;
  537. }
  538. }
  539. .time {
  540. color: #949494;
  541. }
  542. }
  543. .table-container {
  544. height: 150px;
  545. margin-top: 55px;
  546. margin-left: 15px;
  547. margin-right: 10px;
  548. }
  549. }
  550. .bottom-right {
  551. margin-left: 10px;
  552. .zl-top {
  553. width: calc(100% - 30px);
  554. padding: 0 20px;
  555. display: flex;
  556. flex-direction: row;
  557. justify-content: space-between;
  558. position: relative;
  559. top: 35px;
  560. z-index: 99;
  561. margin: 10px;
  562. border-bottom: 1px solid #00f5fe88;
  563. .btn {
  564. padding: 3px 10px;
  565. border-top: 1px solid #c6c6c6;
  566. background-image: linear-gradient(#c2c2c2aa, #b3b3b388 20%, #5a5a5a88);
  567. cursor: pointer;
  568. margin-right: 5px;
  569. &:hover,
  570. &:active {
  571. border-top: 1px solid #00f5fe;
  572. background-image: linear-gradient(#00f5feaa, #1adce288 20%, #00848988);
  573. }
  574. }
  575. .active {
  576. border-top: 1px solid #00f5fe;
  577. background-image: linear-gradient(#00f5feaa, #1adce288 20%, #00848988);
  578. }
  579. .data {
  580. font-family: 'douyuFont';
  581. color: #FFA500;
  582. font-size: 15px;
  583. }
  584. }
  585. .zl-container {
  586. width: 100%;
  587. height: 100%;
  588. margin: 0 15px;
  589. background: url('/@/assets/images/vent/path/zl-bg1.png') no-repeat;
  590. background-size: 920px 190px;
  591. position: relative;
  592. &::after {
  593. content: '';
  594. display: block;
  595. position: absolute;
  596. width: 100%;
  597. height: 100%;
  598. top: 85px;
  599. background: url('/@/assets/images/vent/path/zl-bg2.png') no-repeat;
  600. background-size: 920px 100px;
  601. }
  602. }
  603. .zl-path-item {
  604. height: 67px;
  605. background: url('/@/assets/images/vent/path/zl-path-item-bg.png') no-repeat;
  606. background-size: auto;
  607. background-position: center bottom;
  608. position: absolute;
  609. scale: 0.9;
  610. .title {
  611. position: relative;
  612. top: -20px;
  613. text-align: center;
  614. font-size: 12px;
  615. background: #00f5fe33;
  616. padding: 3px 5px;
  617. backdrop-filter: blur(5px);
  618. }
  619. }
  620. .position10 {
  621. top: 130px;
  622. left: 0px;
  623. }
  624. .position9 {
  625. top: 52px;
  626. left: 100px;
  627. }
  628. .position8 {
  629. top: 132px;
  630. left: 220px;
  631. }
  632. .position7 {
  633. top: 128px;
  634. left: 420px;
  635. }
  636. .position6 {
  637. top: 60px;
  638. left: 320px;
  639. }
  640. .position5 {
  641. top: 120px;
  642. left: 580px;
  643. }
  644. .position4 {
  645. top: 123px;
  646. left: 690px;
  647. }
  648. .position3 {
  649. top: 103px;
  650. left: 830px;
  651. }
  652. .position2 {
  653. top: 90px;
  654. left: 740px;
  655. }
  656. .position1 {
  657. top: 80px;
  658. left: 535px;
  659. }
  660. }
  661. }
  662. }
  663. .item-top-title {
  664. width: 374px;
  665. height: 32px;
  666. text-align: center;
  667. line-height: 34px;
  668. font-size: 15px;
  669. font-weight: 600;
  670. color: #fafafa;
  671. position: absolute;
  672. padding-top: 0px;
  673. top: -9px;
  674. &::before {
  675. content: '';
  676. display: block;
  677. width: 40px;
  678. height: 1px;
  679. position: absolute;
  680. left: 255px;
  681. top: 50%;
  682. transform: translateY(-50%);
  683. -webkit-transform: translate(-50%, -50%);
  684. background-color: #00d4fe88;
  685. }
  686. &::after {
  687. content: '';
  688. display: block;
  689. width: 40px;
  690. height: 1px;
  691. position: absolute;
  692. left: 120px;
  693. top: 50%;
  694. transform: translateY(-50%);
  695. -webkit-transform: translate(-50%, -50%);
  696. background-color: #00d4fe88;
  697. }
  698. }
  699. .signal-round {
  700. display: inline-block;
  701. width: 4px;
  702. height: 4px;
  703. border-radius: 50%;
  704. position: relative;
  705. top: -3px;
  706. &::after {
  707. display: block;
  708. content: '';
  709. position: absolute;
  710. width: 8px;
  711. height: 8px;
  712. top: -2px;
  713. left: -2px;
  714. border-radius: 50%;
  715. background-color: #daffc044;
  716. box-shadow: 0 0 1px 1px #c6ff7722;
  717. }
  718. }
  719. .signal-round-run {
  720. background-color: #67fc00;
  721. &::after {
  722. background-color: #daffc044;
  723. box-shadow: 0 0 1px 1px #c6ff7722;
  724. }
  725. }
  726. .signal-round-red {
  727. background-color: #FF3823;
  728. &::after {
  729. background-color: #FF382344;
  730. box-shadow: 0 0 1px 1px #FF382333;
  731. }
  732. }
  733. .signal-round-orange {
  734. background-color: #FF9B17;
  735. &::after {
  736. background-color: #FF9B1744;
  737. box-shadow: 0 0 1px 1px #FF9B1733;
  738. }
  739. }
  740. .signal-round-yellow {
  741. background-color: #FFFF00;
  742. &::after {
  743. background-color: #FFFF0044;
  744. box-shadow: 0 0 1px 1px #FFFF0033;
  745. }
  746. }
  747. .table-container {
  748. overflow-y: auto;
  749. overflow-x: hidden;
  750. pointer-events: auto;
  751. &::-webkit-scrollbar {
  752. width: 4px;
  753. height: 8px;
  754. background-color: #f5f5f500;
  755. }
  756. &::-webkit-scrollbar-track {
  757. background-color: #ffffff33;
  758. border-radius: 10px;
  759. }
  760. &::-webkit-scrollbar-thumb {
  761. background-color: #cccccc44;
  762. border-radius: 10px;
  763. }
  764. }
  765. @keyframes scale {
  766. 0% {
  767. transform: translate(-50%, -50%) scale(0.9);
  768. opacity: 1;
  769. }
  770. 100% {
  771. transform: translate(-50%, -50%) scale(1.5);
  772. opacity: 0;
  773. }
  774. }
  775. :deep(.@{ventSpace}-progress-text) {
  776. color: #fff !important;
  777. }
  778. :deep(.@{ventSpace}-table-thead) {
  779. background-color: transparent !important;
  780. &>tr {
  781. border: 1px solid #00f5fe !important;
  782. }
  783. &>tr>th {
  784. // border: none !important;
  785. color: #00f5fe !important;
  786. border-top: 1px solid #00f5fe !important;
  787. border-bottom: 1px solid #00f5fe !important;
  788. border-left: none !important;
  789. border-right: none !important;
  790. font-size: 13px;
  791. }
  792. }
  793. :deep(.@{ventSpace}-table-tbody) {
  794. &>tr>td {
  795. font-size: 13px;
  796. }
  797. }
  798. :deep(.@{ventSpace}-table-small) {
  799. border: none !important;
  800. }
  801. :deep(.@{ventSpace}-layout) {
  802. background: transparent !important;
  803. }</style>