index.vue 61 KB

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