index.vue 62 KB

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