index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. <template>
  2. <div class="zl-box">
  3. <div class="zl-container-box">
  4. <customHeader >灾变应急管控系统</customHeader>
  5. <div class="emergency_box">
  6. <transition
  7. enter-active-class="animate__animated animate__slideInLeft"
  8. leave-active-class="animate__animated animate__slideOutLeft"
  9. >
  10. <div class="left-box lr-box" v-show="show">
  11. <div class="network-time">
  12. 本次解算时间:
  13. <span class="time">{{ pageData.currentTime }}</span>
  14. </div>
  15. <div class="analysis-box">
  16. <div class="item-top-title">工作面基本信息</div>
  17. <BorderBox1 class="border-bg" backgroundColor="#00bfff15" >
  18. <div class="detail-data-group">
  19. <div class="container-item" v-for="(data, index) in analysisDetailDataList" :key="index">
  20. <div class="item-icon">
  21. <SvgIcon class="icon-style" size="18" :name="data.icon" />
  22. </div>
  23. <div class="item-name">{{ data.name }}</div>
  24. <div v-if="data.code !== 'level' && data.code !== 'resistance'" class="item-value">{{ pageData[data.code] }}
  25. </div>
  26. <div v-if="data.code == 'level'" class="item-value">
  27. <!-- <span class="signal-round signal-round-run" :class="{'signal-round-run': Number(pageData.dTotalArea) > 2, 'signal-round-red': Number(pageData.dTotalArea) <= 2 }"></span> -->
  28. <span class="">{{ Number(pageData.dTotalArea) > 2 ? '容易':'难' }}</span>
  29. </div>
  30. <div v-if="data.code == 'resistance'" class="item-value">{{ totalPa }}</div>
  31. </div>
  32. </div>
  33. <!-- <div class="time-list" style="overflow-y: auto;">
  34. <dv-scroll-board ref="scrollBoardRef" :config="solveTimesData" style="width: 100%; height: 100px; font-weight: 500;" />
  35. </div> -->
  36. </BorderBox1>
  37. </div>
  38. </div>
  39. </transition>
  40. <transition
  41. enter-active-class="animate__animated animate__slideInRight"
  42. leave-active-class="animate__animated animate__slideOutRight"
  43. >
  44. <div class="right-box lr-box" v-show="show">
  45. <div class="sensor-box">
  46. <div class="item-top-title">传感器实时数据</div>
  47. <BorderBox1 class="table-box border-bg" backgroundColor="#00bfff15">
  48. <div class="table-container">
  49. <a-table :columns="sensorColumns" :data-source="pageData.sensorDataList" :pagination="false" size="small" />
  50. </div>
  51. </BorderBox1>
  52. </div>
  53. <div class="warning-box">
  54. <div class="item-top-title">预警报警信息</div>
  55. <BorderBox1 class="table-box border-bg" backgroundColor="#00bfff15">
  56. <div class="table-container">
  57. <a-table :columns="warningColumns" :data-source="pageData.warningDataList" :pagination="false" size="small">
  58. <template #bodyCell="{ column, record }">
  59. <div v-if="column.dataIndex == 'level'">
  60. <span class="signal-round"
  61. :class="{ 'signal-round-red': record['level'] == 1, 'signal-round-orange': record['level'] == 2, 'signal-round-yellow': record['level'] == 3 }"></span>
  62. </div>
  63. </template>
  64. </a-table>
  65. </div>
  66. </BorderBox1>
  67. </div>
  68. </div>
  69. </transition>
  70. </div>
  71. <transition
  72. enter-active-class="animate__animated animate__slideInUp"
  73. leave-active-class="animate__animated animate__slideOutDown"
  74. >
  75. <div class="bottom-box" v-show="show">
  76. <div class="slider-box">
  77. <a-slider v-model:value="sliderNum" :min="0" :max="100" />
  78. </div>
  79. <div class="to-small" @click="toHome"></div>
  80. <div class="bottom-left bottom-lr-box">
  81. <BorderBox11 class="border-bg" title="灾变网络解算" :color="['#00FFFF']" backgroundColor="#00bfff15">
  82. <div class="zl-top">
  83. <div>
  84. <span v-for="(device, index) in deviceTab " :key="index" class="btn" :class="{'active': device.code == deviceActiveCode }" @click="setTable(device.code)">{{ device.title }}</span>
  85. </div>
  86. </div>
  87. <div class="table-container">
  88. <a-table :columns="columns" :data-source="tableDate" :pagination="false" size="small" />
  89. </div>
  90. </BorderBox11>
  91. </div>
  92. <div class="bottom-left bottom-lr-box">
  93. <BorderBox11 class="border-bg" title="灾变应急路线" :color="['#00FFFF']" backgroundColor="#00bfff15">
  94. <div class="zl-top">
  95. <div>
  96. <span v-for="(device, index) in emergencyTab " :key="index" class="btn" :class="{'active': device.code == emergencyActiveCode }" @click="setTable(device.code)">{{ device.title }}</span>
  97. </div>
  98. </div>
  99. <div class="table-container">
  100. <a-table v-if="emergencyActiveCode === 'location'" :columns="locationColumns" :data-source="locationData" :pagination="false" size="small" ></a-table>
  101. <a-table v-else :columns="emergencyColumns" :data-source="emergencyData" :pagination="false" size="small" >
  102. <template #expandedRowRender>
  103. <a-table :columns="emergencyPathColumns" :data-source="emergencyPathData" :pagination="false"></a-table>
  104. </template>
  105. </a-table>
  106. </div>
  107. </BorderBox11>
  108. </div>
  109. </div>
  110. </transition>
  111. </div>
  112. </div>
  113. </template>
  114. <script setup lang="ts">
  115. import { ref, onMounted, onUnmounted, defineEmits, defineProps, watch, reactive } from 'vue';
  116. import { Icon as SvgIcon } from '/@/components/Icon';
  117. import { BorderBox11, BorderBox1, ScrollBoard as DvScrollBoard } from '@kjgl77/datav-vue3';
  118. import { sensorColumns, networkColumns, warningColumns, locationColumns, emergencyColumns, emergencyPathColumns, deviceTab, emergencyTab, SensorType, NetworkType, windowColumns, gateColumns, WindowType, GateType, solveTimesData } from './network.data'
  119. import dayjs from 'dayjs'
  120. import { formatNum } from '/@/utils/ventutil'
  121. import customHeader from '/@/components/vent/customHeader.vue';
  122. import { Empty } from 'ant-design-vue';
  123. const emit = defineEmits(['changePageType'])
  124. const props = defineProps({
  125. pageResult: {
  126. type: Object,
  127. default: () => {}
  128. }
  129. })
  130. let count = 0;
  131. const sliderNum = ref(0)
  132. const pageData = reactive({
  133. currentTime: dayjs(new Date().getTime() + count).format('YYYY-MM-DD HH:mm:ss'),
  134. totalEnterNum: '-',
  135. totalToNum: '-',
  136. totallength: '-', // 总长
  137. level: '-',
  138. dTotalArea: '-',
  139. sensorDataList: <SensorType[]>[],
  140. networkDataList: <NetworkType[]>[],
  141. gateDataList: <GateType[]>[],
  142. windowDataList: <WindowType[]>[],
  143. warningDataList: []
  144. })
  145. const show = ref(false)
  146. const deviceActiveCode = ref('tun')
  147. const emergencyActiveCode = ref('location')
  148. const columns = ref(networkColumns)
  149. const emergencycolumns = ref(locationColumns)
  150. const tableDate = <any[]>ref(pageData.networkDataList as any)
  151. const totalPa = ref(1640 + '')
  152. const rate1 = ref(95 + '')
  153. const rate2 = ref(95 + '')
  154. const rate3 = ref(95 + '')
  155. const locationData = []
  156. const emergencyData = []
  157. const emergencyPathData = []
  158. const analysisDetailDataList = [
  159. {
  160. code: 'dTotalArea',
  161. name: '工作面编号',
  162. icon: 'path-icon4'
  163. },
  164. {
  165. code: 'dTotalArea',
  166. name: '所属采区',
  167. icon: 'path-icon4'
  168. },
  169. {
  170. code: 'dTotalArea',
  171. name: '所属煤层',
  172. icon: 'path-icon4'
  173. },
  174. {
  175. code: 'totallength',
  176. name: '工作面长度(m)',
  177. icon: 'path-icon1'
  178. },
  179. {
  180. code: 'totallength',
  181. name: '工作面走向长度(m)',
  182. icon: 'path-icon1'
  183. },
  184. {
  185. code: 'totallength',
  186. name: '工作面采高(m)',
  187. icon: 'path-icon1'
  188. },
  189. {
  190. code: 'resistance',
  191. name: '灾变等级',
  192. // value: totalPa.value,
  193. icon: 'path-icon3'
  194. },
  195. ]
  196. const maxPaths = ref([])
  197. const activePath = ref(1)
  198. let solveTimes: [string, string][] = []
  199. const scrollBoardRef = ref()
  200. function toHome() {
  201. show.value = false
  202. setTimeout(() => {
  203. emit('changePageType', 'model3D')
  204. }, 1200)
  205. }
  206. function changeActive(index){
  207. activePath.value = index
  208. }
  209. function analyzePageResult(resultData){
  210. console.log('数据接收到------', resultData);
  211. if(!resultData) return
  212. pageData.currentTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
  213. const sensorDataList = <SensorType[]>[];
  214. const networkDataList = <NetworkType[]>[]
  215. const gateDataList = <GateType[]>[]
  216. const windowDataList = <WindowType[]>[]
  217. if(resultData['solutionresult']){
  218. const solutionresult = resultData['solutionresult'] || null;
  219. pageData.totalEnterNum = solutionresult['TotalInQ'] != null ? formatNum(Number(solutionresult['TotalInQ'])) : '-';
  220. pageData.totalToNum = solutionresult['TotalOutQ'] != null ? formatNum(Number(solutionresult['TotalOutQ'])): '-';
  221. pageData.totallength = solutionresult['TotalLength'] != null ? formatNum(Number(solutionresult['TotalLength'])) : '-';
  222. pageData.dTotalArea = solutionresult['dTotalArea'] != null ? formatNum(Number(solutionresult['dTotalArea'])) : '-';
  223. if (solutionresult['tuns'])
  224. for (const key in solutionresult['tuns']) {
  225. const item = solutionresult['tuns'][key]
  226. const obj = {
  227. nTunID: key,
  228. strName: item['strName'],
  229. dHFric: item['dHFric'] != null ? item['dHFric'].toFixed(2) : '-', //摩擦阻力
  230. dHLocal: item['dHNature'] != null ? item['dHNature'].toFixed(2) : '-', //局部阻力
  231. dHNature: item['dHNature'] != null ? item['dHNature'].toFixed(2) : '-', //自然风压
  232. dHTotal: item['dHTotal'] != null ? item['dHTotal'].toFixed(2) : '-', //总阻力
  233. fRealQ: item['fRealQ'] != null ? item['fRealQ'].toFixed(2) : '-', //实时风量
  234. fRealV: item['fRealV'] != null ? item['fRealV'].toFixed(2) : '-', //实时风速
  235. }
  236. networkDataList.push(obj)
  237. }
  238. if (solutionresult['gates'])
  239. for (const key in solutionresult['gates']) {
  240. const item = solutionresult['gates'][key]
  241. const obj = {
  242. nGateID: key,
  243. strName: item['strName'],
  244. data_dHDiff: item['data_dHDiff'] != null ? item['data_dHDiff'].toFixed(2) : '-', //风门压差
  245. data_dQ_min: item['data_dQ_min'] != null ? item['data_dQ_min'].toFixed(2) : '-', //风门漏风量
  246. data_dQ_s: item['data_dQ_s'] != null ? item['data_dQ_s'].toFixed(2) : '-', //风门漏风量
  247. }
  248. gateDataList.push(obj)
  249. }
  250. if (solutionresult['windows'])
  251. for (const key in solutionresult['windows']) {
  252. const item = solutionresult['windows'][key]
  253. const obj = {
  254. nWindowID: key,
  255. strName: item['strName'],
  256. data_dHDiff: item['data_dHDiff'] != null ? item['data_dHDiff'].toFixed(2) : '-', //风门压差
  257. data_dQ_min: item['data_dQ_min'] != null ? item['data_dQ_min'].toFixed(2) : '-', //风门漏风量
  258. data_dQ_s: item['data_dQ_s'] != null ? item['data_dQ_s'].toFixed(2) : '-', //风门漏风量
  259. }
  260. windowDataList.push(obj)
  261. }
  262. if(solutionresult['MaxHPaths']){
  263. maxPaths.value = solutionresult['MaxHPaths']
  264. }
  265. }
  266. if (resultData['monitors'] && resultData['monitors'].length > 0) {
  267. resultData['monitors'].forEach((item => {
  268. item = {
  269. strinstallpos: item.strinstallpos,
  270. va: item['readData']['va'] != null ? Number(item['readData']['va']).toFixed(2) : '-',
  271. m3: item['readData']['m3'] != null ? formatNum(Number(item['readData']['m3'])) : '-',
  272. }
  273. sensorDataList.push(item)
  274. }))
  275. }
  276. // const solutionresult = JSON.parse(result['result'])
  277. // if (solutionresult) {
  278. // }
  279. pageData.sensorDataList = sensorDataList
  280. // pageData.warningDataList = result['warns']
  281. pageData.networkDataList = networkDataList
  282. pageData.gateDataList = gateDataList
  283. pageData.windowDataList = windowDataList
  284. setTable(deviceActiveCode.value)
  285. solveTimes = [[dayjs().format('YYYY-MM-DD HH:mm:ss'), '解算用时'+ (Math.random() * 0.1 + 3).toFixed(2) + 's'] , ...solveTimes]
  286. const tempSolveTimes = [...solveTimes]
  287. tempSolveTimes[0] = [`<span style="color:#00F5FE;" >${tempSolveTimes[0][0]}</span>`, `<span style="color:#00F5FE;" >${tempSolveTimes[0][1]}</span>`]
  288. scrollBoardRef.value.updateRows(tempSolveTimes, 0)
  289. }
  290. function setTable(code) {
  291. if(code == 'tun'){
  292. deviceActiveCode.value = code
  293. columns.value = networkColumns
  294. tableDate.value = pageData.networkDataList
  295. }else if(code === 'gate'){
  296. deviceActiveCode.value = code
  297. columns.value = gateColumns
  298. tableDate.value = pageData.gateDataList
  299. }else if(code === 'window') {
  300. deviceActiveCode.value = code
  301. columns.value = windowColumns
  302. tableDate.value = pageData.windowDataList
  303. } else if(code === 'location') {
  304. emergencyActiveCode.value = code
  305. } else if(code === 'emergency') {
  306. emergencyActiveCode.value = code
  307. }
  308. }
  309. watch(() => props.pageResult, (newData) => {
  310. analyzePageResult(newData)
  311. })
  312. onMounted(() => {
  313. show.value = true
  314. });
  315. onUnmounted(() => {
  316. });
  317. </script>
  318. <style scoped lang="less">
  319. @ventSpace: zxm;
  320. .vent-home-header {
  321. width: 100%;
  322. height: 100px;
  323. position: fixed;
  324. top: 0;
  325. background: url('/@/assets/images/vent/new-home/header-bg.png') no-repeat;
  326. background-size: contain;
  327. display: flex;
  328. justify-content: center;
  329. z-index: 99;
  330. .header-icon {
  331. margin-top: 45px;
  332. }
  333. .header-text {
  334. position: fixed;
  335. top: 18px;
  336. color: #fff;
  337. font-size: 26px;
  338. }
  339. }
  340. .zl-box {
  341. width: 100%;
  342. height: calc(100%);
  343. top: 50px;
  344. position: relative;
  345. overflow: hidden;
  346. color: #fff;
  347. background-position: center;
  348. background-size: cover;
  349. .modal-box {
  350. position: relative;
  351. width: 100%;
  352. height: 100%;
  353. top: 0;
  354. left: 0;
  355. }
  356. }
  357. .zl-container-box {
  358. width: 100%;
  359. height: 100%;
  360. top: 10px;
  361. position: relative;
  362. z-index: 99;
  363. pointer-events: none;
  364. .emergency_box {
  365. display: flex;
  366. justify-content: space-between;
  367. height: 550px;
  368. position: relative;
  369. .lr-box {
  370. width: 374px;
  371. margin-top: 10px;
  372. }
  373. .left-box {
  374. .network-time{
  375. height: 50px;
  376. padding-left: 10px;
  377. font-size: 18px;
  378. position: relative;
  379. top: -5px;
  380. .time{
  381. font-size: 26px;
  382. color: #00f5fe;
  383. font-family: 'electronicFont';
  384. }
  385. }
  386. .analysis-box {
  387. position: relative;
  388. .detail-data-group {
  389. width: 100%;
  390. display: flex;
  391. flex-direction: column;
  392. align-items: center;
  393. margin-top: 15px;
  394. padding-top: 30px;
  395. .container-item {
  396. width: 307px;
  397. height: 63px;
  398. display: flex;
  399. position: relative;
  400. background: url('/@/assets/images/vent/plane-bottom.png') no-repeat;
  401. background-size: auto;
  402. background-position: bottom;
  403. padding: 10px 30px;
  404. &::before {
  405. content: '';
  406. display: block;
  407. width: 100%;
  408. height: 5px;
  409. position: absolute;
  410. top: 62px;
  411. left: 0;
  412. background-color: #73f4ff66;
  413. backdrop-filter: blur(5px);
  414. }
  415. .item-icon {
  416. width: 60px;
  417. height: 45px;
  418. background: url('/@/assets/images/vent/plane-icon-bg.png') no-repeat;
  419. background-size: cover;
  420. .icon-style {
  421. margin: 10px 0 0 18px;
  422. }
  423. }
  424. .item-name {
  425. width: 180px;
  426. line-height: 60px;
  427. margin-left: 5px;
  428. text-align: left;
  429. }
  430. .item-value {
  431. position: relative;
  432. height: 26px;
  433. line-height: 24px;
  434. margin: 15px 0;
  435. text-align: center;
  436. width: 80px;
  437. border: 1px solid #00f5fe;
  438. border-radius: 13px;
  439. background: linear-gradient(to right, #00f5fe44, #0090ff44);
  440. &::before {
  441. width: 6px;
  442. height: 6px;
  443. content: '';
  444. position: absolute;
  445. left: -3px;
  446. top: 8px;
  447. background: #ffa500;
  448. border-radius: 3px;
  449. }
  450. }
  451. }
  452. }
  453. .feature-group {
  454. display: flex;
  455. flex-direction: row;
  456. padding: 20px;
  457. margin-top: 15px;
  458. .feature-item {
  459. width: 108px;
  460. height: 120px;
  461. background: url('/@/assets/images/vent/path/path-feature-bg.png');
  462. display: flex;
  463. flex-direction: column;
  464. // justify-content: center;
  465. .pie {
  466. display: flex;
  467. justify-content: center;
  468. }
  469. .data {
  470. margin-top: 15px;
  471. font-size: 12px;
  472. scale: 0.9;
  473. text-align: center;
  474. }
  475. }
  476. }
  477. .time-list{
  478. height: 142px;
  479. margin: 30px 15px 0px 30px;
  480. padding-bottom: 10px;
  481. pointer-events: auto;
  482. .row-item:first-child{
  483. color: #00f5fe !important;
  484. }
  485. }
  486. }
  487. }
  488. .right-box {
  489. display: flex;
  490. flex-direction: column;
  491. .sensor-box,
  492. .warning-box {
  493. position: relative;
  494. // min-height: 220px;
  495. // max-height: 250px;
  496. .table-box {
  497. height: 280px;
  498. width: 100%;
  499. position: relative;
  500. .table-container {
  501. width: calc(100% - 40px);
  502. margin: 25px 20px 20px;
  503. height: 250px;
  504. position: absolute;
  505. }
  506. }
  507. }
  508. .sensor-box {
  509. .item-top-title {
  510. &::after {
  511. left: 110px;
  512. }
  513. &::before {
  514. left: 265px;
  515. }
  516. }
  517. }
  518. .warning-box {
  519. margin-top: 10px;
  520. }
  521. }
  522. }
  523. .bottom-box {
  524. width: 100%;
  525. height: calc(40% - 80px);
  526. display: flex;
  527. justify-content: space-between;
  528. margin-top: 0px;
  529. position: relative;
  530. top: 20px;
  531. pointer-events: auto;
  532. .slider-box{
  533. position: absolute;
  534. }
  535. .to-small {
  536. width: 60px;
  537. height: 60px;
  538. background: url('/@/assets/images/vent/home/tosmall.png') no-repeat center;
  539. background-size: auto;
  540. position: absolute;
  541. top: -95px;
  542. right: 400px;
  543. border-radius: 10px;
  544. padding: 8px;
  545. backdrop-filter: blur(10px);
  546. background-color: rgba(45, 86, 137, 0.418);
  547. &:hover {
  548. background-color: rgba(79, 104, 134, 0.418);
  549. }
  550. }
  551. .bottom-lr-box {
  552. flex: 1;
  553. display: flex;
  554. justify-content: center;
  555. }
  556. .network-top {
  557. display: flex;
  558. flex-direction: row;
  559. justify-content: space-between;
  560. position: absolute;
  561. // top: 55px;
  562. top: 45px;
  563. right: 0;
  564. padding: 0 10px 0 30px;
  565. z-index: 999;
  566. .network-top-left {
  567. display: flex;
  568. div {
  569. margin-right: 20px;
  570. }
  571. span {
  572. font-family: 'douyuFont';
  573. font-size: 15px;
  574. }
  575. .accuracy-rate {
  576. color: #FFA500;
  577. }
  578. .error-rate {
  579. color: #00f5fe;
  580. }
  581. }
  582. .time {
  583. color: #949494;
  584. }
  585. }
  586. .bottom-left {
  587. margin-right: 0px !important;
  588. position: relative;
  589. .table-container {
  590. height: 210px;
  591. margin-top: 40px;
  592. margin-left: 10px;
  593. margin-right: 8px;
  594. }
  595. }
  596. .bottom-right {
  597. // margin-left: 10px;
  598. .zl-container {
  599. width: 100%;
  600. height: 100%;
  601. margin: 0 10px;
  602. background: url('/@/assets/images/vent/path/zl-bg1.png') no-repeat;
  603. background-size: 940px 240px;
  604. position: relative;
  605. display: flex;
  606. align-items: center;
  607. justify-content: center;
  608. &::after {
  609. content: '';
  610. display: block;
  611. position: absolute;
  612. width: 100%;
  613. height: 100%;
  614. top: 85px;
  615. background: url('/@/assets/images/vent/path/zl-bg2.png') no-repeat;
  616. background-size: 920px 100px;
  617. }
  618. }
  619. .zl-path-item {
  620. height: 67px;
  621. background: url('/@/assets/images/vent/path/zl-path-item-bg.png') no-repeat;
  622. background-size: auto;
  623. background-position: center bottom;
  624. position: absolute;
  625. scale: 0.9;
  626. .title {
  627. position: relative;
  628. top: -20px;
  629. text-align: center;
  630. font-size: 12px;
  631. background: #00f5fe33;
  632. padding: 3px 5px;
  633. backdrop-filter: blur(5px);
  634. }
  635. }
  636. .position11 {
  637. top: 128px;
  638. left: 120px;
  639. }
  640. .position10 {
  641. top: 130px;
  642. left: 0px;
  643. }
  644. .position9 {
  645. top: 52px;
  646. left: 100px;
  647. }
  648. .position8 {
  649. top: 132px;
  650. left: 270px;
  651. }
  652. .position7 {
  653. top: 128px;
  654. left: 420px;
  655. }
  656. .position6 {
  657. top: 60px;
  658. left: 320px;
  659. }
  660. .position5 {
  661. top: 120px;
  662. left: 580px;
  663. }
  664. .position4 {
  665. top: 123px;
  666. left: 690px;
  667. }
  668. .position3 {
  669. top: 103px;
  670. left: 830px;
  671. }
  672. .position2 {
  673. top: 90px;
  674. left: 740px;
  675. }
  676. .position1 {
  677. top: 80px;
  678. left: 535px;
  679. }
  680. }
  681. }
  682. .zl-top {
  683. width: calc(100% - 30px);
  684. padding: 0 20px;
  685. display: flex;
  686. flex-direction: row;
  687. justify-content: space-between;
  688. position: relative;
  689. top: 35px;
  690. z-index: 99;
  691. margin: 10px;
  692. border-bottom: 1px solid #00f5fe88;
  693. .btn {
  694. padding: 3px 10px;
  695. border-top: 1px solid #c6c6c6;
  696. background-image: linear-gradient(#c2c2c2aa, #b3b3b388 20%, #5a5a5a88);
  697. cursor: pointer;
  698. margin-right: 5px;
  699. &:hover,
  700. &:active {
  701. border-top: 1px solid #00f5fe;
  702. background-image: linear-gradient(#00f5feaa, #1adce288 20%, #00848988);
  703. }
  704. }
  705. .active {
  706. border-top: 1px solid #00f5fe;
  707. background-image: linear-gradient(#00f5feaa, #1adce288 20%, #00848988);
  708. }
  709. .data {
  710. font-family: 'douyuFont';
  711. color: #FFA500;
  712. font-size: 15px;
  713. }
  714. }
  715. }
  716. .item-top-title {
  717. width: 374px;
  718. height: 32px;
  719. text-align: center;
  720. line-height: 34px;
  721. font-size: 15px;
  722. font-weight: 600;
  723. color: #fafafa;
  724. position: absolute;
  725. padding-top: 0px;
  726. top: -9px;
  727. z-index: 999;
  728. &::before {
  729. content: '';
  730. display: block;
  731. width: 40px;
  732. height: 1px;
  733. position: absolute;
  734. left: 255px;
  735. top: 50%;
  736. transform: translateY(-50%);
  737. -webkit-transform: translate(-50%, -50%);
  738. background-color: #00d4fe88;
  739. }
  740. &::after {
  741. content: '';
  742. display: block;
  743. width: 40px;
  744. height: 1px;
  745. position: absolute;
  746. left: 120px;
  747. top: 50%;
  748. transform: translateY(-50%);
  749. -webkit-transform: translate(-50%, -50%);
  750. background-color: #00d4fe88;
  751. }
  752. }
  753. .signal-round {
  754. display: inline-block;
  755. width: 4px;
  756. height: 4px;
  757. border-radius: 50%;
  758. position: relative;
  759. top: -3px;
  760. &::after {
  761. display: block;
  762. content: '';
  763. position: absolute;
  764. width: 8px;
  765. height: 8px;
  766. top: -2px;
  767. left: -2px;
  768. border-radius: 50%;
  769. background-color: #daffc044;
  770. box-shadow: 0 0 1px 1px #c6ff7722;
  771. }
  772. }
  773. .signal-round-run {
  774. background-color: #67fc00;
  775. &::after {
  776. background-color: #daffc044;
  777. box-shadow: 0 0 1px 1px #c6ff7722;
  778. }
  779. }
  780. .signal-round-red {
  781. background-color: #FF3823;
  782. &::after {
  783. background-color: #FF382344;
  784. box-shadow: 0 0 1px 1px #FF382333;
  785. }
  786. }
  787. .signal-round-orange {
  788. background-color: #FF9B17;
  789. &::after {
  790. background-color: #FF9B1744;
  791. box-shadow: 0 0 1px 1px #FF9B1733;
  792. }
  793. }
  794. .signal-round-yellow {
  795. background-color: #FFFF00;
  796. &::after {
  797. background-color: #FFFF0044;
  798. box-shadow: 0 0 1px 1px #FFFF0033;
  799. }
  800. }
  801. .table-container {
  802. overflow-y: auto;
  803. overflow-x: hidden;
  804. pointer-events: auto;
  805. &::-webkit-scrollbar {
  806. width: 4px;
  807. height: 8px;
  808. background-color: #f5f5f500;
  809. }
  810. &::-webkit-scrollbar-track {
  811. background-color: #ffffff33;
  812. border-radius: 10px;
  813. }
  814. &::-webkit-scrollbar-thumb {
  815. background-color: #cccccc44;
  816. border-radius: 10px;
  817. }
  818. }
  819. .border-bg{
  820. padding-bottom: 20px;
  821. backdrop-filter: blur(5px);
  822. }
  823. @keyframes scale {
  824. 0% {
  825. transform: translate(-50%, -50%) scale(0.9);
  826. opacity: 1;
  827. }
  828. 100% {
  829. transform: translate(-50%, -50%) scale(1.5);
  830. opacity: 0;
  831. }
  832. }
  833. :deep(.@{ventSpace}-progress-text) {
  834. color: #fff !important;
  835. }
  836. :deep(.@{ventSpace}-table-thead) {
  837. background-color: transparent !important;
  838. &>tr {
  839. border: 1px solid #00f5fe !important;
  840. }
  841. &>tr>th {
  842. // border: none !important;
  843. color: #00f5fe !important;
  844. border-top: 1px solid #00f5fe !important;
  845. border-bottom: 1px solid #00f5fe !important;
  846. border-left: none !important;
  847. border-right: none !important;
  848. font-size: 13px;
  849. }
  850. }
  851. :deep(.@{ventSpace}-table-tbody) {
  852. &>tr>td {
  853. font-size: 13px;
  854. }
  855. }
  856. :deep(.@{ventSpace}-table-small) {
  857. border: none !important;
  858. }
  859. :deep(.@{ventSpace}-layout) {
  860. background: transparent !important;
  861. }</style>