index.vue 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948
  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">
  176. <span class="title">火灾监测预警</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">
  199. <span class="title">设备监测预警</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">
  222. <span class="title">粉尘监测预警</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">
  273. <span class="title">通风监测预警</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">
  296. <span class="title">水灾</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">
  305. <span class="title">顶板</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 hover-stop="true" :list="fireMonitor1" :hover="true" :step="fireMonitor1.length * 0.03"
  317. :limit-scroll-num="fireMonitor1.length" class="seamless-warp1">
  318. <div class="data-box" v-for="(item, index) in fireMonitor1" :key="index">
  319. <div class="box-item">
  320. <div
  321. :class="{
  322. value1: item.warnLevel == '绿色预警',
  323. value2: item.warnLevel == '黄色预警',
  324. value3: item.warnLevel == '红色预警',
  325. }"
  326. >{{ item.value1 ? item.value1 : '--' }}</div
  327. >
  328. <div class="title">监测位置</div>
  329. </div>
  330. <div class="box-item">
  331. <div
  332. :class="{
  333. value1: item.warnLevel == '绿色预警',
  334. value2: item.warnLevel == '黄色预警',
  335. value3: item.warnLevel == '红色预警',
  336. }"
  337. >{{ item.warnLevel || '-' }}
  338. </div>
  339. <div class="title">预警等级</div>
  340. </div>
  341. <div class="box-item1">
  342. <div
  343. :class="{
  344. value1: item.warnLevel == '绿色预警',
  345. value2: item.warnLevel == '黄色预警',
  346. value3: item.warnLevel == '红色预警',
  347. }"
  348. >{{ item.smokeJd || '-' }}
  349. </div>
  350. <div class="title">煤自燃阶段</div>
  351. </div>
  352. </div>
  353. </vue3-seamless-scroll>
  354. </div>
  355. <div class="item">
  356. <div class="icon"></div>
  357. <div style="width: 630px; display: flex; justify-content: space-between">
  358. <div class="data-box1" v-for="(item, index) in fireMonitor" :key="index">
  359. <!-- <div class="value1"> {{ !item.value ? '-' : item.value == '正常' ? '低风险' : item.value }} </div> -->
  360. <div class="value1"> {{ !item.value ? '低风险' : item.value == '正常' ? '低风险' : item.value }} </div>
  361. <div class="title">{{ item.title }}</div>
  362. </div>
  363. </div>
  364. </div>
  365. </div>
  366. <div class="bottom"></div>
  367. </div>
  368. </div>
  369. <div class="lr right-box">
  370. <ventBox1>
  371. <template #title>
  372. <div class="monitor-title" @click="showModal('gas')">瓦斯监测预警</div>
  373. </template>
  374. <template #container>
  375. <div class="gas-box">
  376. <div class="gas-item">
  377. <div class="top">
  378. <div class="value">{{ gasData.sums }}</div>
  379. <div class="title">安全监测系统监测点</div>
  380. </div>
  381. <div class="detail-box">
  382. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  383. <div class="">{{ item.label }}</div>
  384. <div class="value">{{ !item.value && item.value != '0' ? '-' : item.value }}</div>
  385. </div>
  386. </div>
  387. </div>
  388. <div class="gas-item">
  389. <div class="top">
  390. <div class="value">{{ gasData.sums1 != 0 ? gasData.sums1 : '-' }}</div>
  391. <div class="title">瓦斯抽采系统监测点</div>
  392. </div>
  393. <div class="detail-box">
  394. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  395. <div class="">{{ item.label }}</div>
  396. <div class="value">{{ !item.value1 ? '-' : item.value1 }}</div>
  397. </div>
  398. </div>
  399. </div>
  400. </div>
  401. </template>
  402. </ventBox1>
  403. <ventBox1 class="vent-margin-t-10">
  404. <template #title>
  405. <div class="monitor-title" @click="showModal('dust')">粉尘监测预警</div>
  406. </template>
  407. <template #container>
  408. <!-- <div class="dust-monitor">
  409. <div v-for="(item, index) in dustMonitor" :key="index" class="item-box">
  410. <div class="title">{{ item.title }}</div>
  411. <div class="value">0个</div>
  412. </div>
  413. </div> -->
  414. <BarSingle
  415. :xAxisData="xAxisData"
  416. :dataSource="dustData.levels"
  417. height="332px"
  418. :chartsColumns="chartsColumns"
  419. :option="option"
  420. :color="colors"
  421. :fontColor="fontColor"
  422. />
  423. </template>
  424. </ventBox1>
  425. </div>
  426. <!-- 风险等级弹窗 -->
  427. <a-modal v-model:visible="visibleGrade" width="850px" :footer="null" :title="titleGrade" centered destroyOnClose>
  428. <warnGradeInfo />
  429. </a-modal>
  430. </div>
  431. </template>
  432. <script setup lang="ts">
  433. import { ref, onMounted, onUnmounted, reactive, computed } from 'vue';
  434. import { useRouter } from 'vue-router';
  435. import { rainBg } from '/@/utils/ui.js';
  436. import { Vue3SeamlessScroll } from 'vue3-seamless-scroll';
  437. import { useGlobSetting } from '/@/hooks/setting';
  438. import { getDisasterProportion } from '../../deviceManager/riskSetting/riskSetting.api';
  439. import { iconsMonitor, chartsColumns, xAxisData, option, colors, fontColor, fireMonitor } from './alarm.data';
  440. import { getTotalList, sysTypeWarnList } from './alarm.api';
  441. import customHeader from '/@/components/vent/customHeader.vue';
  442. import ventBox1 from '/@/components/vent/ventBox1.vue';
  443. import BarSingle from '../../../../components/chart/BarSingle.vue';
  444. import warnGradeEchart from './common/warnGradeEchart.vue';
  445. import warnGradeInfo from './common/warnGradeInfo.vue';
  446. let monitor = ref(true);
  447. let toggleData = reactive({});
  448. let router = useRouter();
  449. let warnLevels = ref('');
  450. let Levels = reactive({});
  451. const warnNumMap = new Map([
  452. ['fire', 0],
  453. ['dust', 0],
  454. ['vent', 0],
  455. ['gas', 0],
  456. ]);
  457. const resetScroll = (e: Event) => {
  458. if (e.target && e.target) (e.target as Element).scrollTop = 0;
  459. };
  460. let windData = reactive({
  461. levels: {},
  462. jf: 0,
  463. hf: 0,
  464. xf: 0,
  465. }); //通风监测数据
  466. let dustData = reactive({
  467. //粉尘监测数据
  468. levels: {},
  469. });
  470. let centerData = reactive({
  471. fire: 0,
  472. tf: 0,
  473. ws: 0,
  474. sb: 0,
  475. fc: 0,
  476. levels: 0,
  477. riskLevel: '-',
  478. });
  479. //瓦斯
  480. let gasMonitor = reactive<any[]>([]);
  481. let gasData = {
  482. sums: 0,
  483. sums1: 0,
  484. };
  485. let fireMonitor1 = reactive<any[]>([]);
  486. let visibleGrade = ref(false); //控制风险等级弹窗显示与隐藏
  487. let titleGrade = ref(''); //风险等级弹窗标题
  488. let showToggle = ref('report');
  489. //点击切换实时\报表数据
  490. let handlerToggle = () => {
  491. monitor.value = !monitor.value;
  492. windData.jf = monitor.value ? toggleData.ventInfo.totalIntM3 : toggleData.ventInfo.zongjinfeng;
  493. windData.hf = monitor.value ? toggleData.ventInfo.totalRetM3 : toggleData.ventInfo.zonghuifeng;
  494. windData.levels = monitor.value ? Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 }) : toggleData.info.sysInfo.ventS.levels;
  495. windData.levels['blue'] = warnNumMap.get('vent');
  496. };
  497. //风险等级点击
  498. let warnGradeClick = () => {
  499. visibleGrade.value = true;
  500. titleGrade.value = '风险等级信息';
  501. };
  502. //跳转详情
  503. function showModal(data) {
  504. switch (data) {
  505. case 'vent':
  506. router.push('/ventilate/warn/home');
  507. break;
  508. case 'fire':
  509. router.push('/fire/warn/home');
  510. break;
  511. case 'dust':
  512. router.push('/dust/warn/home');
  513. break;
  514. case 'waterLevel':
  515. console.log('waterLevel');
  516. router.push('/warn/waterLevel/home');
  517. break;
  518. case 'gas':
  519. router.push('/gas/warn/home');
  520. break;
  521. case 'sbyj':
  522. // router.push('/device/warn/home');
  523. router.push('/device/warn/home');
  524. break;
  525. }
  526. }
  527. // https获取监测数据
  528. let timer: null | NodeJS.Timeout = null;
  529. function getMonitor(flag = false) {
  530. timer = setTimeout(
  531. async () => {
  532. // await getDataSource();
  533. await getList();
  534. if (timer) {
  535. timer = null;
  536. }
  537. getMonitor();
  538. },
  539. flag ? 0 : 20000
  540. );
  541. }
  542. // 获取预警数据
  543. async function getList() {
  544. const res = await getTotalList({});
  545. console.log(res, '预警数据--------------');
  546. fireMonitor1.length = 0;
  547. toggleData = Object.assign({}, res);
  548. if (showToggle.value == 'monitor') {
  549. windData.jf = res.ventInfo.zongjinfeng;
  550. windData.hf = res.ventInfo.zonghuifeng;
  551. windData.levels = res.info.sysInfo.ventS.levels;
  552. windData.levels['blue'] = warnNumMap.get('vent');
  553. } else if (showToggle.value == 'report') {
  554. windData.jf = res.ventInfo.totalIntM3;
  555. windData.hf = res.ventInfo.totalRetM3;
  556. windData.levels = Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 });
  557. windData.levels['blue'] = warnNumMap.get('vent');
  558. } else {
  559. windData.jf = res.ventInfo.totalIntM3;
  560. windData.hf = res.ventInfo.totalRetM3;
  561. windData.levels = Object.assign({}, { alarm: 0, blue: 0, orange: 0, red: 0, yellow: 0 });
  562. windData.levels['blue'] = warnNumMap.get('vent');
  563. }
  564. windData.xf = res.ventInfo.xufengliang;
  565. dustData.levels = res.info.sysInfo.dustS.levels;
  566. dustData.levels['blue'] = warnNumMap.get('dust');
  567. centerData.fire = res.info.sysInfo.fireS.maxLevel;
  568. centerData.tf = res.info.sysInfo.ventS.maxLevel;
  569. centerData.ws = res.info.sysInfo.gasS.maxLevel;
  570. centerData.sb = res.info.deviceWarnInfo.maxLevel;
  571. centerData.fc = res.info.sysInfo.dustS.maxLevel;
  572. centerData.riskLevel = res.info.riskLevel;
  573. Levels = Object.assign({}, await getDisasterProportion());
  574. centerData.levels =
  575. Levels.level > 0 && Levels.level <= 1
  576. ? 101
  577. : Levels.level > 1 && Levels.level <= 2
  578. ? 102
  579. : Levels.level > 2 && Levels.level <= 3
  580. ? 103
  581. : Levels.level > 3 && Levels.level <= 4
  582. ? 104
  583. : 0;
  584. Object.keys(iconsMonitor).forEach((el) => {
  585. if (res.info.devicekindInfo[el]) {
  586. // iconsMonitor[el].level = res.info.devicekindInfo[el].maxLevel;
  587. iconsMonitor[el].text = res.info.devicekindInfo[el].name;
  588. iconsMonitor[el].allCount = res.info.devicekindInfo[el].totalcount;
  589. iconsMonitor[el].warnCount = res.info.devicekindInfo[el].count;
  590. iconsMonitor[el].closeCount = res.info.devicekindInfo[el].netstatus;
  591. }
  592. });
  593. fireMonitor[0].value = res.info.sysInfo.fireS.summaryInfo
  594. ? res.info.sysInfo.fireS.summaryInfo.external.temperature && res.info.sysInfo.fireS.summaryInfo.external.temperature.maxlevel == '0'
  595. ? '正常'
  596. : ''
  597. : '';
  598. fireMonitor[1].value = res.info.sysInfo.fireS.summaryInfo
  599. ? res.info.sysInfo.fireS.summaryInfo.external.smokeval &&
  600. res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel &&
  601. res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel == '0'
  602. ? '正常'
  603. : ''
  604. : '';
  605. fireMonitor[2].value = res.info.sysInfo.fireS.summaryInfo
  606. ? res.info.sysInfo.fireS.summaryInfo.external.fireval &&
  607. res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel &&
  608. res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel == '0'
  609. ? '正常'
  610. : ''
  611. : '';
  612. fireMonitor[3].value = res.info.sysInfo.fireS.summaryInfo
  613. ? res.info.sysInfo.fireS.summaryInfo.external.coval && res.info.sysInfo.fireS.summaryInfo.external.coval.value
  614. ? res.info.sysInfo.fireS.summaryInfo.external.coval.value
  615. : ''
  616. : '';
  617. if (res.bundletubeInfo && res.bundletubeInfo.msgTxt.length != 0 && res.bundletubeInfo.msgTxt[0].datalist.length != 0) {
  618. res.bundletubeInfo.msgTxt[0].datalist.forEach((el, ind) => {
  619. fireMonitor1.push({
  620. warnLevel: el.syswarnLevel_str,
  621. smokeJd: el.syswarnLevel_des,
  622. value1: el.strinstallpos,
  623. });
  624. });
  625. } else {
  626. fireMonitor1.length = 0;
  627. }
  628. gasMonitor.length = 0;
  629. gasData.sums = 0;
  630. gasData.sums1 = 0;
  631. res.info.sysInfo.gasS.devices.forEach((el) => {
  632. gasData.sums += el.gasNumber;
  633. gasData.sums1 += el.pumpNumber;
  634. gasMonitor.push({ label: el.systemname, value: el.gasNumber, value1: el.pumpNumber });
  635. });
  636. }
  637. function getLevelNum() {
  638. return new Promise(async (resolve) => {
  639. const typeArr = ['fire', 'dust', 'vent', 'gas'];
  640. for (let i = 0; i < typeArr.length; i++) {
  641. const type = typeArr[i];
  642. const result = await sysTypeWarnList({ type });
  643. warnNumMap.set(type, result['length']);
  644. }
  645. resolve(null);
  646. });
  647. }
  648. onMounted(async () => {
  649. const { sysOrgCode, sysDataType } = useGlobSetting();
  650. warnLevels.value = sysOrgCode;
  651. showToggle.value = sysDataType || 'report';
  652. await getLevelNum();
  653. await getMonitor(true);
  654. rainBg('rain', 'animation-box');
  655. });
  656. onUnmounted(() => {
  657. clearTimeout(timer);
  658. timer = undefined;
  659. });
  660. </script>
  661. <style lang="less" scoped>
  662. @import '/@/design/theme.less';
  663. @import '/@/design/vent/color.less';
  664. @a: 370px; // 椭圆x轴半径(长半径)
  665. @b: 107px; // 椭圆y轴半径(短半径)
  666. @s: 40; // 坐标点的数目(数目越大,动画越精细)
  667. @bg: #e6e2df;
  668. .loop(@index) when (@index < @s + 1) {
  669. .loop((@index + 1));
  670. @keyframeSel: @index * 100% ./ @s;
  671. @{keyframeSel} {
  672. transform: translate(@a * (cos(360deg ./ @s * @index)), @b * (sin(360deg ./ @s * @index)));
  673. }
  674. }
  675. @{theme-deepblue} {
  676. .sensor-container {
  677. --image-icon-sl: url('/@/assets/images/themify/deepblue/vent/sl.png');
  678. --image-icon-dl: url('/@/assets/images/themify/deepblue/vent/dl.png');
  679. --image-vent-param-bg: url('/@/assets/images/themify/deepblue/vent/vent-param-bg.png');
  680. --image-box-top-bg: url('/@/assets/images/themify/deepblue/vent/border/box2-top-long.png');
  681. // --image-box-top-bg: url('/@/assets/images/themify/deepblue/vent/box-top-bg.png');
  682. --image-fire-bg-top: url('/@/assets/images/themify/deepblue/vent/fire-bg-top.png');
  683. --image-icon-bottom-bg: url('/@/assets/images/themify/deepblue/vent/icon-bottom-bg.png');
  684. --image-outer-icon: url('/@/assets/images/themify/deepblue/vent/outer-icon.svg');
  685. --image-inner-icon: url('/@/assets/images/themify/deepblue/vent/inner-icon.svg');
  686. --image-box-bottom-bg: none;
  687. // --image-box-bottom-bg: url('/@/assets/images/themify/deepblue/vent/box-bottom-bg.png');
  688. --image-center-bg: url('/@/assets/images/themify/deepblue/vent/alarm/center-bg.png');
  689. --image-warning-bg: url('/@/assets/images/themify/deepblue/vent/alarm/warning-bg.png');
  690. --image-warning-icon-bg1: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg1.png');
  691. --image-warning-icon-bg-a1: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a1.png');
  692. --image-warning-icon-bg2: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg2.png');
  693. --image-warning-icon-bg-a2: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a2.png');
  694. --image-warning-icon-bg3: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg3.png');
  695. --image-warning-icon-bg-a3: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a3.png');
  696. --image-warning-icon-bg4: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg4.png');
  697. --image-warning-icon-bg-a4: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a4.png');
  698. --image-warning-icon-bg5: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg5.png');
  699. --image-warning-icon-bg-a5: url('/@/assets/images/themify/deepblue/vent/alarm/warning-icon-bg-a5.png');
  700. --image-bottom1: url('/@/assets/images/themify/deepblue/vent/alarm/bottom1.png');
  701. --image-bottom: url('/@/assets/images/themify/deepblue/vent/alarm/bottom.png');
  702. --image-icon-bg: url('/@/assets/images/themify/deepblue/vent/alarm/icon-bg.png');
  703. --image-icon-animation: url('/@/assets/images/themify/deepblue/vent/alarm/icon-animation.png');
  704. --image-data-bg: url('/@/assets/images/themify/deepblue/vent/alarm/data-bg.png');
  705. --image-icon-fire: url('/@/assets/images/themify/deepblue/vent/alarm/icon-fire.svg');
  706. --image-icon-device: url('/@/assets/images/themify/deepblue/vent/alarm/icon-device.svg');
  707. --image-icon-dust: url('/@/assets/images/themify/deepblue/vent/alarm/icon-dust.svg');
  708. --image-icon-gas: url('/@/assets/images/themify/deepblue/vent/alarm/icon-gas.svg');
  709. --image-icon-vent: url('/@/assets/images/themify/deepblue/vent/alarm/icon-vent.svg');
  710. --image-value-bg: url('/@/assets/images/themify/deepblue/vent/value-bg.png');
  711. --image-plane: url('/@/assets/images/themify/deepblue/vent/plane.png');
  712. --image-small-bg1: url('/@/assets/images/themify/deepblue/vent/small-bg1.png');
  713. --image-plane1: url('/@/assets/images/themify/deepblue/vent/plane1.png');
  714. --container-color: #0e223b;
  715. // --container-image: linear-gradient(#3df6ff00, #2c3f59, #3df6ff00);
  716. --container-image: none;
  717. }
  718. .sensor-container {
  719. .center-box {
  720. position: relative;
  721. .fire-monitor {
  722. border: 1px solid #3a4b5f;
  723. border-radius: 10px;
  724. background: var(--container-color) no-repeat;
  725. padding-top: 20px;
  726. .top {
  727. height: 35px;
  728. background: var(--image-box-top-bg) no-repeat;
  729. background-size: 94% 25px;
  730. background-position: center center;
  731. padding-left: 6%;
  732. text-align: left;
  733. }
  734. }
  735. }
  736. }
  737. }
  738. .sensor-container {
  739. --image-vent-param-bg: url('/@/assets/images/vent/vent-param-bg.png');
  740. --image-box-top-bg: url('/@/assets/images/vent/box-top-bg.png');
  741. --image-fire-bg-top: url('/@/assets/images/vent/fire-bg-top.png');
  742. --image-icon-bottom-bg: url('/@/assets/images/vent/icon-bottom-bg.png');
  743. --image-outer-icon: url('/@/assets/images/vent/outer-icon.svg');
  744. --image-inner-icon: url('/@/assets/images/vent/inner-icon.svg');
  745. --image-box-bottom-bg: url('/@/assets/images/vent/box-bottom-bg.png');
  746. --image-center-bg: url('/@/assets/images/vent/alarm/center-bg.png');
  747. --image-warning-bg: url('/@/assets/images/vent/alarm/warning-bg.png');
  748. --image-warning-icon-bg1: url('/@/assets/images/vent/alarm/warning-icon-bg1.png');
  749. --image-warning-icon-bg-a1: url('/@/assets/images/vent/alarm/warning-icon-bg-a1.png');
  750. --image-warning-icon-bg2: url('/@/assets/images/vent/alarm/warning-icon-bg2.png');
  751. --image-warning-icon-bg-a2: url('/@/assets/images/vent/alarm/warning-icon-bg-a2.png');
  752. --image-warning-icon-bg3: url('/@/assets/images/vent/alarm/warning-icon-bg3.png');
  753. --image-warning-icon-bg-a3: url('/@/assets/images/vent/alarm/warning-icon-bg-a3.png');
  754. --image-warning-icon-bg4: url('/@/assets/images/vent/alarm/warning-icon-bg4.png');
  755. --image-warning-icon-bg-a4: url('/@/assets/images/vent/alarm/warning-icon-bg-a4.png');
  756. --image-warning-icon-bg5: url('/@/assets/images/vent/alarm/warning-icon-bg5.png');
  757. --image-warning-icon-bg-a5: url('/@/assets/images/vent/alarm/warning-icon-bg-a5.png');
  758. --image-bottom1: url('/@/assets/images/vent/alarm/bottom1.png');
  759. --image-bottom: url('/@/assets/images/vent/alarm/bottom.png');
  760. --image-icon-bg: url('/@/assets/images/vent/alarm/icon-bg.png');
  761. --image-icon-animation: url('/@/assets/images/vent/alarm/icon-animation.png');
  762. --image-data-bg: url('/@/assets/images/vent/alarm/data-bg.png');
  763. --image-icon-fire: url('/@/assets/images/vent/alarm/icon-fire.svg');
  764. --image-icon-device: url('/@/assets/images/vent/alarm/icon-device.svg');
  765. --image-icon-dust: url('/@/assets/images/vent/alarm/icon-dust.svg');
  766. --image-icon-gas: url('/@/assets/images/vent/alarm/icon-gas.svg');
  767. --image-icon-vent: url('/@/assets/images/vent/alarm/icon-vent.svg');
  768. --image-icon-sl: url('/@/assets/images/vent/alarm/sl.png');
  769. --image-icon-dl: url('/@/assets/images/vent/alarm/dl.png');
  770. --image-value-bg: url('/@/assets/images/vent/value-bg.png');
  771. --image-plane: url('/@/assets/images/vent/plane.png');
  772. --image-small-bg1: url('/@/assets/images/vent/small-bg1.png');
  773. --image-plane1: url('/@/assets/images/vent/plane1.png');
  774. --container-color: #00213236;
  775. --container-image: linear-gradient(#3df6ff00, #3df6ff, #3df6ff00);
  776. width: 100%;
  777. height: calc(100% - 86px);
  778. display: flex;
  779. position: relative;
  780. top: 78px;
  781. .lr {
  782. width: 650px;
  783. height: 100%;
  784. // background-color: #ffffff10;
  785. }
  786. .left-box {
  787. .vent-param {
  788. width: 100%;
  789. margin-top: 10px;
  790. .light-group {
  791. display: flex;
  792. flex-direction: row;
  793. justify-content: space-between;
  794. position: relative;
  795. .param-item {
  796. width: 150px;
  797. display: flex;
  798. flex-direction: column;
  799. justify-content: center;
  800. align-items: center;
  801. position: reactive;
  802. .icon {
  803. display: block;
  804. position: absolute;
  805. top: -5px;
  806. }
  807. .param {
  808. display: flex;
  809. flex-direction: column;
  810. justify-content: center;
  811. align-items: center;
  812. .param-icon {
  813. width: 121px;
  814. height: 69px;
  815. background: var(--image-vent-param-bg);
  816. display: flex;
  817. flex-direction: column;
  818. justify-content: center;
  819. align-items: center;
  820. position: relative;
  821. top: -20px;
  822. margin-top: 10px;
  823. .param-title {
  824. position: relative;
  825. top: -4px;
  826. }
  827. .param-unit {
  828. position: relative;
  829. top: -2px;
  830. font-size: 12px;
  831. }
  832. }
  833. .param-val-box {
  834. display: flex;
  835. flex-direction: column;
  836. justify-content: center;
  837. align-items: center;
  838. position: relative;
  839. top: -20px;
  840. .param-val-icon {
  841. width: 2px;
  842. height: 15px;
  843. background: #00d8ff;
  844. position: relative;
  845. &::after {
  846. content: '';
  847. display: block;
  848. position: absolute;
  849. width: 6px;
  850. height: 6px;
  851. border-radius: 3px;
  852. background: #00d8ff;
  853. bottom: -2px;
  854. left: -2px;
  855. }
  856. }
  857. .param-val {
  858. position: relative;
  859. font-family: 'douyuFont';
  860. // color: #20dbfd;
  861. text-shadow: 0 0 25px #00d8ff;
  862. font-size: 13px;
  863. border: 1px solid #40b7f3;
  864. padding: 5px 30px 2px 30px;
  865. top: 2px;
  866. &::after {
  867. width: calc(100% - 4px);
  868. height: calc(100% - 4px);
  869. content: '';
  870. position: absolute;
  871. top: 2px;
  872. left: 2px;
  873. display: block;
  874. border: 1px solid #006ea6;
  875. }
  876. }
  877. }
  878. }
  879. }
  880. }
  881. }
  882. .icons-box {
  883. height: 365px;
  884. overflow-y: hidden;
  885. &:hover {
  886. overflow-y: auto;
  887. overflow-x: auto;
  888. }
  889. .icon-item {
  890. position: relative;
  891. display: flex;
  892. align-items: center;
  893. justify-content: center;
  894. padding: 3px;
  895. &:nth-child(even) {
  896. padding-right: 0px;
  897. }
  898. .level-text {
  899. width: 245px;
  900. display: flex;
  901. justify-content: space-around;
  902. position: absolute;
  903. top: 48px;
  904. left: 180px;
  905. color: #ffffffe0;
  906. font-size: 13px;
  907. text-align: center;
  908. letter-spacing: 1px;
  909. .num-count,
  910. .num-count1 {
  911. font-family: 'douyuFont';
  912. font-size: 12px;
  913. }
  914. .warn-count,
  915. .close-count {
  916. .num-count {
  917. color: #ffffffe0;
  918. }
  919. .num-count1 {
  920. color: #ff0000;
  921. }
  922. }
  923. }
  924. img {
  925. width: 427px;
  926. height: 79px;
  927. }
  928. }
  929. .wrapper {
  930. position: absolute;
  931. top: 48px;
  932. left: 112px;
  933. color: #ffffffe0;
  934. font-size: 13px;
  935. text-align: center;
  936. letter-spacing: 1px;
  937. }
  938. }
  939. @keyframes move {
  940. 0% {
  941. transform: translateY(0px);
  942. }
  943. 100% {
  944. transform: translateY(-269px);
  945. }
  946. }
  947. @keyframes move1 {
  948. 0% {
  949. transform: translateY(0px);
  950. }
  951. }
  952. }
  953. .center-box {
  954. position: relative;
  955. width: calc(100% - 710px);
  956. // background-color: #ffffff10;
  957. margin: 0 8px;
  958. display: flex;
  959. flex-direction: column;
  960. justify-content: flex-end;
  961. .echart-warn-grade {
  962. position: absolute;
  963. left: -20px;
  964. top: 0;
  965. width: 400px;
  966. height: 200px;
  967. }
  968. .btn-warn-grade {
  969. position: absolute;
  970. right: 30px;
  971. top: 10px;
  972. }
  973. .fire-monitor {
  974. display: flex;
  975. flex-direction: column;
  976. width: 100%;
  977. position: relative;
  978. .top {
  979. width: 100%;
  980. height: 35px;
  981. background: var(--image-box-top-bg);
  982. background-size: 100% 100%;
  983. text-align: center;
  984. color: var(--vent-font-color);
  985. padding-top: 6px;
  986. }
  987. .container {
  988. width: calc(100% - 2px);
  989. min-height: 50px;
  990. padding: 0 10px;
  991. color: var(--vent-font-color);
  992. background-color: var(--container-color);
  993. backdrop-filter: blur(5px);
  994. &::before {
  995. content: '';
  996. display: block;
  997. position: absolute;
  998. top: 5px;
  999. left: 0;
  1000. width: 1px;
  1001. height: calc(100% - 10px);
  1002. background-image: var(--container-image);
  1003. }
  1004. &::after {
  1005. content: '';
  1006. display: block;
  1007. position: absolute;
  1008. right: 0;
  1009. top: 5px;
  1010. width: 1px;
  1011. height: calc(100% - 10px);
  1012. background: var(--container-image);
  1013. }
  1014. .item {
  1015. height: 130px;
  1016. width: 100%;
  1017. position: relative;
  1018. top: -10px;
  1019. display: flex;
  1020. // justify-content: space-between;
  1021. align-content: center;
  1022. padding-top: 50px;
  1023. &::before {
  1024. content: '';
  1025. width: 100%;
  1026. height: 150px;
  1027. position: absolute;
  1028. top: 0px;
  1029. background: var(--image-fire-bg-top);
  1030. background-size: 100% 100%;
  1031. }
  1032. .icon {
  1033. width: 82px;
  1034. height: 36px;
  1035. margin: 0 20px 0 50px;
  1036. background: var(--image-icon-bottom-bg);
  1037. position: relative;
  1038. top: 30px;
  1039. &::after {
  1040. position: absolute;
  1041. content: '';
  1042. width: 50px;
  1043. height: 50px;
  1044. top: -25px;
  1045. left: 20px;
  1046. background: var(--image-outer-icon) no-repeat;
  1047. }
  1048. }
  1049. .data-box1 {
  1050. display: flex;
  1051. flex-direction: column;
  1052. width: 118px;
  1053. align-items: center;
  1054. .value {
  1055. font-size: 16px;
  1056. font-family: 'douyuFont';
  1057. color: #2bdcff;
  1058. margin-bottom: 5px;
  1059. }
  1060. .value1 {
  1061. font-size: 16px;
  1062. font-family: 'douyuFont';
  1063. margin-bottom: 5px;
  1064. color: rgb(145, 230, 9);
  1065. }
  1066. .value2 {
  1067. font-size: 16px;
  1068. font-family: 'douyuFont';
  1069. margin-bottom: 5px;
  1070. // color: rgb(0, 242, 255);
  1071. color: #ffff35;
  1072. }
  1073. .value3 {
  1074. font-size: 16px;
  1075. font-family: 'douyuFont';
  1076. margin-bottom: 5px;
  1077. // color: #ffff35;
  1078. color: #ff0000;
  1079. }
  1080. .value4 {
  1081. font-size: 16px;
  1082. font-family: 'douyuFont';
  1083. margin-bottom: 5px;
  1084. color: #ffbe69;
  1085. }
  1086. .value5 {
  1087. font-size: 16px;
  1088. font-family: 'douyuFont';
  1089. margin-bottom: 5px;
  1090. color: #ff6f00;
  1091. }
  1092. .value6 {
  1093. font-size: 16px;
  1094. font-family: 'douyuFont';
  1095. margin-bottom: 5px;
  1096. color: #ff0000;
  1097. }
  1098. .title {
  1099. font-size: 13px;
  1100. }
  1101. }
  1102. .seamless-warp1 {
  1103. width: 625px;
  1104. height: 75%;
  1105. overflow: hidden;
  1106. .data-box {
  1107. display: flex;
  1108. width: 625px;
  1109. justify-content: center;
  1110. align-items: center;
  1111. margin: 50px auto;
  1112. .box-item {
  1113. width: 25%;
  1114. height: 100%;
  1115. display: flex;
  1116. flex-direction: column;
  1117. align-items: center;
  1118. padding: 0 20px;
  1119. .value {
  1120. font-size: 16px;
  1121. font-family: 'douyuFont';
  1122. color: #2bdcff;
  1123. margin-bottom: 5px;
  1124. }
  1125. .value1 {
  1126. font-size: 16px;
  1127. font-family: 'douyuFont';
  1128. margin-bottom: 5px;
  1129. color: rgb(145, 230, 9);
  1130. }
  1131. .value2 {
  1132. font-size: 16px;
  1133. font-family: 'douyuFont';
  1134. margin-bottom: 5px;
  1135. // color: rgb(0, 242, 255);
  1136. color: #ffff35;
  1137. }
  1138. .value3 {
  1139. font-size: 16px;
  1140. font-family: 'douyuFont';
  1141. margin-bottom: 5px;
  1142. // color: #ffff35;
  1143. color: #ff0000;
  1144. }
  1145. .value4 {
  1146. font-size: 16px;
  1147. font-family: 'douyuFont';
  1148. margin-bottom: 5px;
  1149. color: #ffbe69;
  1150. }
  1151. .value5 {
  1152. font-size: 16px;
  1153. font-family: 'douyuFont';
  1154. margin-bottom: 5px;
  1155. color: #ff6f00;
  1156. }
  1157. .value6 {
  1158. font-size: 16px;
  1159. font-family: 'douyuFont';
  1160. margin-bottom: 5px;
  1161. color: #ff0000;
  1162. }
  1163. .title {
  1164. font-size: 13px;
  1165. }
  1166. }
  1167. .box-item1 {
  1168. width: 50%;
  1169. height: 100%;
  1170. display: flex;
  1171. flex-direction: column;
  1172. align-items: center;
  1173. padding: 0 20px;
  1174. .value {
  1175. font-size: 16px;
  1176. font-family: 'douyuFont';
  1177. color: #2bdcff;
  1178. margin-bottom: 5px;
  1179. }
  1180. .value1 {
  1181. font-size: 16px;
  1182. font-family: 'douyuFont';
  1183. margin-bottom: 5px;
  1184. color: rgb(145, 230, 9);
  1185. }
  1186. .value2 {
  1187. font-size: 16px;
  1188. font-family: 'douyuFont';
  1189. margin-bottom: 5px;
  1190. // color: rgb(0, 242, 255);
  1191. color: #ffff35;
  1192. }
  1193. .value3 {
  1194. font-size: 16px;
  1195. font-family: 'douyuFont';
  1196. margin-bottom: 5px;
  1197. // color: #ffff35;
  1198. color: #ff0000;
  1199. }
  1200. .value4 {
  1201. font-size: 16px;
  1202. font-family: 'douyuFont';
  1203. margin-bottom: 5px;
  1204. color: #ffbe69;
  1205. }
  1206. .value5 {
  1207. font-size: 16px;
  1208. font-family: 'douyuFont';
  1209. margin-bottom: 5px;
  1210. color: #ff6f00;
  1211. }
  1212. .value6 {
  1213. font-size: 16px;
  1214. font-family: 'douyuFont';
  1215. margin-bottom: 5px;
  1216. color: #ff0000;
  1217. }
  1218. .title {
  1219. font-size: 13px;
  1220. }
  1221. }
  1222. }
  1223. }
  1224. }
  1225. .item1 {
  1226. top: -10px;
  1227. &::before {
  1228. transform: matrix(1, 0, 0, -1, 0, 0);
  1229. }
  1230. .icon {
  1231. &::after {
  1232. background: var(--image-inner-icon) no-repeat;
  1233. }
  1234. }
  1235. }
  1236. }
  1237. .bottom {
  1238. width: 100%;
  1239. height: 35px;
  1240. background: var(--image-box-bottom-bg);
  1241. background-size: 100% 100%;
  1242. position: absolute;
  1243. bottom: 0;
  1244. }
  1245. }
  1246. .animation-box {
  1247. height: fit-content;
  1248. flex: 1;
  1249. margin-bottom: 10px;
  1250. background: var(--image-center-bg);
  1251. background-size: contain;
  1252. background-position: center;
  1253. display: flex;
  1254. flex-direction: column;
  1255. align-items: center;
  1256. position: relative;
  1257. top: 45px;
  1258. .rain {
  1259. position: absolute;
  1260. }
  1261. .bottom {
  1262. width: 528px;
  1263. height: 395px;
  1264. background-repeat: no-repeat;
  1265. position: absolute;
  1266. z-index: 999;
  1267. &::before {
  1268. content: '';
  1269. width: 325px;
  1270. height: 379px;
  1271. position: absolute;
  1272. left: 105px;
  1273. top: -60px;
  1274. background: var(--image-warning-bg) no-repeat;
  1275. }
  1276. .animation1 {
  1277. width: 390px;
  1278. height: 78px;
  1279. position: absolute;
  1280. top: -30px;
  1281. left: 80px;
  1282. z-index: 999;
  1283. // animation: rotate3 3s linear infinite;
  1284. .ball {
  1285. position: absolute;
  1286. width: 12px;
  1287. height: 12px;
  1288. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);
  1289. border-radius: 6px;
  1290. background-size: cover;
  1291. offset-path: path(
  1292. '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'
  1293. );
  1294. animation: 10s linear 0s infinite alternate ball;
  1295. }
  1296. }
  1297. .animation2 {
  1298. width: 430px;
  1299. height: 92px;
  1300. position: absolute;
  1301. top: 0px;
  1302. left: 60px;
  1303. z-index: 999;
  1304. // animation: rotate4 3s linear infinite;
  1305. .ball1 {
  1306. position: absolute;
  1307. width: 12px;
  1308. height: 12px;
  1309. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);
  1310. border-radius: 6px;
  1311. background-size: cover;
  1312. offset-path: path(
  1313. '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'
  1314. );
  1315. animation: 10s linear 0s infinite alternate ball1;
  1316. }
  1317. }
  1318. .text-box {
  1319. width: 100%;
  1320. display: flex;
  1321. flex-direction: column;
  1322. color: var(--vent-font-color);
  1323. align-items: center;
  1324. margin-top: 30px;
  1325. .text1 {
  1326. font-size: 26px;
  1327. font-weight: 600;
  1328. letter-spacing: 2px;
  1329. padding-top: 20px;
  1330. position: relative;
  1331. top: 30px;
  1332. // margin-bottom: 10px;
  1333. }
  1334. .text2 {
  1335. font-size: 20px;
  1336. color: #ffffffdd;
  1337. font-weight: 600;
  1338. margin-top: 10px;
  1339. position: relative;
  1340. top: 30px;
  1341. }
  1342. .text3 {
  1343. font-size: 16px;
  1344. color: #ffffffdd;
  1345. margin-top: 10px;
  1346. position: relative;
  1347. top: 20px;
  1348. }
  1349. }
  1350. .icon-animation {
  1351. width: 178px;
  1352. height: 208px;
  1353. margin: 0 auto;
  1354. top: -130px;
  1355. left: 4px;
  1356. position: relative;
  1357. animation: 0.5s linear 0s infinite alternate iconMove;
  1358. }
  1359. }
  1360. .bottom1 {
  1361. background-image: var(--image-warning-icon-bg1);
  1362. .icon-animation {
  1363. background: var(--image-warning-icon-bg-a1);
  1364. }
  1365. .text-box {
  1366. .text1 {
  1367. color: #00d8ff;
  1368. }
  1369. }
  1370. }
  1371. .bottom2 {
  1372. background-image: var(--image-warning-icon-bg2);
  1373. .icon-animation {
  1374. background: var(--image-warning-icon-bg-a2);
  1375. }
  1376. .text-box {
  1377. .text1 {
  1378. color: #fcfc22;
  1379. }
  1380. }
  1381. }
  1382. .bottom3 {
  1383. background-image: var(--image-warning-icon-bg3);
  1384. .icon-animation {
  1385. background: var(--image-warning-icon-bg-a3);
  1386. }
  1387. .text-box {
  1388. .text1 {
  1389. color: #ff7010;
  1390. }
  1391. }
  1392. }
  1393. .bottom4 {
  1394. background-image: var(--image-warning-icon-bg4);
  1395. .icon-animation {
  1396. background: var(--image-warning-icon-bg-a4);
  1397. }
  1398. .text-box {
  1399. .text1 {
  1400. color: #df4e43;
  1401. }
  1402. }
  1403. }
  1404. .bottom5 {
  1405. background-image: var(--image-warning-icon-bg5);
  1406. .icon-animation {
  1407. background: var(--image-warning-icon-bg-a5);
  1408. }
  1409. .text-box {
  1410. .text1 {
  1411. color: #ff2313;
  1412. // animation: color-blink 1s infinite;
  1413. }
  1414. // @keyframes color-blink {
  1415. // 0% { color: red; }
  1416. // 50% { color: blue; }
  1417. // 100% { color: red; }
  1418. // }
  1419. }
  1420. }
  1421. .total-item-monitor-box {
  1422. width: 100%;
  1423. height: 237px;
  1424. position: relative;
  1425. top: 180px;
  1426. left: 265px;
  1427. background: var(--image-bottom1) no-repeat;
  1428. background-size: contain;
  1429. &::after {
  1430. content: '';
  1431. width: 750px;
  1432. height: 750px;
  1433. position: absolute;
  1434. transform-style: preserve-3d;
  1435. transform: translateX(0%) translateY(0%) rotateX(72deg);
  1436. background: var(--image-bottom);
  1437. animation: rotate1 3s linear infinite;
  1438. top: -200px;
  1439. left: -180px;
  1440. }
  1441. .item {
  1442. position: absolute;
  1443. // width: 107px;
  1444. // height: 107px;
  1445. // left: 120px;
  1446. // top: 115px;
  1447. // animation: red-ball 10s linear infinite;
  1448. .icon-box {
  1449. width: 100px;
  1450. height: 100px;
  1451. position: relative;
  1452. z-index: 0;
  1453. &::before {
  1454. position: absolute;
  1455. content: '';
  1456. width: 105px;
  1457. height: 68px;
  1458. top: 15px;
  1459. z-index: -1;
  1460. background: var(--image-icon-bg) no-repeat;
  1461. }
  1462. &::after {
  1463. position: absolute;
  1464. content: '';
  1465. width: 71px;
  1466. height: 71px;
  1467. top: 26px;
  1468. left: 14px;
  1469. z-index: 1;
  1470. background: var(--image-icon-animation) no-repeat;
  1471. transform: translateX(0%) rotateX(70deg);
  1472. animation: rotate2 2s linear infinite;
  1473. }
  1474. .icon {
  1475. width: 100px;
  1476. height: 100px;
  1477. background-repeat: no-repeat;
  1478. background-position: top center;
  1479. position: relative;
  1480. top: 5px;
  1481. }
  1482. }
  1483. .item-monitor-box {
  1484. color: var(--vent-font-color);
  1485. position: relative;
  1486. top: -135px;
  1487. left: -20px;
  1488. font-weight: 600;
  1489. // background: #06020066;
  1490. padding: 5px 20px 8px 20px;
  1491. &::before {
  1492. position: absolute;
  1493. content: '';
  1494. width: 196px;
  1495. height: 48px;
  1496. left: -20px;
  1497. top: -10px;
  1498. background: var(--image-data-bg);
  1499. }
  1500. .value {
  1501. color: #2bdcff;
  1502. margin-left: 20px;
  1503. }
  1504. .value1 {
  1505. font-size: 16px;
  1506. font-weight: 800;
  1507. margin-top: 6px;
  1508. margin-left: 10px;
  1509. color: #ff0000;
  1510. animation: color-blink 1s infinite;
  1511. }
  1512. @keyframes color-blink {
  1513. 0% {
  1514. color: red;
  1515. }
  1516. 50% {
  1517. color: rgb(198, 0, 0);
  1518. }
  1519. 100% {
  1520. color: rgb(255, 18, 18);
  1521. }
  1522. }
  1523. }
  1524. }
  1525. .item1 {
  1526. top: 230px;
  1527. left: 150px;
  1528. .icon {
  1529. background-image: var(--image-icon-fire);
  1530. }
  1531. }
  1532. .item2 {
  1533. top: 215px;
  1534. left: -65px;
  1535. .icon {
  1536. background-image: var(--image-icon-device);
  1537. }
  1538. }
  1539. .item3 {
  1540. top: 215px;
  1541. left: 350px;
  1542. .icon {
  1543. background-image: var(--image-icon-dust);
  1544. }
  1545. }
  1546. .item4 {
  1547. top: 97px;
  1548. left: 475px;
  1549. .icon {
  1550. background-image: var(--image-icon-gas);
  1551. }
  1552. .item-monitor-box {
  1553. top: -155px;
  1554. &::before {
  1555. top: 10px;
  1556. }
  1557. }
  1558. }
  1559. .item5 {
  1560. top: 97px;
  1561. left: -185px;
  1562. .icon {
  1563. background-image: var(--image-icon-vent);
  1564. }
  1565. }
  1566. .item6 {
  1567. top: 0px;
  1568. left: -30px;
  1569. .icon {
  1570. background-image: var(--image-icon-sl);
  1571. }
  1572. }
  1573. .item7 {
  1574. top: 0px;
  1575. left: 340px;
  1576. .icon {
  1577. background-image: var(--image-icon-dl)
  1578. }
  1579. }
  1580. }
  1581. @keyframes iconMove {
  1582. 100% {
  1583. opacity: 0;
  1584. }
  1585. }
  1586. @keyframes rotate1 {
  1587. 0% {
  1588. transform: translateX(0%) rotateX(72deg) rotateZ(-360deg);
  1589. }
  1590. 100% {
  1591. transform: translateX(0%) rotateX(72deg) rotateZ(0);
  1592. }
  1593. }
  1594. @keyframes rotate2 {
  1595. 0% {
  1596. transform: translateX(0%) rotateX(70deg) rotateZ(0);
  1597. }
  1598. 100% {
  1599. transform: translateX(0%) rotateX(70deg) rotateZ(-360deg);
  1600. }
  1601. }
  1602. @keyframes rotate3 {
  1603. 0% {
  1604. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1605. }
  1606. 100% {
  1607. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1608. }
  1609. }
  1610. @keyframes rotate4 {
  1611. 100% {
  1612. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1613. }
  1614. 0% {
  1615. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1616. }
  1617. }
  1618. @keyframes ball {
  1619. 100% {
  1620. offset-distance: 100%;
  1621. }
  1622. 0% {
  1623. offset-distance: 0%;
  1624. }
  1625. }
  1626. @keyframes ball1 {
  1627. 0% {
  1628. offset-distance: 100%;
  1629. }
  1630. 100% {
  1631. offset-distance: 0%;
  1632. }
  1633. }
  1634. }
  1635. }
  1636. .right-box {
  1637. .dust-monitor {
  1638. display: flex;
  1639. justify-content: space-between;
  1640. padding: 0 20px;
  1641. margin-bottom: 20px;
  1642. margin-top: 15px;
  1643. .value {
  1644. width: 131px;
  1645. height: 44px;
  1646. background: var(--image-value-bg);
  1647. display: flex;
  1648. justify-content: center;
  1649. align-items: center;
  1650. }
  1651. .title {
  1652. text-align: center;
  1653. margin-bottom: 5px;
  1654. }
  1655. .value {
  1656. font-size: 16px;
  1657. font-family: 'douyuFont';
  1658. color: #3df5ff;
  1659. }
  1660. }
  1661. .gas-box {
  1662. height: 390px;
  1663. display: flex;
  1664. justify-content: space-between;
  1665. padding: 0 10px;
  1666. .gas-item {
  1667. position: relative;
  1668. .top {
  1669. height: 136px;
  1670. padding-top: 30px;
  1671. .value {
  1672. font-size: 26px;
  1673. font-family: 'douyuFont';
  1674. color: #3df5ff;
  1675. text-align: center;
  1676. margin-bottom: 5px;
  1677. }
  1678. .title {
  1679. width: 205px;
  1680. height: 48px;
  1681. text-align: center;
  1682. background: var(--image-plane) no-repeat;
  1683. background-size: contain;
  1684. background-position: bottom;
  1685. }
  1686. &::before {
  1687. position: absolute;
  1688. content: '';
  1689. width: 136px;
  1690. height: 101px;
  1691. left: 35px;
  1692. top: 15px;
  1693. background: var(--image-small-bg1) no-repeat;
  1694. background-size: cover;
  1695. }
  1696. }
  1697. .detail-box {
  1698. position: relative;
  1699. margin: 0 auto;
  1700. width: 184px;
  1701. height: calc(100% - 136px);
  1702. background: linear-gradient(to bottom, transparent, #00679b77) no-repeat;
  1703. background-size: cover;
  1704. display: flex;
  1705. flex-direction: column;
  1706. justify-content: flex-start;
  1707. align-items: center;
  1708. overflow-y: auto;
  1709. // padding: 50px 0 20px 0;
  1710. &::after {
  1711. position: absolute;
  1712. content: '';
  1713. left: 0px;
  1714. bottom: 0px;
  1715. width: 184px;
  1716. height: 31px;
  1717. background: var(--image-plane1) no-repeat center;
  1718. background-size: 100% 100%;
  1719. background-position: bottom;
  1720. }
  1721. .detail-item {
  1722. width: 100%;
  1723. height: 40px;
  1724. background-image: linear-gradient(to right, #39a3ff66, #39a3ff00);
  1725. // margin: 5px 0;
  1726. display: flex;
  1727. padding: 0 10px;
  1728. justify-content: space-between;
  1729. align-items: center;
  1730. margin-bottom: 30px;
  1731. .value {
  1732. font-size: 16px;
  1733. font-family: 'douyuFont';
  1734. color: #2bdcff;
  1735. text-align: center;
  1736. }
  1737. }
  1738. }
  1739. }
  1740. }
  1741. }
  1742. .monitor-title {
  1743. cursor: pointer;
  1744. }
  1745. .icon-toggle {
  1746. position: absolute;
  1747. left: 18px;
  1748. top: 6px;
  1749. img {
  1750. width: 24px;
  1751. height: 24px;
  1752. cursor: pointer;
  1753. }
  1754. }
  1755. }
  1756. </style>