index.vue 64 KB

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