index.vue 64 KB

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