index.vue 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966
  1. <template>
  2. <customHeader>预警监测管控系统</customHeader>
  3. <div class="sensor-container">
  4. <div class="lr left-box">
  5. <ventBox1>
  6. <template #title>
  7. <div v-if="showToggle == 'all'" class="icon-toggle" @click="handlerToggle">
  8. <img v-if="!monitor" src="@/assets/images/vent/monitor-toggle.png" alt="" />
  9. <img v-else src="@/assets/images/vent/report-toggle.png" alt="" />
  10. </div>
  11. <div class="monitor-title" @click="showModal('vent')">通风监测预警</div>
  12. </template>
  13. <template #container>
  14. <!-- <div ref="alarmCounts" style="height: 160px" id="alarmCounts"></div> -->
  15. <div class="vent-param">
  16. <div class="light-group">
  17. <div class="param-item">
  18. <div class="param">
  19. <div class="param-icon">
  20. <div class="param-title">总进风量</div>
  21. <div class="param-unit">(m³/min)</div>
  22. </div>
  23. <div class="param-val-box">
  24. <div class="param-val-icon"></div>
  25. <div class="param-val">{{ windData.jf || 0 }}</div>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="param-item">
  30. <div class="param">
  31. <div class="param-icon">
  32. <div class="param-title">总回风量</div>
  33. <div class="param-unit">(m³/min)</div>
  34. </div>
  35. <div class="param-val-box">
  36. <div class="param-val-icon"></div>
  37. <div class="param-val">{{ windData.hf || 0 }}</div>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="param-item">
  42. <div class="param">
  43. <div class="param-icon">
  44. <div class="param-title">总需风量</div>
  45. <div class="param-unit">(m³/min)</div>
  46. </div>
  47. <div class="param-val-box">
  48. <div class="param-val-icon"></div>
  49. <div class="param-val">{{ windData.xf || 0 }}</div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <!-- <div ref="alarmCounts" style="height: 225px" id="alarmCounts"></div> -->
  56. <BarSingle
  57. :xAxisData="xAxisData"
  58. :dataSource="windData.levels"
  59. height="225px"
  60. :chartsColumns="chartsColumns"
  61. :option="option"
  62. :color="colors"
  63. :fontColor="fontColor"
  64. />
  65. </template>
  66. </ventBox1>
  67. <ventBox1 class="vent-margin-t-10">
  68. <template #title>
  69. <div class="monitor-title" @click="showModal('sbyj')">设备监测预警</div>
  70. </template>
  71. <template #container>
  72. <div class="icons-box" @mouseleave="resetScroll">
  73. <template v-for="(item, key) in iconsMonitor" :key="key">
  74. <div class="icon-item" v-if="item.text">
  75. <div class="wrapper">
  76. {{ item.text }}
  77. </div>
  78. <div></div>
  79. <img :src="item.url" :alt="item.text" />
  80. <div class="level-text">
  81. <div class="all-count">
  82. <span>{{ `${item.allText}&nbsp:&nbsp` }}</span>
  83. <span class="num-count">{{ item.allCount || 0 }}</span>
  84. </div>
  85. <div class="warn-count">
  86. <span>{{ `${item.warnText}&nbsp:&nbsp` }}</span>
  87. <span :class="item.warnCount ? 'num-count1' : 'num-count'">{{ item.warnCount || 0 }}</span>
  88. </div>
  89. <div class="close-count">
  90. <span> {{ `${item.closeText}&nbsp:&nbsp` }}</span>
  91. <span :class="item.closeCount ? 'num-count1' : 'num-count'">{{ item.closeCount || 0 }}</span>
  92. </div>
  93. </div>
  94. </div>
  95. </template>
  96. </div>
  97. </template>
  98. </ventBox1>
  99. </div>
  100. <div class="center-box">
  101. <div class="echart-warn-grade">
  102. <warnGradeEchart :echartData="Levels" />
  103. </div>
  104. <div class="btn-warn-grade">
  105. <!-- <a-button type="primary" size="small" @click="warnGradeClick">风险等级划分标准</a-button> -->
  106. </div>
  107. <div class="animation-box">
  108. <canvas class="rain"></canvas>
  109. <div
  110. class="bottom"
  111. :class="{
  112. bottom1: centerData.levels == 101 || centerData.levels == 0 || centerData.levels == 10000,
  113. bottom2: centerData.levels == 102,
  114. bottom3: centerData.levels == 103,
  115. bottom4: centerData.levels == 104,
  116. bottom5: centerData.levels == 201,
  117. }"
  118. >
  119. <div class="animation1">
  120. <div class="ball"></div>
  121. <svg xmlns="http://www.w3.org/2000/svg" width="375.334" height="77.559" viewBox="0 0 375.334 77.559" style="opacity: 0.5">
  122. <g id="组_14135" data-name="组 14135" transform="translate(-755.058 -139.886)">
  123. <path
  124. id="椭圆_2595"
  125. data-name="椭圆 2595"
  126. d="M186.917-.75c12.711,0,25.415.263,37.757.783,12.03.506,23.863,1.262,35.171,2.245,11.1.966,21.816,2.161,31.835,3.553,9.928,1.379,19.265,2.963,27.751,4.709s16.2,3.668,22.92,5.713A120.653,120.653,0,0,1,359.7,22.825a40.842,40.842,0,0,1,11.018,7.3c2.568,2.581,3.87,5.239,3.87,7.9s-1.3,5.322-3.87,7.9a40.842,40.842,0,0,1-11.018,7.3,120.653,120.653,0,0,1-17.345,6.572c-6.716,2.044-14.428,3.966-22.92,5.713s-17.823,3.329-27.751,4.709c-10.02,1.392-20.731,2.588-31.835,3.553-11.308.984-23.142,1.739-35.171,2.245-12.343.519-25.046.783-37.757.783s-25.415-.263-37.757-.783c-12.03-.506-23.863-1.262-35.171-2.245-11.1-.966-21.816-2.161-31.835-3.553-9.928-1.379-19.265-2.963-27.751-4.709s-16.2-3.668-22.92-5.713a120.652,120.652,0,0,1-17.345-6.572,40.841,40.841,0,0,1-11.018-7.3c-2.568-2.581-3.87-5.239-3.87-7.9s1.3-5.322,3.87-7.9a40.842,40.842,0,0,1,11.018-7.3,120.651,120.651,0,0,1,17.345-6.572C38.2,14.208,45.91,12.286,54.4,10.54S72.225,7.211,82.153,5.831c10.02-1.392,20.731-2.588,31.835-3.553C125.3,1.294,137.13.539,149.16.033,161.5-.487,174.206-.75,186.917-.75Zm0,76.98c49.941,0,96.885-4,132.186-11.257,17.134-3.523,30.578-7.623,39.96-12.184,9.642-4.688,14.53-9.653,14.53-14.759s-4.889-10.072-14.53-14.759c-9.382-4.561-22.826-8.66-39.96-12.184C283.8,3.827,236.858-.171,186.917-.171s-96.885,4-132.186,11.257C37.6,14.61,24.153,18.709,14.771,23.27,5.129,27.958.241,32.923.241,38.029S5.129,48.1,14.771,52.789c9.382,4.561,22.826,8.661,39.96,12.184C90.032,72.232,136.976,76.23,186.917,76.23Z"
  127. transform="translate(755.808 140.636)"
  128. fill="#28a6ff"
  129. opacity="0.7"
  130. />
  131. </g>
  132. </svg>
  133. </div>
  134. <div class="animation2">
  135. <div class="ball1"></div>
  136. <svg xmlns="http://www.w3.org/2000/svg" width="414.878" height="91.7" viewBox="0 0 414.878 91.7">
  137. <g id="组_14136" data-name="组 14136" transform="translate(-721.822 -158.273)">
  138. <path
  139. id="椭圆_2595"
  140. data-name="椭圆 2595"
  141. d="M206.689-.75c14.05,0,28.092.311,41.735.925,13.3.6,26.377,1.492,38.877,2.655,12.275,1.142,24.114,2.555,35.189,4.2,10.974,1.631,21.294,3.5,30.674,5.567s17.91,4.337,25.335,6.754a128.134,128.134,0,0,1,19.172,7.771,45.082,45.082,0,0,1,12.178,8.633c2.838,3.051,4.278,6.195,4.278,9.344s-1.439,6.293-4.278,9.344a45.082,45.082,0,0,1-12.178,8.633A128.134,128.134,0,0,1,378.5,70.847c-7.424,2.417-15.948,4.69-25.335,6.754s-19.7,3.936-30.674,5.567c-11.075,1.646-22.915,3.059-35.189,4.2-12.5,1.163-25.58,2.056-38.877,2.655-13.643.614-27.685.925-41.735.925s-28.092-.311-41.735-.925c-13.3-.6-26.377-1.492-38.877-2.655-12.275-1.142-24.114-2.555-35.189-4.2-10.974-1.631-21.294-3.5-30.674-5.567S42.3,73.265,34.879,70.847a128.133,128.133,0,0,1-19.173-7.771A45.082,45.082,0,0,1,3.528,54.444C.689,51.393-.75,48.249-.75,45.1s1.439-6.293,4.278-9.344a45.083,45.083,0,0,1,12.178-8.633,128.133,128.133,0,0,1,19.173-7.771c7.424-2.417,15.948-4.69,25.335-6.754s19.7-3.936,30.674-5.567c11.075-1.646,22.915-3.059,35.189-4.2,12.5-1.163,25.58-2.056,38.877-2.655C178.6-.439,192.639-.75,206.689-.75Zm0,91.015c55.2,0,107.093-4.727,146.113-13.31,18.939-4.166,33.8-9.012,44.17-14.405,10.657-5.542,16.061-11.413,16.061-17.45s-5.4-11.908-16.061-17.45c-10.37-5.393-25.231-10.24-44.17-14.405C313.782,4.662,261.892-.065,206.689-.065S99.6,4.662,60.576,13.244c-18.939,4.166-33.8,9.012-44.17,14.405C5.749,33.192.345,39.063.345,45.1s5.4,11.908,16.061,17.45c10.37,5.393,25.231,10.24,44.17,14.405C99.6,85.538,151.487,90.265,206.689,90.265Z"
  142. transform="translate(722.572 159.023)"
  143. fill="#3dd8ff"
  144. opacity="0.5"
  145. />
  146. </g>
  147. </svg>
  148. </div>
  149. <div class="text-box">
  150. <div class="text1">{{
  151. centerData.levels == 0
  152. ? '低风险'
  153. : centerData.levels == 101
  154. ? '低风险'
  155. : centerData.levels == 102
  156. ? '一般风险'
  157. : centerData.levels == 103
  158. ? '较大风险'
  159. : centerData.levels == 104
  160. ? '重大风险'
  161. : centerData.levels == 201
  162. ? '报警'
  163. : '未连接'
  164. }}</div>
  165. <div class="text2">{{ centerData.riskLevel !== undefined && centerData.riskLevel !== null ? centerData.riskLevel : '-' }}</div>
  166. <div class="text3">风险得分</div>
  167. </div>
  168. <div class="icon-animation" @click="warnGradeClick"></div>
  169. </div>
  170. <div class="total-item-monitor-box">
  171. <div class="item item1">
  172. <div class="icon-box">
  173. <div class="icon"></div>
  174. </div>
  175. <div class="item-monitor-box" @click="showModal('fire')">
  176. <span class="title title-route">火灾监测预警</span>
  177. <span :class="centerData.fire != 0 && centerData.fire != 101 ? 'value1' : 'value'">{{
  178. centerData.fire == 0
  179. ? '低风险'
  180. : centerData.fire == 101
  181. ? '低风险'
  182. : centerData.fire == 102
  183. ? '一般风险'
  184. : centerData.fire == 103
  185. ? '较大风险'
  186. : centerData.fire == 104
  187. ? '重大风险'
  188. : centerData.fire == 201
  189. ? '报警'
  190. : centerData.fire
  191. }}</span>
  192. </div>
  193. </div>
  194. <div class="item item2">
  195. <div class="icon-box">
  196. <div class="icon"></div>
  197. </div>
  198. <div class="item-monitor-box" @click="showModal('sbyj')">
  199. <span class="title title-route">设备监测预警</span>
  200. <span :class="centerData.sb != 0 && centerData.sb != 101 ? 'value1' : 'value'">{{
  201. centerData.sb == 0
  202. ? '低风险'
  203. : centerData.sb == 101
  204. ? '低风险'
  205. : centerData.sb == 102
  206. ? '一般风险'
  207. : centerData.sb == 103
  208. ? '较大风险'
  209. : centerData.sb == 104
  210. ? '重大风险'
  211. : centerData.sb == 201
  212. ? '报警'
  213. : centerData.sb
  214. }}</span>
  215. </div>
  216. </div>
  217. <div class="item item3">
  218. <div class="icon-box">
  219. <div class="icon"></div>
  220. </div>
  221. <div class="item-monitor-box" @click="showModal('dust')">
  222. <span class="title title-route">粉尘监测预警</span>
  223. <span :class="centerData.fc != 0 && centerData.fc != 101 ? 'value1' : 'value'">{{
  224. centerData.fc == 0
  225. ? '低风险'
  226. : centerData.fc == 101
  227. ? '低风险'
  228. : centerData.fc == 102
  229. ? '一般风险'
  230. : centerData.fc == 103
  231. ? '较大风险'
  232. : centerData.fc == 104
  233. ? '重大风险'
  234. : centerData.fc == 201
  235. ? '报警'
  236. : centerData.fc
  237. }}</span>
  238. </div>
  239. </div>
  240. <div class="item item4">
  241. <div class="icon-box">
  242. <div class="icon"></div>
  243. </div>
  244. <div class="item-monitor-box">
  245. <span class="title">瓦斯监测预警</span>
  246. <span :class="centerData.ws != 0 && centerData.ws != 101 ? 'value1' : 'value'">{{
  247. centerData.ws == 0
  248. ? '低风险'
  249. : centerData.ws == 101
  250. ? '低风险'
  251. : centerData.ws == 102
  252. ? '一般风险'
  253. : centerData.ws == 103
  254. ? '较大风险'
  255. : centerData.ws == 104
  256. ? '重大风险'
  257. : centerData.ws == 201
  258. ? '报警'
  259. : centerData.ws
  260. }}</span>
  261. <div class="">
  262. <span class="title">矿井瓦斯等级鉴定</span>
  263. <!-- <span class="value">低瓦斯</span> -->
  264. <span class="value">{{ warnLevels == 'sdmtjtbdmk' ? '高瓦斯' : '低瓦斯' }}</span>
  265. </div>
  266. </div>
  267. </div>
  268. <div class="item item5">
  269. <div class="icon-box">
  270. <div class="icon"></div>
  271. </div>
  272. <div class="item-monitor-box" @click="showModal('vent')">
  273. <span class="title title-route">通风监测预警</span>
  274. <span :class="centerData.tf !== 0 && centerData.tf !== 101 ? 'value1' : 'value'">{{
  275. centerData.tf == 0
  276. ? '低风险'
  277. : centerData.tf == 101
  278. ? '低风险'
  279. : centerData.tf == 102
  280. ? '一般风险'
  281. : centerData.tf == 103
  282. ? '较大风险'
  283. : centerData.tf == 104
  284. ? '重大风险'
  285. : centerData.tf == 201
  286. ? '报警'
  287. : centerData.tf
  288. }}</span>
  289. </div>
  290. </div>
  291. <div class="item item6">
  292. <div class="icon-box">
  293. <div class="icon"></div>
  294. </div>
  295. <div class="item-monitor-box" @click="showModal('waterLevel')">
  296. <span class="title title-route">水灾</span>
  297. <span class="value">低风险</span>
  298. </div>
  299. </div>
  300. <div class="item item7">
  301. <div class="icon-box">
  302. <div class="icon"></div>
  303. </div>
  304. <div class="item-monitor-box" @click="showModal('Minepressure')">
  305. <span class="title title-route">顶板</span>
  306. <span class="value">低风险</span>
  307. </div>
  308. </div>
  309. </div>
  310. </div>
  311. <div class="fire-monitor">
  312. <div class="monitor-title top" @click="showModal('fire')">火灾监测预警</div>
  313. <div class="container">
  314. <div class="item item1">
  315. <div class="icon"></div>
  316. <vue3-seamless-scroll
  317. hover-stop="true"
  318. :list="fireMonitor1"
  319. :hover="true"
  320. :step="0.18"
  321. :limit-scroll-num="fireMonitor1.length"
  322. class="seamless-warp1"
  323. >
  324. <div class="data-box" v-for="(item, index) in fireMonitor1" :key="index">
  325. <div class="box-item">
  326. <div
  327. :class="{
  328. value1: item.warnLevel == '绿色预警',
  329. value2: item.warnLevel == '黄色预警',
  330. value3: item.warnLevel == '红色预警',
  331. }"
  332. >{{ item.value1 ? item.value1 : '--' }}</div
  333. >
  334. <div class="title">监测位置</div>
  335. </div>
  336. <div class="box-item">
  337. <div
  338. :class="{
  339. value1: item.warnLevel == '绿色预警',
  340. value2: item.warnLevel == '黄色预警',
  341. value3: item.warnLevel == '红色预警',
  342. }"
  343. >{{ item.warnLevel || '-' }}
  344. </div>
  345. <div class="title">预警等级</div>
  346. </div>
  347. <div class="box-item1">
  348. <div
  349. :class="{
  350. value1: item.warnLevel == '绿色预警',
  351. value2: item.warnLevel == '黄色预警',
  352. value3: item.warnLevel == '红色预警',
  353. }"
  354. >{{ item.smokeJd || '-' }}
  355. </div>
  356. <div class="title">煤自燃阶段</div>
  357. </div>
  358. </div>
  359. </vue3-seamless-scroll>
  360. </div>
  361. <div class="item">
  362. <div class="icon"></div>
  363. <div style="width: 630px; display: flex; justify-content: space-between">
  364. <div class="data-box1" v-for="(item, index) in fireMonitor" :key="index">
  365. <!-- <div class="value1"> {{ !item.value ? '-' : item.value == '正常' ? '低风险' : item.value }} </div> -->
  366. <div class="value1"> {{ !item.value ? '低风险' : item.value == '正常' ? '低风险' : item.value }} </div>
  367. <div class="title">{{ item.title }}</div>
  368. </div>
  369. </div>
  370. </div>
  371. </div>
  372. <div class="bottom"></div>
  373. </div>
  374. </div>
  375. <div class="lr right-box">
  376. <ventBox1>
  377. <template #title>
  378. <div class="monitor-title" @click="showModal('gas')">瓦斯监测预警</div>
  379. </template>
  380. <template #container>
  381. <div class="gas-box">
  382. <div class="gas-item">
  383. <div class="top">
  384. <div class="value">{{ gasData.sums }}</div>
  385. <div class="title">安全监测系统监测点</div>
  386. </div>
  387. <div class="detail-box">
  388. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  389. <div class="">{{ item.label }}</div>
  390. <div class="value">{{ !item.value && item.value != '0' ? '-' : item.value }}</div>
  391. </div>
  392. </div>
  393. </div>
  394. <div class="gas-item">
  395. <div class="top">
  396. <div class="value">{{ gasData.sums1 != 0 ? gasData.sums1 : '-' }}</div>
  397. <div class="title">瓦斯抽采系统监测点</div>
  398. </div>
  399. <div class="detail-box">
  400. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  401. <div class="">{{ item.label }}</div>
  402. <div class="value">{{ !item.value1 ? '-' : item.value1 }}</div>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </template>
  408. </ventBox1>
  409. <ventBox1 class="vent-margin-t-10">
  410. <template #title>
  411. <div class="monitor-title" @click="showModal('dust')">粉尘监测预警</div>
  412. </template>
  413. <template #container>
  414. <!-- <div class="dust-monitor">
  415. <div v-for="(item, index) in dustMonitor" :key="index" class="item-box">
  416. <div class="title">{{ item.title }}</div>
  417. <div class="value">0个</div>
  418. </div>
  419. </div> -->
  420. <BarSingle
  421. :xAxisData="xAxisData"
  422. :dataSource="dustData.levels"
  423. height="332px"
  424. :chartsColumns="chartsColumns"
  425. :option="option"
  426. :color="colors"
  427. :fontColor="fontColor"
  428. />
  429. </template>
  430. </ventBox1>
  431. </div>
  432. <!-- 风险等级弹窗 -->
  433. <a-modal v-model:visible="visibleGrade" width="850px" :footer="null" :title="titleGrade" centered destroyOnClose>
  434. <warnGradeInfo />
  435. </a-modal>
  436. </div>
  437. </template>
  438. <script setup lang="ts">
  439. import { ref, onMounted, onUnmounted, reactive, computed } from 'vue';
  440. import { useRouter } from 'vue-router';
  441. import { rainBg } from '/@/utils/ui.js';
  442. import { Vue3SeamlessScroll } from 'vue3-seamless-scroll';
  443. import { useGlobSetting } from '/@/hooks/setting';
  444. import { getDisasterProportion } from '../../deviceManager/riskSetting/riskSetting.api';
  445. import { iconsMonitor, chartsColumns, xAxisData, option, colors, fontColor, fireMonitor } from './alarm.data';
  446. import { getTotalList, sysTypeWarnList } from './alarm.api';
  447. import customHeader from '/@/components/vent/customHeader.vue';
  448. import ventBox1 from '/@/components/vent/ventBox1.vue';
  449. import BarSingle from '../../../../components/chart/BarSingle.vue';
  450. import warnGradeEchart from './common/warnGradeEchart.vue';
  451. import warnGradeInfo from './common/warnGradeInfo.vue';
  452. let monitor = ref(true);
  453. let toggleData = reactive({});
  454. let router = useRouter();
  455. let warnLevels = ref('');
  456. let Levels = reactive({});
  457. const warnNumMap = new Map([
  458. ['fire', 0],
  459. ['dust', 0],
  460. ['vent', 0],
  461. ['gas', 0],
  462. ]);
  463. const resetScroll = (e: Event) => {
  464. if (e.target && e.target) (e.target as Element).scrollTop = 0;
  465. };
  466. let windData = reactive({
  467. levels: {},
  468. jf: 0,
  469. hf: 0,
  470. xf: 0,
  471. }); //通风监测数据
  472. let dustData = reactive({
  473. //粉尘监测数据
  474. levels: {},
  475. });
  476. let centerData = reactive({
  477. fire: 0,
  478. tf: 0,
  479. ws: 0,
  480. sb: 0,
  481. fc: 0,
  482. levels: 0,
  483. riskLevel: '-',
  484. });
  485. //瓦斯
  486. let gasMonitor = reactive<any[]>([]);
  487. let gasData = {
  488. sums: 0,
  489. sums1: 0,
  490. };
  491. let fireMonitor1 = reactive<any[]>([]);
  492. let visibleGrade = ref(false); //控制风险等级弹窗显示与隐藏
  493. let titleGrade = ref(''); //风险等级弹窗标题
  494. let showToggle = ref('report');
  495. //点击切换实时\报表数据
  496. let handlerToggle = () => {
  497. monitor.value = !monitor.value;
  498. windData.jf = monitor.value ? toggleData.ventInfo.totalIntM3 : toggleData.ventInfo.zongjinfeng;
  499. windData.hf = monitor.value ? toggleData.ventInfo.totalRetM3 : toggleData.ventInfo.zonghuifeng;
  500. windData.levels = monitor.value ? Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 }) : toggleData.info.sysInfo.ventS.levels;
  501. windData.levels['blue'] = warnNumMap.get('vent');
  502. };
  503. //风险等级点击
  504. let warnGradeClick = () => {
  505. visibleGrade.value = true;
  506. titleGrade.value = '风险等级信息';
  507. };
  508. //跳转详情
  509. function showModal(data) {
  510. switch (data) {
  511. case 'vent':
  512. router.push('/ventilate/warn/home');
  513. break;
  514. case 'fire':
  515. router.push('/fire/warn/home');
  516. break;
  517. case 'dust':
  518. router.push('/dust/warn/home');
  519. break;
  520. case 'waterLevel':
  521. console.log('waterLevel');
  522. router.push('/warn/waterLevel/home');
  523. break;
  524. case 'gas':
  525. router.push('/gas/warn/home');
  526. break;
  527. case 'sbyj':
  528. router.push('/device/warn/home');
  529. break;
  530. case 'Minepressure':
  531. router.push('/monitorChannel/monitor-Minepressure');
  532. break;
  533. }
  534. }
  535. // https获取监测数据
  536. let timer: null | NodeJS.Timeout = null;
  537. function getMonitor(flag = false) {
  538. timer = setTimeout(
  539. async () => {
  540. // await getDataSource();
  541. await getList();
  542. if (timer) {
  543. timer = null;
  544. }
  545. getMonitor();
  546. },
  547. flag ? 0 : 20000
  548. );
  549. }
  550. // 获取预警数据
  551. async function getList() {
  552. const res = await getTotalList({});
  553. console.log(res, '预警数据--------------');
  554. fireMonitor1.length = 0;
  555. toggleData = Object.assign({}, res);
  556. if (showToggle.value == 'monitor') {
  557. windData.jf = res.ventInfo.zongjinfeng;
  558. windData.hf = res.ventInfo.zonghuifeng;
  559. windData.levels = res.info.sysInfo.ventS.levels;
  560. windData.levels['blue'] = warnNumMap.get('vent');
  561. } else if (showToggle.value == 'report') {
  562. windData.jf = res.ventInfo.totalIntM3;
  563. windData.hf = res.ventInfo.totalRetM3;
  564. windData.levels = Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 });
  565. windData.levels['blue'] = warnNumMap.get('vent');
  566. } else {
  567. windData.jf = res.ventInfo.totalIntM3;
  568. windData.hf = res.ventInfo.totalRetM3;
  569. windData.levels = Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 });
  570. windData.levels['blue'] = warnNumMap.get('vent');
  571. }
  572. windData.xf = res.ventInfo.xufengliang;
  573. dustData.levels = res.info.sysInfo.dustS.levels;
  574. dustData.levels['blue'] = warnNumMap.get('dust');
  575. centerData.fire = res.info.sysInfo.fireS.maxLevel;
  576. centerData.tf = res.info.sysInfo.ventS.maxLevel;
  577. centerData.ws = res.info.sysInfo.gasS.maxLevel;
  578. centerData.sb = res.info.deviceWarnInfo.maxLevel;
  579. centerData.fc = res.info.sysInfo.dustS.maxLevel;
  580. centerData.riskLevel = res.info.riskLevel;
  581. Levels = Object.assign({}, await getDisasterProportion());
  582. centerData.levels =
  583. Levels.level > 0 && Levels.level <= 1
  584. ? 101
  585. : Levels.level > 1 && Levels.level <= 2
  586. ? 102
  587. : Levels.level > 2 && Levels.level <= 3
  588. ? 103
  589. : Levels.level > 3 && Levels.level <= 4
  590. ? 104
  591. : 0;
  592. Object.keys(iconsMonitor).forEach((el) => {
  593. if (res.info.devicekindInfo[el]) {
  594. // iconsMonitor[el].level = res.info.devicekindInfo[el].maxLevel;
  595. iconsMonitor[el].text = res.info.devicekindInfo[el].name;
  596. iconsMonitor[el].allCount = res.info.devicekindInfo[el].totalcount;
  597. iconsMonitor[el].warnCount = res.info.devicekindInfo[el].count;
  598. iconsMonitor[el].closeCount = res.info.devicekindInfo[el].netstatus;
  599. }
  600. });
  601. fireMonitor[0].value = res.info.sysInfo.fireS.summaryInfo
  602. ? res.info.sysInfo.fireS.summaryInfo.external.temperature && res.info.sysInfo.fireS.summaryInfo.external.temperature.maxlevel == '0'
  603. ? '正常'
  604. : ''
  605. : '';
  606. fireMonitor[1].value = res.info.sysInfo.fireS.summaryInfo
  607. ? res.info.sysInfo.fireS.summaryInfo.external.smokeval &&
  608. res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel &&
  609. res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel == '0'
  610. ? '正常'
  611. : ''
  612. : '';
  613. fireMonitor[2].value = res.info.sysInfo.fireS.summaryInfo
  614. ? res.info.sysInfo.fireS.summaryInfo.external.fireval &&
  615. res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel &&
  616. res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel == '0'
  617. ? '正常'
  618. : ''
  619. : '';
  620. fireMonitor[3].value = res.info.sysInfo.fireS.summaryInfo
  621. ? res.info.sysInfo.fireS.summaryInfo.external.coval && res.info.sysInfo.fireS.summaryInfo.external.coval.value
  622. ? res.info.sysInfo.fireS.summaryInfo.external.coval.value
  623. : ''
  624. : '';
  625. if (res.bundletubeInfo && res.bundletubeInfo.msgTxt.length != 0 && res.bundletubeInfo.msgTxt[0].datalist.length != 0) {
  626. res.bundletubeInfo.msgTxt[0].datalist.forEach((el, ind) => {
  627. fireMonitor1.push({
  628. warnLevel: el.syswarnLevel_str,
  629. smokeJd: el.syswarnLevel_des,
  630. value1: el.strinstallpos,
  631. });
  632. });
  633. } else {
  634. fireMonitor1.length = 0;
  635. }
  636. gasMonitor.length = 0;
  637. gasData.sums = 0;
  638. gasData.sums1 = 0;
  639. res.info.sysInfo.gasS.devices.forEach((el) => {
  640. gasData.sums += el.gasNumber;
  641. gasData.sums1 += el.pumpNumber;
  642. gasMonitor.push({ label: el.systemname, value: el.gasNumber, value1: el.pumpNumber });
  643. });
  644. }
  645. function getLevelNum() {
  646. return new Promise(async (resolve) => {
  647. const typeArr = ['fire', 'dust', 'vent', 'gas'];
  648. for (let i = 0; i < typeArr.length; i++) {
  649. const type = typeArr[i];
  650. const result = await sysTypeWarnList({ type });
  651. warnNumMap.set(type, result['length']);
  652. }
  653. resolve(null);
  654. });
  655. }
  656. onMounted(async () => {
  657. const { sysOrgCode, sysDataType } = useGlobSetting();
  658. warnLevels.value = sysOrgCode;
  659. showToggle.value = sysDataType || 'report';
  660. await getLevelNum();
  661. await getMonitor(true);
  662. rainBg('rain', 'animation-box');
  663. });
  664. onUnmounted(() => {
  665. clearTimeout(timer);
  666. timer = undefined;
  667. });
  668. </script>
  669. <style lang="less" scoped>
  670. @import '/@/design/theme.less';
  671. @import '/@/design/vent/color.less';
  672. @a: 370px; // 椭圆x轴半径(长半径)
  673. @b: 107px; // 椭圆y轴半径(短半径)
  674. @s: 40; // 坐标点的数目(数目越大,动画越精细)
  675. @bg: #e6e2df;
  676. .loop(@index) when (@index < @s + 1) {
  677. .loop((@index + 1));
  678. @keyframeSel: @index * 100% ./ @s;
  679. @{keyframeSel} {
  680. transform: translate(@a * (cos(360deg ./ @s * @index)), @b * (sin(360deg ./ @s * @index)));
  681. }
  682. }
  683. @{theme-deepblue} {
  684. .sensor-container {
  685. --image-icon-sl: url('/@/assets/images/themify/deepblue/vent/sl.png');
  686. --image-icon-dl: url('/@/assets/images/themify/deepblue/vent/dl.png');
  687. --image-vent-param-bg: url('/@/assets/images/themify/deepblue/vent/vent-param-bg.png');
  688. --image-box-top-bg: url('/@/assets/images/themify/deepblue/vent/border/box2-top-long.png');
  689. // --image-box-top-bg: url('/@/assets/images/themify/deepblue/vent/box-top-bg.png');
  690. --image-fire-bg-top: url('/@/assets/images/themify/deepblue/vent/fire-bg-top.png');
  691. --image-icon-bottom-bg: url('/@/assets/images/themify/deepblue/vent/icon-bottom-bg.png');
  692. --image-outer-icon: url('/@/assets/images/themify/deepblue/vent/outer-icon.svg');
  693. --image-inner-icon: url('/@/assets/images/themify/deepblue/vent/inner-icon.svg');
  694. --image-box-bottom-bg: none;
  695. // --image-box-bottom-bg: url('/@/assets/images/themify/deepblue/vent/box-bottom-bg.png');
  696. --image-center-bg: url('/@/assets/images/themify/deepblue/vent/alarm/center-bg.png');
  697. --image-warning-bg: url('/@/assets/images/themify/deepblue/vent/alarm/warning-bg.png');
  698. --image-warning-icon-bg1: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg1.png');
  699. --image-warning-icon-bg-a1: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a1.png');
  700. --image-warning-icon-bg2: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg2.png');
  701. --image-warning-icon-bg-a2: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a2.png');
  702. --image-warning-icon-bg3: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg3.png');
  703. --image-warning-icon-bg-a3: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a3.png');
  704. --image-warning-icon-bg4: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg4.png');
  705. --image-warning-icon-bg-a4: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a4.png');
  706. --image-warning-icon-bg5: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg5.png');
  707. --image-warning-icon-bg-a5: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a5.png');
  708. --image-bottom1: url('/@/assets/images/themify/deepblue/vent/alarm/bottom1.png');
  709. --image-bottom: url('/@/assets/images/themify/deepblue/vent/alarm/bottom.png');
  710. --image-icon-bg: url('/@/assets/images/themify/deepblue/vent/alarm/icon-bg.png');
  711. --image-icon-animation: url('/@/assets/images/themify/deepblue/vent/alarm/icon-animation.png');
  712. --image-data-bg: url('/@/assets/images/themify/deepblue/vent/alarm/data-bg.png');
  713. --image-icon-fire: url('/@/assets/images/themify/deepblue/vent/alarm/icon-fire.svg');
  714. --image-icon-device: url('/@/assets/images/themify/deepblue/vent/alarm/icon-device.svg');
  715. --image-icon-dust: url('/@/assets/images/themify/deepblue/vent/alarm/icon-dust.svg');
  716. --image-icon-gas: url('/@/assets/images/themify/deepblue/vent/alarm/icon-gas.svg');
  717. --image-icon-vent: url('/@/assets/images/themify/deepblue/vent/alarm/icon-vent.svg');
  718. --image-value-bg: url('/@/assets/images/themify/deepblue/vent/value-bg.png');
  719. --image-plane: url('/@/assets/images/themify/deepblue/vent/plane.png');
  720. --image-small-bg1: url('/@/assets/images/themify/deepblue/vent/small-bg1.png');
  721. --image-plane1: url('/@/assets/images/themify/deepblue/vent/plane1.png');
  722. --container-color: #0e223b;
  723. // --container-image: linear-gradient(#3df6ff00, #2c3f59, #3df6ff00);
  724. --container-image: none;
  725. }
  726. .sensor-container {
  727. .center-box {
  728. position: relative;
  729. .fire-monitor {
  730. border: 1px solid #3a4b5f;
  731. border-radius: 10px;
  732. background: var(--container-color) no-repeat;
  733. padding-top: 20px;
  734. .top {
  735. height: 35px;
  736. background: var(--image-box-top-bg) no-repeat;
  737. background-size: 94% 25px;
  738. background-position: center center;
  739. padding-left: 6%;
  740. text-align: left;
  741. }
  742. }
  743. }
  744. }
  745. }
  746. .sensor-container {
  747. --image-vent-param-bg: url('/@/assets/images/vent/vent-param-bg.png');
  748. --image-box-top-bg: url('/@/assets/images/vent/box-top-bg.png');
  749. --image-fire-bg-top: url('/@/assets/images/vent/fire-bg-top.png');
  750. --image-icon-bottom-bg: url('/@/assets/images/vent/icon-bottom-bg.png');
  751. --image-outer-icon: url('/@/assets/images/vent/outer-icon.svg');
  752. --image-inner-icon: url('/@/assets/images/vent/inner-icon.svg');
  753. --image-box-bottom-bg: url('/@/assets/images/vent/box-bottom-bg.png');
  754. --image-center-bg: url('/@/assets/images/vent/alarm/center-bg.png');
  755. --image-warning-bg: url('/@/assets/images/vent/alarm/warning-bg.png');
  756. --image-warning-icon-bg1: url('/@/assets/images/vent/alarm/warning-icon-bg1.png');
  757. --image-warning-icon-bg-a1: url('/@/assets/images/vent/alarm/warning-icon-bg-a1.png');
  758. --image-warning-icon-bg2: url('/@/assets/images/vent/alarm/warning-icon-bg2.png');
  759. --image-warning-icon-bg-a2: url('/@/assets/images/vent/alarm/warning-icon-bg-a2.png');
  760. --image-warning-icon-bg3: url('/@/assets/images/vent/alarm/warning-icon-bg3.png');
  761. --image-warning-icon-bg-a3: url('/@/assets/images/vent/alarm/warning-icon-bg-a3.png');
  762. --image-warning-icon-bg4: url('/@/assets/images/vent/alarm/warning-icon-bg4.png');
  763. --image-warning-icon-bg-a4: url('/@/assets/images/vent/alarm/warning-icon-bg-a4.png');
  764. --image-warning-icon-bg5: url('/@/assets/images/vent/alarm/warning-icon-bg5.png');
  765. --image-warning-icon-bg-a5: url('/@/assets/images/vent/alarm/warning-icon-bg-a5.png');
  766. --image-bottom1: url('/@/assets/images/vent/alarm/bottom1.png');
  767. --image-bottom: url('/@/assets/images/vent/alarm/bottom.png');
  768. --image-icon-bg: url('/@/assets/images/vent/alarm/icon-bg.png');
  769. --image-icon-animation: url('/@/assets/images/vent/alarm/icon-animation.png');
  770. --image-data-bg: url('/@/assets/images/vent/alarm/data-bg.png');
  771. --image-icon-fire: url('/@/assets/images/vent/alarm/icon-fire.svg');
  772. --image-icon-device: url('/@/assets/images/vent/alarm/icon-device.svg');
  773. --image-icon-dust: url('/@/assets/images/vent/alarm/icon-dust.svg');
  774. --image-icon-gas: url('/@/assets/images/vent/alarm/icon-gas.svg');
  775. --image-icon-vent: url('/@/assets/images/vent/alarm/icon-vent.svg');
  776. --image-icon-sl: url('/@/assets/images/vent/alarm/sl.png');
  777. --image-icon-dl: url('/@/assets/images/vent/alarm/dl.png');
  778. --image-value-bg: url('/@/assets/images/vent/value-bg.png');
  779. --image-plane: url('/@/assets/images/vent/plane.png');
  780. --image-small-bg1: url('/@/assets/images/vent/small-bg1.png');
  781. --image-plane1: url('/@/assets/images/vent/plane1.png');
  782. --container-color: #00213236;
  783. --container-image: linear-gradient(#3df6ff00, #3df6ff, #3df6ff00);
  784. width: 100%;
  785. height: calc(100% - 86px);
  786. display: flex;
  787. position: relative;
  788. top: 78px;
  789. .lr {
  790. width: 650px;
  791. height: 100%;
  792. // background-color: #ffffff10;
  793. }
  794. .left-box {
  795. .vent-param {
  796. width: 100%;
  797. margin-top: 10px;
  798. .light-group {
  799. display: flex;
  800. flex-direction: row;
  801. justify-content: space-between;
  802. position: relative;
  803. .param-item {
  804. width: 150px;
  805. display: flex;
  806. flex-direction: column;
  807. justify-content: center;
  808. align-items: center;
  809. position: reactive;
  810. .icon {
  811. display: block;
  812. position: absolute;
  813. top: -5px;
  814. }
  815. .param {
  816. display: flex;
  817. flex-direction: column;
  818. justify-content: center;
  819. align-items: center;
  820. .param-icon {
  821. width: 121px;
  822. height: 69px;
  823. background: var(--image-vent-param-bg);
  824. display: flex;
  825. flex-direction: column;
  826. justify-content: center;
  827. align-items: center;
  828. position: relative;
  829. top: -20px;
  830. margin-top: 10px;
  831. .param-title {
  832. position: relative;
  833. top: -4px;
  834. }
  835. .param-unit {
  836. position: relative;
  837. top: -2px;
  838. font-size: 12px;
  839. }
  840. }
  841. .param-val-box {
  842. display: flex;
  843. flex-direction: column;
  844. justify-content: center;
  845. align-items: center;
  846. position: relative;
  847. top: -20px;
  848. .param-val-icon {
  849. width: 2px;
  850. height: 15px;
  851. background: #00d8ff;
  852. position: relative;
  853. &::after {
  854. content: '';
  855. display: block;
  856. position: absolute;
  857. width: 6px;
  858. height: 6px;
  859. border-radius: 3px;
  860. background: #00d8ff;
  861. bottom: -2px;
  862. left: -2px;
  863. }
  864. }
  865. .param-val {
  866. position: relative;
  867. font-family: 'douyuFont';
  868. // color: #20dbfd;
  869. text-shadow: 0 0 25px #00d8ff;
  870. font-size: 13px;
  871. border: 1px solid #40b7f3;
  872. padding: 5px 30px 2px 30px;
  873. top: 2px;
  874. &::after {
  875. width: calc(100% - 4px);
  876. height: calc(100% - 4px);
  877. content: '';
  878. position: absolute;
  879. top: 2px;
  880. left: 2px;
  881. display: block;
  882. border: 1px solid #006ea6;
  883. }
  884. }
  885. }
  886. }
  887. }
  888. }
  889. }
  890. .icons-box {
  891. height: 365px;
  892. overflow-y: hidden;
  893. &:hover {
  894. overflow-y: auto;
  895. overflow-x: auto;
  896. }
  897. .icon-item {
  898. position: relative;
  899. display: flex;
  900. align-items: center;
  901. justify-content: center;
  902. padding: 3px;
  903. &:nth-child(even) {
  904. padding-right: 0px;
  905. }
  906. .level-text {
  907. width: 245px;
  908. display: flex;
  909. justify-content: space-around;
  910. position: absolute;
  911. top: 48px;
  912. left: 180px;
  913. color: #ffffffe0;
  914. font-size: 13px;
  915. text-align: center;
  916. letter-spacing: 1px;
  917. .num-count,
  918. .num-count1 {
  919. font-family: 'douyuFont';
  920. font-size: 12px;
  921. }
  922. .warn-count,
  923. .close-count {
  924. .num-count {
  925. color: #ffffffe0;
  926. }
  927. .num-count1 {
  928. color: #ff0000;
  929. }
  930. }
  931. }
  932. img {
  933. width: 427px;
  934. height: 79px;
  935. }
  936. }
  937. .wrapper {
  938. position: absolute;
  939. top: 48px;
  940. left: 112px;
  941. color: #ffffffe0;
  942. font-size: 13px;
  943. text-align: center;
  944. letter-spacing: 1px;
  945. }
  946. }
  947. @keyframes move {
  948. 0% {
  949. transform: translateY(0px);
  950. }
  951. 100% {
  952. transform: translateY(-269px);
  953. }
  954. }
  955. @keyframes move1 {
  956. 0% {
  957. transform: translateY(0px);
  958. }
  959. }
  960. }
  961. .center-box {
  962. position: relative;
  963. width: calc(100% - 710px);
  964. // background-color: #ffffff10;
  965. margin: 0 8px;
  966. display: flex;
  967. flex-direction: column;
  968. justify-content: flex-end;
  969. .echart-warn-grade {
  970. position: absolute;
  971. left: -20px;
  972. top: 0;
  973. width: 400px;
  974. height: 200px;
  975. }
  976. .btn-warn-grade {
  977. position: absolute;
  978. right: 30px;
  979. top: 10px;
  980. }
  981. .fire-monitor {
  982. display: flex;
  983. flex-direction: column;
  984. width: 100%;
  985. position: relative;
  986. .top {
  987. width: 100%;
  988. height: 35px;
  989. background: var(--image-box-top-bg);
  990. background-size: 100% 100%;
  991. text-align: center;
  992. color: var(--vent-font-color);
  993. padding-top: 6px;
  994. }
  995. .container {
  996. width: calc(100% - 2px);
  997. min-height: 50px;
  998. padding: 0 10px;
  999. color: var(--vent-font-color);
  1000. background-color: var(--container-color);
  1001. backdrop-filter: blur(5px);
  1002. &::before {
  1003. content: '';
  1004. display: block;
  1005. position: absolute;
  1006. top: 5px;
  1007. left: 0;
  1008. width: 1px;
  1009. height: calc(100% - 10px);
  1010. background-image: var(--container-image);
  1011. }
  1012. &::after {
  1013. content: '';
  1014. display: block;
  1015. position: absolute;
  1016. right: 0;
  1017. top: 5px;
  1018. width: 1px;
  1019. height: calc(100% - 10px);
  1020. background: var(--container-image);
  1021. }
  1022. .item {
  1023. height: 130px;
  1024. width: 100%;
  1025. position: relative;
  1026. top: -10px;
  1027. display: flex;
  1028. // justify-content: space-between;
  1029. align-content: center;
  1030. padding-top: 50px;
  1031. &::before {
  1032. content: '';
  1033. width: 100%;
  1034. height: 150px;
  1035. position: absolute;
  1036. top: 0px;
  1037. background: var(--image-fire-bg-top);
  1038. background-size: 100% 100%;
  1039. }
  1040. .icon {
  1041. width: 82px;
  1042. height: 36px;
  1043. margin: 0 20px 0 50px;
  1044. background: var(--image-icon-bottom-bg);
  1045. position: relative;
  1046. top: 30px;
  1047. &::after {
  1048. position: absolute;
  1049. content: '';
  1050. width: 50px;
  1051. height: 50px;
  1052. top: -25px;
  1053. left: 20px;
  1054. background: var(--image-outer-icon) no-repeat;
  1055. }
  1056. }
  1057. .data-box1 {
  1058. display: flex;
  1059. flex-direction: column;
  1060. width: 118px;
  1061. align-items: center;
  1062. .value {
  1063. font-size: 16px;
  1064. font-family: 'douyuFont';
  1065. color: #2bdcff;
  1066. margin-bottom: 5px;
  1067. }
  1068. .value1 {
  1069. font-size: 16px;
  1070. font-family: 'douyuFont';
  1071. margin-bottom: 5px;
  1072. color: rgb(145, 230, 9);
  1073. }
  1074. .value2 {
  1075. font-size: 16px;
  1076. font-family: 'douyuFont';
  1077. margin-bottom: 5px;
  1078. // color: rgb(0, 242, 255);
  1079. color: #ffff35;
  1080. }
  1081. .value3 {
  1082. font-size: 16px;
  1083. font-family: 'douyuFont';
  1084. margin-bottom: 5px;
  1085. // color: #ffff35;
  1086. color: #ff0000;
  1087. }
  1088. .value4 {
  1089. font-size: 16px;
  1090. font-family: 'douyuFont';
  1091. margin-bottom: 5px;
  1092. color: #ffbe69;
  1093. }
  1094. .value5 {
  1095. font-size: 16px;
  1096. font-family: 'douyuFont';
  1097. margin-bottom: 5px;
  1098. color: #ff6f00;
  1099. }
  1100. .value6 {
  1101. font-size: 16px;
  1102. font-family: 'douyuFont';
  1103. margin-bottom: 5px;
  1104. color: #ff0000;
  1105. }
  1106. .title {
  1107. font-size: 13px;
  1108. }
  1109. }
  1110. .seamless-warp1 {
  1111. width: 625px;
  1112. height: 75%;
  1113. overflow: hidden;
  1114. .data-box {
  1115. display: flex;
  1116. width: 625px;
  1117. justify-content: center;
  1118. align-items: center;
  1119. margin: 50px auto;
  1120. .box-item {
  1121. width: 25%;
  1122. height: 100%;
  1123. display: flex;
  1124. flex-direction: column;
  1125. align-items: center;
  1126. padding: 0 20px;
  1127. .value {
  1128. font-size: 16px;
  1129. font-family: 'douyuFont';
  1130. color: #2bdcff;
  1131. margin-bottom: 5px;
  1132. }
  1133. .value1 {
  1134. font-size: 16px;
  1135. font-family: 'douyuFont';
  1136. margin-bottom: 5px;
  1137. color: rgb(145, 230, 9);
  1138. }
  1139. .value2 {
  1140. font-size: 16px;
  1141. font-family: 'douyuFont';
  1142. margin-bottom: 5px;
  1143. // color: rgb(0, 242, 255);
  1144. color: #ffff35;
  1145. }
  1146. .value3 {
  1147. font-size: 16px;
  1148. font-family: 'douyuFont';
  1149. margin-bottom: 5px;
  1150. // color: #ffff35;
  1151. color: #ff0000;
  1152. }
  1153. .value4 {
  1154. font-size: 16px;
  1155. font-family: 'douyuFont';
  1156. margin-bottom: 5px;
  1157. color: #ffbe69;
  1158. }
  1159. .value5 {
  1160. font-size: 16px;
  1161. font-family: 'douyuFont';
  1162. margin-bottom: 5px;
  1163. color: #ff6f00;
  1164. }
  1165. .value6 {
  1166. font-size: 16px;
  1167. font-family: 'douyuFont';
  1168. margin-bottom: 5px;
  1169. color: #ff0000;
  1170. }
  1171. .title {
  1172. font-size: 13px;
  1173. }
  1174. }
  1175. .box-item1 {
  1176. width: 50%;
  1177. height: 100%;
  1178. display: flex;
  1179. flex-direction: column;
  1180. align-items: center;
  1181. padding: 0 20px;
  1182. .value {
  1183. font-size: 16px;
  1184. font-family: 'douyuFont';
  1185. color: #2bdcff;
  1186. margin-bottom: 5px;
  1187. }
  1188. .value1 {
  1189. font-size: 16px;
  1190. font-family: 'douyuFont';
  1191. margin-bottom: 5px;
  1192. color: rgb(145, 230, 9);
  1193. }
  1194. .value2 {
  1195. font-size: 16px;
  1196. font-family: 'douyuFont';
  1197. margin-bottom: 5px;
  1198. // color: rgb(0, 242, 255);
  1199. color: #ffff35;
  1200. }
  1201. .value3 {
  1202. font-size: 16px;
  1203. font-family: 'douyuFont';
  1204. margin-bottom: 5px;
  1205. // color: #ffff35;
  1206. color: #ff0000;
  1207. }
  1208. .value4 {
  1209. font-size: 16px;
  1210. font-family: 'douyuFont';
  1211. margin-bottom: 5px;
  1212. color: #ffbe69;
  1213. }
  1214. .value5 {
  1215. font-size: 16px;
  1216. font-family: 'douyuFont';
  1217. margin-bottom: 5px;
  1218. color: #ff6f00;
  1219. }
  1220. .value6 {
  1221. font-size: 16px;
  1222. font-family: 'douyuFont';
  1223. margin-bottom: 5px;
  1224. color: #ff0000;
  1225. }
  1226. .title {
  1227. font-size: 13px;
  1228. }
  1229. }
  1230. }
  1231. }
  1232. }
  1233. .item1 {
  1234. top: -10px;
  1235. &::before {
  1236. transform: matrix(1, 0, 0, -1, 0, 0);
  1237. }
  1238. .icon {
  1239. &::after {
  1240. background: var(--image-inner-icon) no-repeat;
  1241. }
  1242. }
  1243. }
  1244. }
  1245. .bottom {
  1246. width: 100%;
  1247. height: 35px;
  1248. background: var(--image-box-bottom-bg);
  1249. background-size: 100% 100%;
  1250. position: absolute;
  1251. bottom: 0;
  1252. }
  1253. }
  1254. .animation-box {
  1255. height: fit-content;
  1256. flex: 1;
  1257. margin-bottom: 10px;
  1258. background: var(--image-center-bg);
  1259. background-size: contain;
  1260. background-position: center;
  1261. display: flex;
  1262. flex-direction: column;
  1263. align-items: center;
  1264. position: relative;
  1265. top: 45px;
  1266. .rain {
  1267. position: absolute;
  1268. }
  1269. .bottom {
  1270. width: 528px;
  1271. height: 395px;
  1272. background-repeat: no-repeat;
  1273. position: absolute;
  1274. z-index: 999;
  1275. &::before {
  1276. content: '';
  1277. width: 325px;
  1278. height: 379px;
  1279. position: absolute;
  1280. left: 105px;
  1281. top: -60px;
  1282. background: var(--image-warning-bg) no-repeat;
  1283. }
  1284. .animation1 {
  1285. width: 390px;
  1286. height: 78px;
  1287. position: absolute;
  1288. top: -30px;
  1289. left: 80px;
  1290. z-index: 999;
  1291. // animation: rotate3 3s linear infinite;
  1292. .ball {
  1293. position: absolute;
  1294. width: 12px;
  1295. height: 12px;
  1296. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);
  1297. border-radius: 6px;
  1298. background-size: cover;
  1299. offset-path: path(
  1300. 'M186.917-.75c12.711,0,25.415.263,37.757.783,12.03.506,23.863,1.262,35.171,2.245,11.1.966,21.816,2.161,31.835,3.553,9.928,1.379,19.265,2.963,27.751,4.709s16.2,3.668,22.92,5.713A120.653,120.653,0,0,1,359.7,22.825a40.842,40.842,0,0,1,11.018,7.3c2.568,2.581,3.87,5.239,3.87,7.9s-1.3,5.322-3.87,7.9a40.842,40.842,0,0,1-11.018,7.3,120.653,120.653,0,0,1-17.345,6.572c-6.716,2.044-14.428,3.966-22.92,5.713s-17.823,3.329-27.751,4.709c-10.02,1.392-20.731,2.588-31.835,3.553-11.308.984-23.142,1.739-35.171,2.245-12.343.519-25.046.783-37.757.783s-25.415-.263-37.757-.783c-12.03-.506-23.863-1.262-35.171-2.245-11.1-.966-21.816-2.161-31.835-3.553-9.928-1.379-19.265-2.963-27.751-4.709s-16.2-3.668-22.92-5.713a120.652,120.652,0,0,1-17.345-6.572,40.841,40.841,0,0,1-11.018-7.3c-2.568-2.581-3.87-5.239-3.87-7.9s1.3-5.322,3.87-7.9a40.842,40.842,0,0,1,11.018-7.3,120.651,120.651,0,0,1,17.345-6.572C38.2,14.208,45.91,12.286,54.4,10.54S72.225,7.211,82.153,5.831c10.02-1.392,20.731-2.588,31.835-3.553C125.3,1.294,137.13.539,149.16.033,161.5-.487,174.206-.75,186.917-.75Zm0,76.98c49.941,0,96.885-4,132.186-11.257,17.134-3.523,30.578-7.623,39.96-12.184,9.642-4.688,14.53-9.653,14.53-14.759s-4.889-10.072-14.53-14.759c-9.382-4.561-22.826-8.66-39.96-12.184C283.8,3.827,236.858-.171,186.917-.171s-96.885,4-132.186,11.257C37.6,14.61,24.153,18.709,14.771,23.27,5.129,27.958.241,32.923.241,38.029S5.129,48.1,14.771,52.789c9.382,4.561,22.826,8.661,39.96,12.184C90.032,72.232,136.976,76.23,186.917,76.23Z'
  1301. );
  1302. animation: 10s linear 0s infinite alternate ball;
  1303. }
  1304. }
  1305. .animation2 {
  1306. width: 430px;
  1307. height: 92px;
  1308. position: absolute;
  1309. top: 0px;
  1310. left: 60px;
  1311. z-index: 999;
  1312. // animation: rotate4 3s linear infinite;
  1313. .ball1 {
  1314. position: absolute;
  1315. width: 12px;
  1316. height: 12px;
  1317. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);
  1318. border-radius: 6px;
  1319. background-size: cover;
  1320. offset-path: path(
  1321. 'M206.689-.75c14.05,0,28.092.311,41.735.925,13.3.6,26.377,1.492,38.877,2.655,12.275,1.142,24.114,2.555,35.189,4.2,10.974,1.631,21.294,3.5,30.674,5.567s17.91,4.337,25.335,6.754a128.134,128.134,0,0,1,19.172,7.771,45.082,45.082,0,0,1,12.178,8.633c2.838,3.051,4.278,6.195,4.278,9.344s-1.439,6.293-4.278,9.344a45.082,45.082,0,0,1-12.178,8.633A128.134,128.134,0,0,1,378.5,70.847c-7.424,2.417-15.948,4.69-25.335,6.754s-19.7,3.936-30.674,5.567c-11.075,1.646-22.915,3.059-35.189,4.2-12.5,1.163-25.58,2.056-38.877,2.655-13.643.614-27.685.925-41.735.925s-28.092-.311-41.735-.925c-13.3-.6-26.377-1.492-38.877-2.655-12.275-1.142-24.114-2.555-35.189-4.2-10.974-1.631-21.294-3.5-30.674-5.567S42.3,73.265,34.879,70.847a128.133,128.133,0,0,1-19.173-7.771A45.082,45.082,0,0,1,3.528,54.444C.689,51.393-.75,48.249-.75,45.1s1.439-6.293,4.278-9.344a45.083,45.083,0,0,1,12.178-8.633,128.133,128.133,0,0,1,19.173-7.771c7.424-2.417,15.948-4.69,25.335-6.754s19.7-3.936,30.674-5.567c11.075-1.646,22.915-3.059,35.189-4.2,12.5-1.163,25.58-2.056,38.877-2.655C178.6-.439,192.639-.75,206.689-.75Zm0,91.015c55.2,0,107.093-4.727,146.113-13.31,18.939-4.166,33.8-9.012,44.17-14.405,10.657-5.542,16.061-11.413,16.061-17.45s-5.4-11.908-16.061-17.45c-10.37-5.393-25.231-10.24-44.17-14.405C313.782,4.662,261.892-.065,206.689-.065S99.6,4.662,60.576,13.244c-18.939,4.166-33.8,9.012-44.17,14.405C5.749,33.192.345,39.063.345,45.1s5.4,11.908,16.061,17.45c10.37,5.393,25.231,10.24,44.17,14.405C99.6,85.538,151.487,90.265,206.689,90.265Z'
  1322. );
  1323. animation: 10s linear 0s infinite alternate ball1;
  1324. }
  1325. }
  1326. .text-box {
  1327. width: 100%;
  1328. display: flex;
  1329. flex-direction: column;
  1330. color: var(--vent-font-color);
  1331. align-items: center;
  1332. margin-top: 30px;
  1333. .text1 {
  1334. font-size: 26px;
  1335. font-weight: 600;
  1336. letter-spacing: 2px;
  1337. padding-top: 20px;
  1338. position: relative;
  1339. top: 30px;
  1340. // margin-bottom: 10px;
  1341. }
  1342. .text2 {
  1343. font-size: 20px;
  1344. color: #ffffffdd;
  1345. font-weight: 600;
  1346. margin-top: 10px;
  1347. position: relative;
  1348. top: 30px;
  1349. }
  1350. .text3 {
  1351. font-size: 16px;
  1352. color: #ffffffdd;
  1353. margin-top: 10px;
  1354. position: relative;
  1355. top: 20px;
  1356. }
  1357. }
  1358. .icon-animation {
  1359. width: 178px;
  1360. height: 208px;
  1361. margin: 0 auto;
  1362. top: -130px;
  1363. left: 4px;
  1364. position: relative;
  1365. animation: 0.5s linear 0s infinite alternate iconMove;
  1366. }
  1367. }
  1368. .bottom1 {
  1369. background-image: var(--image-warning-icon-bg1);
  1370. .icon-animation {
  1371. background: var(--image-warning-icon-bg-a1);
  1372. }
  1373. .text-box {
  1374. .text1 {
  1375. color: #00d8ff;
  1376. }
  1377. }
  1378. }
  1379. .bottom2 {
  1380. background-image: var(--image-warning-icon-bg2);
  1381. .icon-animation {
  1382. background: var(--image-warning-icon-bg-a2);
  1383. }
  1384. .text-box {
  1385. .text1 {
  1386. color: #fcfc22;
  1387. }
  1388. }
  1389. }
  1390. .bottom3 {
  1391. background-image: var(--image-warning-icon-bg3);
  1392. .icon-animation {
  1393. background: var(--image-warning-icon-bg-a3);
  1394. }
  1395. .text-box {
  1396. .text1 {
  1397. color: #ff7010;
  1398. }
  1399. }
  1400. }
  1401. .bottom4 {
  1402. background-image: var(--image-warning-icon-bg4);
  1403. .icon-animation {
  1404. background: var(--image-warning-icon-bg-a4);
  1405. }
  1406. .text-box {
  1407. .text1 {
  1408. color: #df4e43;
  1409. }
  1410. }
  1411. }
  1412. .bottom5 {
  1413. background-image: var(--image-warning-icon-bg5);
  1414. .icon-animation {
  1415. background: var(--image-warning-icon-bg-a5);
  1416. }
  1417. .text-box {
  1418. .text1 {
  1419. color: #ff2313;
  1420. // animation: color-blink 1s infinite;
  1421. }
  1422. // @keyframes color-blink {
  1423. // 0% { color: red; }
  1424. // 50% { color: blue; }
  1425. // 100% { color: red; }
  1426. // }
  1427. }
  1428. }
  1429. .total-item-monitor-box {
  1430. width: 100%;
  1431. height: 237px;
  1432. position: relative;
  1433. top: 180px;
  1434. left: 265px;
  1435. background: var(--image-bottom1) no-repeat;
  1436. background-size: contain;
  1437. &::after {
  1438. content: '';
  1439. width: 750px;
  1440. height: 750px;
  1441. position: absolute;
  1442. transform-style: preserve-3d;
  1443. transform: translateX(0%) translateY(0%) rotateX(72deg);
  1444. background: var(--image-bottom);
  1445. animation: rotate1 3s linear infinite;
  1446. top: -200px;
  1447. left: -180px;
  1448. }
  1449. .item {
  1450. position: absolute;
  1451. // width: 107px;
  1452. // height: 107px;
  1453. // left: 120px;
  1454. // top: 115px;
  1455. // animation: red-ball 10s linear infinite;
  1456. .icon-box {
  1457. width: 100px;
  1458. height: 100px;
  1459. position: relative;
  1460. z-index: 0;
  1461. &::before {
  1462. position: absolute;
  1463. content: '';
  1464. width: 105px;
  1465. height: 68px;
  1466. top: 15px;
  1467. z-index: -1;
  1468. background: var(--image-icon-bg) no-repeat;
  1469. }
  1470. &::after {
  1471. position: absolute;
  1472. content: '';
  1473. width: 71px;
  1474. height: 71px;
  1475. top: 26px;
  1476. left: 14px;
  1477. z-index: 1;
  1478. background: var(--image-icon-animation) no-repeat;
  1479. transform: translateX(0%) rotateX(70deg);
  1480. animation: rotate2 2s linear infinite;
  1481. }
  1482. .icon {
  1483. width: 100px;
  1484. height: 100px;
  1485. background-repeat: no-repeat;
  1486. background-position: top center;
  1487. position: relative;
  1488. top: 5px;
  1489. }
  1490. }
  1491. .item-monitor-box {
  1492. color: var(--vent-font-color);
  1493. position: relative;
  1494. top: -135px;
  1495. left: -20px;
  1496. font-weight: 600;
  1497. // background: #06020066;
  1498. padding: 5px 20px 8px 20px;
  1499. z-index: 999;
  1500. &::before {
  1501. position: absolute;
  1502. content: '';
  1503. width: 196px;
  1504. height: 48px;
  1505. left: -20px;
  1506. top: -10px;
  1507. background: var(--image-data-bg);
  1508. }
  1509. .value {
  1510. color: #2bdcff;
  1511. margin-left: 20px;
  1512. }
  1513. .value1 {
  1514. font-size: 16px;
  1515. font-weight: 800;
  1516. margin-top: 6px;
  1517. margin-left: 10px;
  1518. color: #ff0000;
  1519. animation: color-blink 1s infinite;
  1520. }
  1521. @keyframes color-blink {
  1522. 0% {
  1523. color: red;
  1524. }
  1525. 50% {
  1526. color: rgb(198, 0, 0);
  1527. }
  1528. 100% {
  1529. color: rgb(255, 18, 18);
  1530. }
  1531. }
  1532. }
  1533. }
  1534. .item1 {
  1535. top: 230px;
  1536. left: 150px;
  1537. .icon {
  1538. background-image: var(--image-icon-fire);
  1539. }
  1540. }
  1541. .item2 {
  1542. top: 215px;
  1543. left: -65px;
  1544. .icon {
  1545. background-image: var(--image-icon-device);
  1546. }
  1547. }
  1548. .item3 {
  1549. top: 215px;
  1550. left: 350px;
  1551. .icon {
  1552. background-image: var(--image-icon-dust);
  1553. }
  1554. }
  1555. .item4 {
  1556. top: 97px;
  1557. left: 475px;
  1558. .icon {
  1559. background-image: var(--image-icon-gas);
  1560. }
  1561. .item-monitor-box {
  1562. top: -155px;
  1563. &::before {
  1564. top: 10px;
  1565. }
  1566. }
  1567. }
  1568. .item5 {
  1569. top: 97px;
  1570. left: -185px;
  1571. .icon {
  1572. background-image: var(--image-icon-vent);
  1573. }
  1574. }
  1575. .item6 {
  1576. top: 0px;
  1577. left: -30px;
  1578. .icon {
  1579. background-image: var(--image-icon-sl);
  1580. }
  1581. }
  1582. .item7 {
  1583. top: 0px;
  1584. left: 340px;
  1585. .icon {
  1586. background-image: var(--image-icon-dl);
  1587. }
  1588. }
  1589. }
  1590. @keyframes iconMove {
  1591. 100% {
  1592. opacity: 0;
  1593. }
  1594. }
  1595. @keyframes rotate1 {
  1596. 0% {
  1597. transform: translateX(0%) rotateX(72deg) rotateZ(-360deg);
  1598. }
  1599. 100% {
  1600. transform: translateX(0%) rotateX(72deg) rotateZ(0);
  1601. }
  1602. }
  1603. @keyframes rotate2 {
  1604. 0% {
  1605. transform: translateX(0%) rotateX(70deg) rotateZ(0);
  1606. }
  1607. 100% {
  1608. transform: translateX(0%) rotateX(70deg) rotateZ(-360deg);
  1609. }
  1610. }
  1611. @keyframes rotate3 {
  1612. 0% {
  1613. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1614. }
  1615. 100% {
  1616. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1617. }
  1618. }
  1619. @keyframes rotate4 {
  1620. 100% {
  1621. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1622. }
  1623. 0% {
  1624. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1625. }
  1626. }
  1627. @keyframes ball {
  1628. 100% {
  1629. offset-distance: 100%;
  1630. }
  1631. 0% {
  1632. offset-distance: 0%;
  1633. }
  1634. }
  1635. @keyframes ball1 {
  1636. 0% {
  1637. offset-distance: 100%;
  1638. }
  1639. 100% {
  1640. offset-distance: 0%;
  1641. }
  1642. }
  1643. }
  1644. }
  1645. .title-route {
  1646. cursor: pointer;
  1647. position: relative;
  1648. z-index: 9999;
  1649. &:hover {
  1650. color: var(--vent-modal-title);
  1651. }
  1652. }
  1653. .right-box {
  1654. .dust-monitor {
  1655. display: flex;
  1656. justify-content: space-between;
  1657. padding: 0 20px;
  1658. margin-bottom: 20px;
  1659. margin-top: 15px;
  1660. .value {
  1661. width: 131px;
  1662. height: 44px;
  1663. background: var(--image-value-bg);
  1664. display: flex;
  1665. justify-content: center;
  1666. align-items: center;
  1667. }
  1668. .title {
  1669. text-align: center;
  1670. margin-bottom: 5px;
  1671. }
  1672. .value {
  1673. font-size: 16px;
  1674. font-family: 'douyuFont';
  1675. color: #3df5ff;
  1676. }
  1677. }
  1678. .gas-box {
  1679. height: 390px;
  1680. display: flex;
  1681. justify-content: space-between;
  1682. padding: 0 10px;
  1683. .gas-item {
  1684. position: relative;
  1685. .top {
  1686. height: 136px;
  1687. padding-top: 30px;
  1688. .value {
  1689. font-size: 26px;
  1690. font-family: 'douyuFont';
  1691. color: #3df5ff;
  1692. text-align: center;
  1693. margin-bottom: 5px;
  1694. }
  1695. .title {
  1696. width: 205px;
  1697. height: 48px;
  1698. text-align: center;
  1699. background: var(--image-plane) no-repeat;
  1700. background-size: contain;
  1701. background-position: bottom;
  1702. }
  1703. &::before {
  1704. position: absolute;
  1705. content: '';
  1706. width: 136px;
  1707. height: 101px;
  1708. left: 35px;
  1709. top: 15px;
  1710. background: var(--image-small-bg1) no-repeat;
  1711. background-size: cover;
  1712. }
  1713. }
  1714. .detail-box {
  1715. position: relative;
  1716. margin: 0 auto;
  1717. width: 184px;
  1718. height: calc(100% - 136px);
  1719. background: linear-gradient(to bottom, transparent, #00679b77) no-repeat;
  1720. background-size: cover;
  1721. display: flex;
  1722. flex-direction: column;
  1723. justify-content: flex-start;
  1724. align-items: center;
  1725. overflow-y: auto;
  1726. // padding: 50px 0 20px 0;
  1727. &::after {
  1728. position: absolute;
  1729. content: '';
  1730. left: 0px;
  1731. bottom: 0px;
  1732. width: 184px;
  1733. height: 31px;
  1734. background: var(--image-plane1) no-repeat center;
  1735. background-size: 100% 100%;
  1736. background-position: bottom;
  1737. }
  1738. .detail-item {
  1739. width: 100%;
  1740. height: 40px;
  1741. background-image: linear-gradient(to right, #39a3ff66, #39a3ff00);
  1742. // margin: 5px 0;
  1743. display: flex;
  1744. padding: 0 10px;
  1745. justify-content: space-between;
  1746. align-items: center;
  1747. margin-bottom: 30px;
  1748. .value {
  1749. font-size: 16px;
  1750. font-family: 'douyuFont';
  1751. color: #2bdcff;
  1752. text-align: center;
  1753. }
  1754. }
  1755. }
  1756. }
  1757. }
  1758. }
  1759. .monitor-title {
  1760. cursor: pointer;
  1761. }
  1762. .icon-toggle {
  1763. position: absolute;
  1764. left: 18px;
  1765. top: 6px;
  1766. img {
  1767. width: 24px;
  1768. height: 24px;
  1769. cursor: pointer;
  1770. }
  1771. }
  1772. }
  1773. </style>