mainWell.vue 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195
  1. <template>
  2. <div class="mainWell">
  3. <!-- 光钎测温 -->
  4. <div class="work-nav" v-if="listData.bundletube.length == 0 && strType != 'sys_coalseam'">
  5. <div class="nav" v-for="(item, index) in topOutList" :key="index">
  6. <div class="pic" v-if="item.imgSrc">
  7. <img :src="imgUrl" alt="" />
  8. </div>
  9. <div class="content" v-if="item.label && item.value">
  10. <span>{{ item.label }}</span>
  11. <span>{{ item.value }}</span>
  12. </div>
  13. <div class="text" v-if="item.text">{{ item.text }}</div>
  14. </div>
  15. </div>
  16. <!-- 束管监测 -->
  17. <div class="work-nav" v-if="listData.bundletube.length != 0 && strType != 'sys_coalseam'">
  18. <div class="content-box">
  19. <div class="contents">
  20. <img src="/@/assets/images/fire/pie.png" alt="" />
  21. <span class="text">{{ topContent.temperature }}</span>
  22. <span class="dw">°C</span>
  23. </div>
  24. <!-- <div class="contents">
  25. <div class="text">
  26. <span class="text-label">位置 : </span>
  27. <span class="text-value">{{ topContent.position }}</span>
  28. </div>
  29. <div class="text">
  30. <span class="text-label">时间 : </span>
  31. <span class="text-value">{{ topContent.time }}</span>
  32. </div>
  33. </div> -->
  34. </div>
  35. <div class="content-box">
  36. <div class="text1">{{ topContent.warn }}</div>
  37. </div>
  38. </div>
  39. <div class="center-box" v-if="strType != 'sys_coalseam'">
  40. <div class="content-box" v-for="(items, index) in tabList" :key="index">
  41. <div class="title">
  42. <span class="title-label">{{ items.label }}</span>
  43. <span class="details">{{ `${items.details}>>` }}</span>
  44. </div>
  45. <div class="content">
  46. <a-table
  47. v-if="index == 0"
  48. ref="table"
  49. size="small"
  50. :scroll="{ x: 0, y: 273 }"
  51. :columns="columnsSmoke"
  52. :data-source="monitorlistYw"
  53. :pagination="false"
  54. >
  55. <template #bodyCell="{ column, text }">
  56. <template v-if="column.dataIndex === 'warnLevel_str'">
  57. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  58. </template>
  59. </template>
  60. <span slot="action" slot-scope="text, record"></span>
  61. </a-table>
  62. <a-table
  63. v-if="index == 1"
  64. ref="table1"
  65. size="small"
  66. :columns="columns"
  67. :data-source="monitorlistHy"
  68. :pagination="false"
  69. :scroll="{ y: 273 }"
  70. >
  71. <template #bodyCell="{ column, text }">
  72. <template v-if="column.dataIndex === 'warnLevel_str'">
  73. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  74. </template>
  75. </template>
  76. <span slot="action" slot-scope="text, record"> </span>
  77. </a-table>
  78. <a-table
  79. v-if="index == 2"
  80. ref="table"
  81. size="small"
  82. :scroll="{ y: 273 }"
  83. :columns="columns"
  84. :data-source="monitorlistPl"
  85. :pagination="false"
  86. >
  87. <template #bodyCell="{ column, text }">
  88. <template v-if="column.dataIndex === 'warnLevel_str'">
  89. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  90. </template>
  91. </template>
  92. <span slot="action" slot-scope="text, record"> </span>
  93. </a-table>
  94. </div>
  95. </div>
  96. </div>
  97. <div :class="listData.fiber.length != 0 ? 'center-box1' : 'center-box2'" v-if="strType == 'sys_coalseam'">
  98. <div v-for="(items, index) in tabLists" :class="index != 2 && index != 3 ? 'content-box' : 'content-boxs'" :key="index">
  99. <div class="title">
  100. <span class="title-label">{{ items.label }}</span>
  101. <span class="details">{{ `${items.details}>>` }}</span>
  102. </div>
  103. <div class="content">
  104. <a-table
  105. v-if="index == 0"
  106. ref="table"
  107. size="small"
  108. :scroll="{ y: listData.fiber.length != 0 ? 290 : 450 }"
  109. :columns="columnsSmoke"
  110. :data-source="monitorlistYw"
  111. :pagination="false"
  112. >
  113. <template #bodyCell="{ column, text }">
  114. <template v-if="column.dataIndex === 'warnLevel_str'">
  115. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  116. </template>
  117. </template>
  118. <span slot="action" slot-scope="text, record"></span>
  119. </a-table>
  120. <a-table
  121. v-if="index == 1"
  122. ref="table"
  123. size="small"
  124. :scroll="{ y: listData.fiber.length != 0 ? 290 : 450 }"
  125. :columns="columnsSmoke"
  126. :data-source="monitorlistWd"
  127. :pagination="false"
  128. >
  129. <template #bodyCell="{ column, text }">
  130. <template v-if="column.dataIndex === 'warnLevel_str'">
  131. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  132. </template>
  133. </template>
  134. <span slot="action" slot-scope="text, record"> </span>
  135. </a-table>
  136. <a-table
  137. v-if="index == 2"
  138. ref="table"
  139. size="small"
  140. :scroll="{ y: listData.fiber.length != 0 ? 60 : 120 }"
  141. :columns="columns"
  142. :data-source="monitorlistPl"
  143. :pagination="false"
  144. >
  145. <template #bodyCell="{ column, text }">
  146. <template v-if="column.dataIndex === 'warnLevel_str'">
  147. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  148. </template>
  149. </template>
  150. <span slot="action" slot-scope="text, record"> </span>
  151. </a-table>
  152. <a-table
  153. v-if="index == 3"
  154. ref="table1"
  155. size="small"
  156. :columns="columns"
  157. :data-source="monitorlistHy"
  158. :pagination="false"
  159. :scroll="{ y: listData.fiber.length != 0 ? 60 : 120 }"
  160. >
  161. <template #bodyCell="{ column, text }">
  162. <template v-if="column.dataIndex === 'warnLevel_str'">
  163. <div :style="{ color: text == '报警' ? '#ff0000' : '#91e609' }">{{ text }}</div>
  164. </template>
  165. </template>
  166. <span slot="action" slot-scope="text, record"> </span>
  167. </a-table>
  168. </div>
  169. </div>
  170. </div>
  171. <div :class="strType == 'sys_coalseam' ? 'footer-box1' : 'footer-box'" v-if="listData.bundletube.length == 0 && strType != 'sys_coalseam'">
  172. <div class="footer-title">
  173. <div class="echart-label">光纤测温系统实时温度监测</div>
  174. </div>
  175. <div class="echart-content">
  176. <echartLine2 :echartDataWd="echartDataWd" />
  177. </div>
  178. </div>
  179. <div :class="strType == 'sys_coalseam' ? 'footer-box1' : 'footer-box'" v-if="strType == 'sys_coalseam' && listData.fiber.length != 0">
  180. <div class="footer-title">
  181. <div class="echart-label">光纤测温系统实时温度监测</div>
  182. </div>
  183. <div class="echart-content">
  184. <echartLine2 :echartDataWd="echartDataWd" />
  185. </div>
  186. </div>
  187. <!-- 束管监测 -->
  188. <div class="content-s" v-if="listData.bundletube.length != 0 && strType != 'sys_coalseam'">
  189. <div class="title-b">采空区密闭参数</div>
  190. <div class="card-btn">
  191. <div
  192. :class="activeIndex == index ? 'content-box1' : 'content-box'"
  193. v-for="(item, index) in mbList"
  194. :key="index"
  195. @click="btnClick(item, index)"
  196. >
  197. <div class="btn-label">
  198. <span>{{ item.label }}</span>
  199. <span>{{ item.dw }}</span>
  200. </div>
  201. <div class="box-item box-item1">
  202. <span class="text-t">{{ `${item.label1}:` }}</span>
  203. <span class="text-v">{{ item.nd }}</span>
  204. </div>
  205. <div class="box-item box-item2">
  206. <span class="text-t">{{ `${item.label2}:` }}</span>
  207. <span class="text-v">{{ item.time1 }}</span>
  208. </div>
  209. <div class="box-item box-item3">
  210. <span class="text-t">{{ `${item.label3}:` }}</span>
  211. <span class="text-v">{{ item.address }}</span>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="echart-box">
  216. <div class="title-f">
  217. <div class="title-text">{{ `${type}趋势` }}</div>
  218. </div>
  219. <div class="echarts-box">
  220. <echartLine1 :echartDataSg="echartDataSg1" :lengedDataName="echartDataSg1.lengedDataName" />
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. </template>
  226. <script lang="ts" setup>
  227. import { ref, computed, reactive, watch, defineProps } from 'vue';
  228. import { topOutList, tabList, tabLists, columns, columnsSmoke } from '../common.data';
  229. import imgUrl from '/@/assets/images/fire/pie.png';
  230. import echartLine2 from './echartLine2.vue';
  231. import echartLine1 from './echartLine1.vue';
  232. let props = defineProps({
  233. listData: Object,
  234. strType: String,
  235. });
  236. //束管监测-顶部区域数据
  237. let topContent = reactive({
  238. temperature: '0',
  239. position: '',
  240. time: '',
  241. warn: '',
  242. });
  243. //束管监测当前密闭参数激活选项
  244. let activeIndex = ref(0);
  245. //束管监测当前激活密闭参数类型
  246. let type = ref('O₂');
  247. //束管监测密闭参数列表
  248. let mbList = reactive([
  249. {
  250. label: 'O₂',
  251. dw: '(%)',
  252. label1: '浓度',
  253. label2: '时间',
  254. label3: '位置',
  255. nd: 0,
  256. time1: '',
  257. address: '',
  258. },
  259. {
  260. label: 'CO',
  261. dw: '(ppm)',
  262. label1: '浓度',
  263. label2: '时间',
  264. label3: '位置',
  265. nd: 0,
  266. time1: '',
  267. address: '',
  268. },
  269. {
  270. label: 'CO₂',
  271. dw: '(%)',
  272. label1: '浓度',
  273. label2: '时间',
  274. label3: '位置',
  275. nd: 0,
  276. time1: '',
  277. address: '',
  278. },
  279. {
  280. label: 'CH₄',
  281. dw: '(%)',
  282. label1: '浓度',
  283. label2: '时间',
  284. label3: '位置',
  285. nd: 0,
  286. time1: '',
  287. address: '',
  288. },
  289. {
  290. label: 'C₂H₂',
  291. dw: '(ppm)',
  292. label1: '浓度',
  293. label2: '时间',
  294. label3: '位置',
  295. nd: 0,
  296. time1: '',
  297. address: '',
  298. },
  299. {
  300. label: 'C₂H₄',
  301. dw: '(ppm)',
  302. label1: '浓度',
  303. label2: '时间',
  304. label3: '位置',
  305. nd: 0,
  306. time1: '',
  307. address: '',
  308. },
  309. ]);
  310. let echartDataSg1 = reactive({
  311. xData: [],
  312. yData: [],
  313. lengedData: 'O₂',
  314. lengedDataName: '(%)',
  315. });
  316. let echartDataSgList = reactive<any[]>([]);
  317. //外因火灾温度监测-图表数据
  318. let echartDataWd = reactive({
  319. xData: [],
  320. curData: {
  321. lengedData: '实时温度',
  322. data: [],
  323. },
  324. maxData: {
  325. lengedData: '最大温度',
  326. data: [],
  327. },
  328. minData: {
  329. lengedData: '最小温度',
  330. data: [],
  331. },
  332. avgData: {
  333. lengedData: '平均温度',
  334. data: [],
  335. },
  336. });
  337. //烟雾传感器列表数据
  338. let monitorlistYw = reactive([]);
  339. //火焰传感器列表数据
  340. let monitorlistHy = reactive([]);
  341. //喷淋装置列表数据
  342. let monitorlistPl = reactive([]);
  343. //温度传感器列表数据
  344. let monitorlistWd = reactive([]);
  345. //束管监测密闭参数选项切换
  346. function btnClick(item, ind) {
  347. activeIndex.value = ind;
  348. type.value = item.label;
  349. echartDataSg1.xData.length = 0;
  350. echartDataSg1.yData.length = 0;
  351. echartDataSg1.lengedData = type.value;
  352. echartDataSg1.lengedDataName = item.dw;
  353. switch (type.value) {
  354. case 'O₂':
  355. echartDataSgList.forEach((el) => {
  356. echartDataSg1.xData.push(el.time);
  357. echartDataSg1.yData.push(el.o2val);
  358. });
  359. break;
  360. case 'C₂H₄':
  361. echartDataSgList.forEach((el) => {
  362. echartDataSg1.xData.push(el.time);
  363. echartDataSg1.yData.push(el.ch2val);
  364. });
  365. break;
  366. case 'CO':
  367. echartDataSgList.forEach((el) => {
  368. echartDataSg1.xData.push(el.time);
  369. echartDataSg1.yData.push(el.coval);
  370. });
  371. break;
  372. case 'CH₄':
  373. echartDataSgList.forEach((el) => {
  374. echartDataSg1.xData.push(el.time);
  375. echartDataSg1.yData.push(el.chval);
  376. });
  377. break;
  378. case 'CO₂':
  379. echartDataSgList.forEach((el) => {
  380. echartDataSg1.xData.push(el.time);
  381. echartDataSg1.yData.push(el.co2val);
  382. });
  383. break;
  384. case 'C₂H₂':
  385. echartDataSgList.forEach((el) => {
  386. echartDataSg1.xData.push(el.time);
  387. echartDataSg1.yData.push(el.gasval);
  388. });
  389. break;
  390. }
  391. }
  392. watch(
  393. () => props.listData,
  394. (val) => {
  395. console.log(val, 'val---------------');
  396. props.listData = val;
  397. if (JSON.stringify(val) === '{}') return;
  398. echartDataSg1.xData.length = 0;
  399. echartDataSg1.yData.length = 0;
  400. echartDataSgList.length = 0;
  401. echartDataWd.xData.length = 0;
  402. echartDataWd.avgData.data.length = 0;
  403. echartDataWd.maxData.data.length = 0;
  404. echartDataWd.minData.data.length = 0;
  405. echartDataWd.curData.data.length = 0;
  406. monitorlistYw.length = 0;
  407. monitorlistHy.length = 0;
  408. monitorlistPl.length = 0;
  409. monitorlistWd.length = 0;
  410. if (val.fiber.length != 0) {
  411. const fiber: any = val.fiber[0];
  412. topOutList[0].value = fiber.readData.fmax;
  413. topOutList[1].value = fiber.readData.fmin;
  414. topOutList[2].value = fiber.readData.favg;
  415. topOutList[3].text = fiber.warnFlag ? '存在风险' : '正常';
  416. const arr: any[] = JSON.parse(fiber.readData.fibreTemperature);
  417. arr.forEach((el) => {
  418. echartDataWd.xData.push(el.pos);
  419. echartDataWd.curData.data.push(el.value);
  420. echartDataWd.maxData.data.push(fiber.avgParams?.max_temperature_value || 0);
  421. echartDataWd.minData.data.push(fiber.avgParams?.min_temperature_value || 0);
  422. echartDataWd.avgData.data.push(fiber.avgParams?.avg_temperature_value || 0);
  423. });
  424. } else {
  425. topOutList[0].value = '--';
  426. topOutList[1].value = '--';
  427. topOutList[2].value = '--';
  428. topOutList[3].text = '正常';
  429. }
  430. if (val.bundletube.length != 0) {
  431. topContent.temperature = val.temperature[0] ? val.temperature[0].readData.temperature : '--';
  432. topContent.position = val.bundletube[0].strinstallpos || '--';
  433. topContent.time = val.bundletube[0].readTime || '--';
  434. topContent.warn =
  435. val.bundletube[0].warnLevel == 0
  436. ? '正常'
  437. : val.bundletube[0].warnLevel == 101
  438. ? '较低风险'
  439. : val.bundletube[0].warnLevel == 102
  440. ? '低风险'
  441. : val.bundletube[0].warnLevel == 103
  442. ? '中风险'
  443. : val.bundletube[0].warnLevel == 104
  444. ? '高风险'
  445. : val.bundletube[0].warnLevel == 201
  446. ? '报警'
  447. : '正常';
  448. val.bundletube[0].history.forEach((v) => {
  449. echartDataSg1.xData.push(v.time);
  450. if (echartDataSg1.lengedData == 'O₂') {
  451. echartDataSg1.yData.push(v.o2val);
  452. } else if (echartDataSg1.lengedData == 'C₂H₄') {
  453. echartDataSg1.yData.push(v.ch2val);
  454. } else if (echartDataSg1.lengedData == 'CO') {
  455. echartDataSg1.yData.push(v.coval);
  456. } else if (echartDataSg1.lengedData == 'CH₄') {
  457. echartDataSg1.yData.push(v.chval);
  458. } else if (echartDataSg1.lengedData == 'CO₂') {
  459. echartDataSg1.yData.push(v.co2val);
  460. } else if (echartDataSg1.lengedData == 'C₂H₂') {
  461. echartDataSg1.yData.push(v.gasval);
  462. }
  463. echartDataSgList.push(v);
  464. });
  465. } else {
  466. topContent.temperature = '--';
  467. topContent.position = '--';
  468. topContent.time = '--';
  469. topContent.warn = '正常';
  470. }
  471. if (val.smoke.length != 0) {
  472. val.smoke.forEach((el) => {
  473. monitorlistYw.push({
  474. strinstallpos: el.strinstallpos,
  475. val: el.readData.smokeval,
  476. warnLevel_str: el.warnLevel_str,
  477. readTime: el.readTime,
  478. });
  479. });
  480. }
  481. if (val.co.length != 0) {
  482. val.co.forEach((el) => {
  483. monitorlistHy.push(el);
  484. });
  485. }
  486. if (val.spray.length != 0) {
  487. val.spray.forEach((el) => {
  488. monitorlistPl.push(el);
  489. });
  490. }
  491. if (val.temperature.length != 0) {
  492. val.temperature.forEach((el) => {
  493. monitorlistWd.push({
  494. strinstallpos: el.strinstallpos,
  495. val: el.readData.fireval,
  496. warnLevel_str: el.warnLevel_str,
  497. readTime: el.readTime,
  498. });
  499. });
  500. }
  501. },
  502. { immediate: true, deep: true }
  503. );
  504. </script>
  505. <style lang="less" scoped>
  506. @import '/@/design/theme.less';
  507. @{theme-deepblue} {
  508. .mainWell {
  509. --image-bj1: url('/@/assets/images/themify/deepblue/fire/bj1.png');
  510. --image-max: url('/@/assets/images/themify/deepblue/fire/max.svg');
  511. --image-min: url('/@/assets/images/themify/deepblue/fire/min.svg');
  512. --image-pj: url('/@/assets/images/themify/deepblue/fire/pj.svg');
  513. --image-1: url('/@/assets/images/themify/deepblue/fire/1.png');
  514. --image-contetn: url('/@/assets/images/themify/deepblue/fire/contetn.png');
  515. --image-2: url('/@/assets/images/themify/deepblue/fire/2.png');
  516. }
  517. }
  518. .mainWell {
  519. --image-bj1: url('/@/assets/images/fire/bj1.png');
  520. --image-max: url('/@/assets/images/fire/max.svg');
  521. --image-min: url('/@/assets/images/fire/min.svg');
  522. --image-pj: url('/@/assets/images/fire/pj.svg');
  523. --image-1: url('/@/assets/images/fire/1.png');
  524. --image-contetn: url('/@/assets/images/fire/contetn.png');
  525. --image-2: url('/@/assets/images/fire/2.png');
  526. --border-image-2: linear-gradient(to bottom, transparent, #024688, transparent);
  527. width: 100%;
  528. height: 100%;
  529. padding: 20px;
  530. box-sizing: border-box;
  531. overflow-y: auto;
  532. .work-nav {
  533. height: 15%;
  534. width: 100%;
  535. margin-bottom: 20px;
  536. background: var(--image-bj1) no-repeat center;
  537. background-size: 100% 100%;
  538. display: flex;
  539. justify-content: space-between;
  540. align-items: center;
  541. .nav {
  542. display: flex;
  543. justify-content: center;
  544. align-items: center;
  545. &:nth-child(1) {
  546. flex: 1;
  547. height: 100%;
  548. border-right: 2px solid;
  549. border-image: var(--border-image-2) 1 1 1;
  550. }
  551. &:nth-child(2) {
  552. flex: 1;
  553. height: 100%;
  554. border-right: 2px solid;
  555. border-image: var(--border-image-2) 1 1 1;
  556. }
  557. &:nth-child(3) {
  558. flex: 1;
  559. height: 100%;
  560. border-right: 2px solid;
  561. border-image: var(--border-image-2) 1 1 1;
  562. }
  563. &:nth-child(4) {
  564. flex: 1.2;
  565. color: #b3b8cc;
  566. font-size: 16px;
  567. height: 100%;
  568. border-right: 2px solid;
  569. border-image: var(--border-image-2) 1 1 1;
  570. }
  571. &:nth-child(5) {
  572. flex: 0.8;
  573. color: #2b87ff;
  574. font-size: 14px;
  575. height: 100%;
  576. }
  577. .pic {
  578. width: 26%;
  579. height: 84%;
  580. img {
  581. width: 100%;
  582. height: 100%;
  583. }
  584. }
  585. .content {
  586. height: 84%;
  587. margin-left: 15px;
  588. color: #fff;
  589. display: flex;
  590. flex-direction: column;
  591. justify-content: space-around;
  592. span {
  593. font-size: 14px;
  594. &:nth-child(1) {
  595. padding: 5px 0px;
  596. color: #b3b8cc;
  597. }
  598. &:nth-child(2) {
  599. font-family: 'douyuFont';
  600. font-size: 16px;
  601. color: var(--vent-table-action-link);
  602. }
  603. }
  604. }
  605. }
  606. .nav:nth-child(1) .pic {
  607. background: var(--image-max) no-repeat center;
  608. background-size: 50% 50%;
  609. }
  610. .nav:nth-child(2) .pic {
  611. background: var(--image-min) no-repeat center;
  612. background-size: 50% 50%;
  613. }
  614. .nav:nth-child(3) .pic {
  615. background: var(--image-pj) no-repeat center;
  616. background-size: 50% 50%;
  617. }
  618. .content-box {
  619. display: flex;
  620. &:nth-child(1) {
  621. justify-content: space-around;
  622. align-items: center;
  623. flex: 2;
  624. height: 100%;
  625. border-right: 2px solid;
  626. border-image: var(--border-image-2) 1 1 1;
  627. }
  628. &:nth-child(2) {
  629. flex: 1;
  630. justify-content: center;
  631. align-items: center;
  632. height: 100%;
  633. }
  634. .contents {
  635. height: 73%;
  636. &:nth-child(1) {
  637. width: 40%;
  638. display: flex;
  639. justify-content: center;
  640. align-items: center;
  641. img {
  642. position: relative;
  643. width: 23%;
  644. height: 100%;
  645. background: var(--image-pj) no-repeat center;
  646. background-size: 50% 50%;
  647. }
  648. .text {
  649. font-family: 'douyuFont';
  650. font-size: 28px;
  651. margin: 0px 15px;
  652. color: var(--vent-table-action-link);
  653. }
  654. .dw {
  655. font-size: 14px;
  656. color: #b3b8cc;
  657. }
  658. }
  659. &:nth-child(2) {
  660. width: 60%;
  661. display: flex;
  662. flex-direction: column;
  663. justify-content: space-around;
  664. .text {
  665. font-size: 18px;
  666. .text-label {
  667. color: #b3b8cc;
  668. font-weight: bold;
  669. }
  670. .text-value {
  671. font-family: 'douyuFont';
  672. color: var(--vent-table-action-link);
  673. margin-left: 10px;
  674. }
  675. }
  676. }
  677. }
  678. .text1 {
  679. font-size: 16px;
  680. color: #b3b8cc;
  681. font-weight: bold;
  682. }
  683. }
  684. }
  685. .center-box {
  686. height: 47%;
  687. margin-bottom: 20px;
  688. display: flex;
  689. justify-content: space-between;
  690. align-items: center;
  691. .content-box {
  692. display: flex;
  693. flex-direction: column;
  694. width: 32%;
  695. height: 100%;
  696. background: var(--image-bj1) no-repeat center;
  697. background-size: 100% 100%;
  698. &:nth-child(2) {
  699. margin: 0px 20px;
  700. }
  701. .title {
  702. width: 100%;
  703. height: 40px;
  704. padding: 0px 15px;
  705. margin-bottom: 10px;
  706. border-bottom: 1px solid var(--vent-warn-tab-bg);
  707. box-sizing: border-box;
  708. display: flex;
  709. justify-content: space-between;
  710. align-items: center;
  711. .title-label {
  712. // font-family: 'douyuFont';
  713. font-size: 14px;
  714. color: #fff;
  715. }
  716. .details {
  717. font-size: 14px;
  718. color: #1f81df;
  719. }
  720. }
  721. .content {
  722. height: calc(100% - 40px);
  723. margin-bottom: 10px;
  724. }
  725. }
  726. }
  727. .center-box1 {
  728. height: 70%;
  729. // margin-bottom: 20px;
  730. display: flex;
  731. justify-content: flex-start;
  732. align-items: flex-start;
  733. flex-wrap: wrap;
  734. .content-box {
  735. display: flex;
  736. flex-direction: column;
  737. width: calc(50% - 10px);
  738. height: calc(70% - 10px);
  739. background: var(--image-bj1) no-repeat center;
  740. background-size: 100% 100%;
  741. &:nth-child(1) {
  742. margin: 0px 20px 20px 0px;
  743. }
  744. &:nth-child(3) {
  745. margin: 0px 20px 0px 0px;
  746. }
  747. .title {
  748. width: 100%;
  749. height: 40px;
  750. padding: 0px 15px;
  751. margin-bottom: 10px;
  752. border-bottom: 1px solid var(--vent-warn-tab-bg);
  753. box-sizing: border-box;
  754. display: flex;
  755. justify-content: space-between;
  756. align-items: center;
  757. .title-label {
  758. font-size: 16px;
  759. color: #fff;
  760. }
  761. .details {
  762. font-size: 14px;
  763. color: #1f81df;
  764. }
  765. }
  766. .content {
  767. height: calc(100% - 40px);
  768. margin-bottom: 10px;
  769. }
  770. }
  771. .content-boxs {
  772. display: flex;
  773. flex-direction: column;
  774. width: calc(50% - 10px);
  775. height: calc(30% - 30px);
  776. background: var(--image-bj1) no-repeat center;
  777. background-size: 100% 100%;
  778. &:nth-child(1) {
  779. margin: 0px 20px 20px 0px;
  780. }
  781. &:nth-child(3) {
  782. margin: 0px 20px 20px 0px;
  783. }
  784. .title {
  785. width: 100%;
  786. height: 40px;
  787. padding: 0px 15px;
  788. margin-bottom: 10px;
  789. border-bottom: 1px solid var(--vent-warn-tab-bg);
  790. box-sizing: border-box;
  791. display: flex;
  792. justify-content: space-between;
  793. align-items: center;
  794. .title-label {
  795. font-size: 16px;
  796. color: #fff;
  797. }
  798. .details {
  799. font-size: 14px;
  800. color: #1f81df;
  801. }
  802. }
  803. .content {
  804. height: calc(100% - 40px);
  805. margin-bottom: 10px;
  806. }
  807. }
  808. }
  809. .center-box2 {
  810. height: 100%;
  811. display: flex;
  812. justify-content: flex-start;
  813. align-items: flex-start;
  814. flex-wrap: wrap;
  815. .content-box {
  816. display: flex;
  817. flex-direction: column;
  818. width: calc(50% - 10px);
  819. height: calc(70% - 10px);
  820. background: var(--image-bj1) no-repeat center;
  821. background-size: 100% 100%;
  822. &:nth-child(1) {
  823. margin: 0px 20px 20px 0px;
  824. }
  825. &:nth-child(3) {
  826. margin: 0px 20px 0px 0px;
  827. }
  828. .title {
  829. width: 100%;
  830. height: 40px;
  831. padding: 0px 15px;
  832. margin-bottom: 10px;
  833. border-bottom: 1px solid var(--vent-warn-tab-bg);
  834. box-sizing: border-box;
  835. display: flex;
  836. justify-content: space-between;
  837. align-items: center;
  838. .title-label {
  839. font-size: 16px;
  840. color: #fff;
  841. }
  842. .details {
  843. font-size: 14px;
  844. color: #1f81df;
  845. }
  846. }
  847. .content {
  848. height: calc(100% - 40px);
  849. margin-bottom: 10px;
  850. }
  851. }
  852. .content-boxs {
  853. display: flex;
  854. flex-direction: column;
  855. width: calc(50% - 10px);
  856. height: calc(30% - 30px);
  857. background: var(--image-bj1) no-repeat center;
  858. background-size: 100% 100%;
  859. &:nth-child(1) {
  860. margin: 0px 20px 20px 0px;
  861. }
  862. &:nth-child(3) {
  863. margin: 0px 20px 20px 0px;
  864. }
  865. .title {
  866. width: 100%;
  867. height: 40px;
  868. padding: 0px 15px;
  869. margin-bottom: 10px;
  870. border-bottom: 1px solid var(--vent-warn-tab-bg);
  871. box-sizing: border-box;
  872. display: flex;
  873. justify-content: space-between;
  874. align-items: center;
  875. .title-label {
  876. font-size: 16px;
  877. color: #fff;
  878. }
  879. .details {
  880. font-size: 14px;
  881. color: #1f81df;
  882. }
  883. }
  884. .content {
  885. height: calc(100% - 40px);
  886. margin-bottom: 10px;
  887. }
  888. }
  889. }
  890. .footer-box {
  891. height: calc(38% - 40px);
  892. padding: 10px;
  893. background: var(--image-bj1) no-repeat center;
  894. background-size: 100% 100%;
  895. box-sizing: border-box;
  896. .footer-title {
  897. height: 30px;
  898. display: flex;
  899. justify-content: space-between;
  900. align-items: center;
  901. .echart-label {
  902. font-family: 'douyuFont';
  903. font-size: 14px;
  904. color: #fff;
  905. }
  906. }
  907. .echart-content {
  908. height: calc(100% - 30px);
  909. }
  910. }
  911. .footer-box1 {
  912. height: calc(30% - 20px);
  913. padding: 10px 15px;
  914. background: var(--image-bj1) no-repeat center;
  915. background-size: 100% 100%;
  916. box-sizing: border-box;
  917. .footer-title {
  918. height: 30px;
  919. display: flex;
  920. justify-content: space-between;
  921. align-items: center;
  922. .echart-label {
  923. font-family: 'douyuFont';
  924. font-size: 16px;
  925. color: #fff;
  926. }
  927. }
  928. .echart-content {
  929. height: calc(100% - 30px);
  930. }
  931. }
  932. .content-s {
  933. width: 100%;
  934. height: 608px;
  935. padding: 10px;
  936. background: var(--image-bj1) no-repeat center;
  937. background-size: 100% 100%;
  938. box-sizing: border-box;
  939. .title-b {
  940. height: 30px;
  941. line-height: 30px;
  942. font-family: 'douyuFont';
  943. font-size: 14px;
  944. color: #fff;
  945. }
  946. .card-btn {
  947. height: 28%;
  948. margin-bottom: 10px;
  949. display: flex;
  950. justify-content: space-between;
  951. .content-box {
  952. position: relative;
  953. width: 16%;
  954. height: 100%;
  955. background: var(--image-1) no-repeat center;
  956. background-size: 100% 100%;
  957. cursor: pointer;
  958. .btn-label {
  959. position: absolute;
  960. left: 50%;
  961. top: 0;
  962. transform: translate(-50%);
  963. font-size: 16px;
  964. color: #fff;
  965. }
  966. .box-item {
  967. position: absolute;
  968. left: 50%;
  969. transform: translate(-50%, 0);
  970. width: 89%;
  971. height: 16%;
  972. padding: 0px 10px;
  973. display: flex;
  974. justify-content: space-between;
  975. align-items: center;
  976. background: var(--image-contetn) no-repeat center;
  977. background-size: 100% 100%;
  978. .text-t {
  979. width: 17%;
  980. color: #fff;
  981. font-size: 12px;
  982. }
  983. .text-v {
  984. width: 83%;
  985. font-family: 'douyuFont';
  986. font-size: 10px;
  987. color: var(--vent-table-action-link);
  988. display: flex;
  989. justify-content: flex-end;
  990. }
  991. }
  992. .box-item1 {
  993. top: 24%;
  994. }
  995. .box-item2 {
  996. top: 50%;
  997. }
  998. .box-item3 {
  999. top: 75%;
  1000. }
  1001. }
  1002. .content-box1 {
  1003. position: relative;
  1004. width: 16%;
  1005. height: 100%;
  1006. background: var(--image-2) no-repeat center;
  1007. background-size: 100% 100%;
  1008. cursor: pointer;
  1009. .btn-label {
  1010. position: absolute;
  1011. left: 50%;
  1012. top: 0;
  1013. transform: translate(-50%);
  1014. font-size: 16px;
  1015. color: #fff;
  1016. }
  1017. .box-item {
  1018. position: absolute;
  1019. left: 50%;
  1020. transform: translate(-50%, 0);
  1021. width: 89%;
  1022. height: 16%;
  1023. padding: 0px 10px;
  1024. display: flex;
  1025. justify-content: space-between;
  1026. align-items: center;
  1027. background: var(--image-contetn) no-repeat center;
  1028. background-size: 100% 100%;
  1029. .text-t {
  1030. width: 17%;
  1031. color: #fff;
  1032. font-size: 12px;
  1033. }
  1034. .text-v {
  1035. width: 83%;
  1036. font-family: 'douyuFont';
  1037. font-size: 10px;
  1038. color: var(--vent-table-action-link);
  1039. display: flex;
  1040. justify-content: flex-end;
  1041. }
  1042. }
  1043. .box-item1 {
  1044. top: 19%;
  1045. }
  1046. .box-item2 {
  1047. top: 41%;
  1048. }
  1049. .box-item3 {
  1050. top: 63%;
  1051. }
  1052. }
  1053. }
  1054. .echart-box {
  1055. height: calc(72% - 41px);
  1056. border: 1px solid #114aac;
  1057. .title-f {
  1058. height: 40px;
  1059. padding: 0px 10px;
  1060. box-sizing: border-box;
  1061. display: flex;
  1062. justify-content: space-between;
  1063. align-items: center;
  1064. .title-text {
  1065. font-family: 'douyuFont';
  1066. font-size: 14px;
  1067. color: #fff;
  1068. }
  1069. }
  1070. .echarts-box {
  1071. height: calc(100% - 40px);
  1072. }
  1073. }
  1074. }
  1075. }
  1076. </style>