index.vue 61 KB

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