index.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266
  1. <template>
  2. <customHeader>预警监测管控系统</customHeader>
  3. <div class="sensor-container">
  4. <div class="lr left-box">
  5. <ventBox1>
  6. <template #title>
  7. <div class="monitor-title" @click="showModal('vent')">通风监测</div>
  8. </template>
  9. <template #container>
  10. <!-- <div ref="alarmCounts" style="height: 160px" id="alarmCounts"></div> -->
  11. <div class="vent-param">
  12. <div class="light-group">
  13. <div class="param-item">
  14. <div class="param">
  15. <div class="param-icon">
  16. <div class="param-title">总进风量</div>
  17. <div class="param-unit">(m³/min)</div>
  18. </div>
  19. <div class="param-val-box">
  20. <div class="param-val-icon"></div>
  21. <div class="param-val">{{ windData.jf || 0 }}</div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="param-item">
  26. <div class="param">
  27. <div class="param-icon">
  28. <div class="param-title">总回风量</div>
  29. <div class="param-unit">(m³/min)</div>
  30. </div>
  31. <div class="param-val-box">
  32. <div class="param-val-icon"></div>
  33. <div class="param-val">{{ windData.hf || 0 }}</div>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="param-item">
  38. <div class="param">
  39. <div class="param-icon">
  40. <div class="param-title">总需风量</div>
  41. <div class="param-unit">(m³/min)</div>
  42. </div>
  43. <div class="param-val-box">
  44. <div class="param-val-icon"></div>
  45. <div class="param-val">{{ windData.xf || 0 }}</div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <!-- <div ref="alarmCounts" style="height: 225px" id="alarmCounts"></div> -->
  52. <BarSingle
  53. :xAxisData="xAxisData"
  54. :dataSource="windData.levels"
  55. height="225px"
  56. :chartsColumns="chartsColumns"
  57. :option="option"
  58. :color="colors"
  59. :fontColor="fontColor"
  60. />
  61. </template>
  62. </ventBox1>
  63. <ventBox1 class="vent-margin-t-10">
  64. <template #title>
  65. <div class="monitor-title" @click="showModal('sbyj')">设备预警监测</div>
  66. </template>
  67. <template #container>
  68. <div class="icons-box" @mouseleave="resetScroll">
  69. <div class="icon-item" v-for="(item, key) in iconsMonitor" :key="key">
  70. <div class="wrapper">
  71. {{ item.text }}
  72. </div>
  73. <div></div>
  74. <img :src="item.url" :alt="item.text" />
  75. <div
  76. class="level-text"
  77. :class="{
  78. 'level-text-1': item.level == 101 || item.level==0,
  79. 'level-text-2': item.level == 102,
  80. 'level-text-3': item.level == 103,
  81. 'level-text-4': item.level == 104,
  82. 'level-text-5': item.level == 201,
  83. }"
  84. >{{
  85. item.level == 101
  86. ? '正常'
  87. :item.level==0
  88. ? '正常'
  89. : item.level == 102
  90. ? '低风险'
  91. : item.level == 103
  92. ? '中风险'
  93. : item.level == 104
  94. ? '高风险'
  95. : item.level == 201
  96. ? '报警'
  97. : ''
  98. }}</div
  99. >
  100. </div>
  101. </div>
  102. </template>
  103. </ventBox1>
  104. </div>
  105. <div class="center-box">
  106. <div class="animation-box">
  107. <canvas class="rain"></canvas>
  108. <div
  109. class="bottom"
  110. :class="{
  111. bottom1: centerData.levels == 101,
  112. bottom2: centerData.levels == 102,
  113. bottom3: centerData.levels == 103,
  114. bottom4: centerData.levels == 104,
  115. bottom5: centerData.levels == 201,
  116. }"
  117. >
  118. <div class="animation1">
  119. <div class="ball"></div>
  120. <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">
  121. <g id="组_14135" data-name="组 14135" transform="translate(-755.058 -139.886)">
  122. <path
  123. id="椭圆_2595"
  124. data-name="椭圆 2595"
  125. 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"
  126. transform="translate(755.808 140.636)"
  127. fill="#28a6ff"
  128. opacity="0.7"
  129. />
  130. </g>
  131. </svg>
  132. </div>
  133. <div class="animation2">
  134. <div class="ball1"></div>
  135. <svg xmlns="http://www.w3.org/2000/svg" width="414.878" height="91.7" viewBox="0 0 414.878 91.7">
  136. <g id="组_14136" data-name="组 14136" transform="translate(-721.822 -158.273)">
  137. <path
  138. id="椭圆_2595"
  139. data-name="椭圆 2595"
  140. 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"
  141. transform="translate(722.572 159.023)"
  142. fill="#3dd8ff"
  143. opacity="0.5"
  144. />
  145. </g>
  146. </svg>
  147. </div>
  148. <div class="text-box">
  149. <div class="text1">{{
  150. centerData.levels == 101
  151. ? '正常'
  152. : centerData.levels == 102
  153. ? '低风险'
  154. : centerData.levels == 103
  155. ? '中风险'
  156. : centerData.levels == 104
  157. ? '高风险'
  158. : centerData.levels == 201
  159. ? '报警'
  160. : '--'
  161. }}</div>
  162. <div class="text2">风险分析</div>
  163. </div>
  164. <div class="icon-animation"></div>
  165. </div>
  166. <div class="total-item-monitor-box">
  167. <div class="item item1">
  168. <div class="icon-box">
  169. <div class="icon"></div>
  170. </div>
  171. <div class="item-monitor-box">
  172. <span class="title">火灾监测</span>
  173. <span class="value value1">{{ centerData.fire }}</span>
  174. </div>
  175. </div>
  176. <div class="item item2">
  177. <div class="icon-box">
  178. <div class="icon"></div>
  179. </div>
  180. <div class="item-monitor-box">
  181. <span class="title">设备监测</span>
  182. <span class="value value">{{ centerData.sb }}</span>
  183. </div>
  184. </div>
  185. <div class="item item3">
  186. <div class="icon-box">
  187. <div class="icon"></div>
  188. </div>
  189. <div class="item-monitor-box">
  190. <span class="title">瓦斯监测</span>
  191. <span class="value">{{ centerData.ws }}</span>
  192. <div class="">
  193. <span class="title">矿井瓦斯鉴定等级监测</span>
  194. <span class="value">低瓦斯</span>
  195. </div>
  196. </div>
  197. </div>
  198. <div class="item item4">
  199. <div class="icon-box">
  200. <div class="icon"></div>
  201. </div>
  202. <div class="item-monitor-box">
  203. <span class="title">粉尘监测</span>
  204. <span class="value">{{ centerData.fc }}</span>
  205. </div>
  206. </div>
  207. <div class="item item5">
  208. <div class="icon-box">
  209. <div class="icon"></div>
  210. </div>
  211. <div class="item-monitor-box">
  212. <span class="title">通风监测</span>
  213. <span class="value">{{ centerData.tf }}</span>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="fire-monitor">
  219. <div class="monitor-title top" @click="showModal('fire')">火灾监测</div>
  220. <div class="container">
  221. <div class="item item1">
  222. <div class="icon"></div>
  223. <div class="data-box" v-for="(item, index) in fireMonitor1" :key="index">
  224. <div class="value" :style="{ color: item.value == '报警' ? '#ff0000' : '' }">{{ item.value }} </div>
  225. <div class="title">{{ item.title }}</div>
  226. </div>
  227. </div>
  228. <div class="item">
  229. <div class="icon"></div>
  230. <div class="data-box" v-for="(item, index) in fireMonitor" :key="index">
  231. <div class="value"> {{ item.value }} </div>
  232. <div class="title">{{ item.title }}</div>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="bottom"></div>
  237. </div>
  238. </div>
  239. <div class="lr right-box">
  240. <ventBox1>
  241. <template #title>
  242. <div class="monitor-title" @click="showModal('dust')">粉尘监测</div>
  243. </template>
  244. <template #container>
  245. <!-- <div ref="alarmCounts" style="height: 160px" id="alarmCounts"></div> -->
  246. <div class="dust-monitor">
  247. <div v-for="(item, index) in dustMonitor" :key="index" class="item-box">
  248. <div class="title">{{ item.title }}</div>
  249. <div class="value">0个</div>
  250. </div>
  251. </div>
  252. <!-- <div ref="alarmCounts" style="height: 225px" id="alarmCounts"></div> -->
  253. <BarSingle
  254. :xAxisData="xAxisData"
  255. :dataSource="dustData.levels"
  256. height="225px"
  257. :chartsColumns="chartsColumns"
  258. :option="option"
  259. :color="colors"
  260. :fontColor="fontColor"
  261. />
  262. </template>
  263. </ventBox1>
  264. <ventBox1 class="vent-margin-t-10">
  265. <template #title>
  266. <div class="monitor-title" @click="showModal('gas')">瓦斯监测</div>
  267. </template>
  268. <template #container>
  269. <div class="gas-box">
  270. <div class="gas-item">
  271. <div class="top">
  272. <div class="value">10</div>
  273. <div class="title">安全监测系统监测点</div>
  274. </div>
  275. <div class="detail-box">
  276. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  277. <div class="">{{ item.title }}</div>
  278. <div class="value">10</div>
  279. </div>
  280. </div>
  281. </div>
  282. <div class="gas-item">
  283. <div class="top">
  284. <div class="value">10</div>
  285. <div class="title">瓦斯巡检系统监测点</div>
  286. </div>
  287. <div class="detail-box">
  288. <div class="detail-item" v-for="(item, index) in gasMonitor" :key="index">
  289. <div class="">{{ item.title }}</div>
  290. <div class="value">10</div>
  291. </div>
  292. </div>
  293. </div>
  294. </div>
  295. </template>
  296. </ventBox1>
  297. </div>
  298. </div>
  299. <DetailModal v-if="isShowDialog" v-model:visible="modalVisible" :monitor-data="dataSource" @register="register" @close="hideModal" />
  300. <!-- 火灾监测弹框 -->
  301. <DetailModalFire v-else v-model:visible="modalVisible" @register="register" :moduleName="moduleName" @close="hideModal" />
  302. </template>
  303. <script setup lang="ts">
  304. import { ref, onMounted, onUnmounted, reactive } from 'vue';
  305. import customHeader from '/@/views/vent/comment/components/customHeader.vue';
  306. import DetailModal from './DetailModal.vue';
  307. import DetailModalFire from './DetailModalFire.vue'; //火灾监测弹窗
  308. import { warningList, getTotalList } from './alarm.api';
  309. import {
  310. iconsMonitor,
  311. chartsColumns,
  312. xAxisData,
  313. option,
  314. colors,
  315. fontColor,
  316. dustMonitor,
  317. gasMonitor,
  318. fireMonitor,
  319. fireMonitor1,
  320. } from './alarm.data';
  321. import ventBox1 from '/@/components/vent/ventBox1.vue';
  322. import BarSingle from '../../../../components/chart/BarSingle.vue';
  323. import { rainBg } from '/@/utils/ui.js';
  324. import { useModal } from '/@/components/Modal';
  325. let isShowDialog = ref(true); //切换弹窗显示
  326. let moduleName = ref<any>(''); //火灾、粉尘、瓦斯模块名
  327. const alarmCounts = ref();
  328. const dataSource = ref([]);
  329. const modalVisible = ref(false);
  330. const resetScroll = (e: Event) => {
  331. if (e.target && e.target) (e.target as Element).scrollTop = 0;
  332. };
  333. let windData = reactive({
  334. levels: {},
  335. jf: 0,
  336. hf: 0,
  337. xf: 0,
  338. }); //通风监测数据
  339. let dustData = reactive({
  340. //粉尘监测数据
  341. levels: {},
  342. });
  343. let centerData = reactive({
  344. fire: '',
  345. tf: '',
  346. ws: '',
  347. sb: '',
  348. fc: '',
  349. levels: 0,
  350. });
  351. const [register, { openModal }] = useModal();
  352. function showModal(data) {
  353. isShowDialog.value =data == 'sbyj' ? true : false;
  354. moduleName.value = data;
  355. modalVisible.value = true;
  356. openModal();
  357. }
  358. function hideModal() {
  359. modalVisible.value = false;
  360. }
  361. // https获取监测数据
  362. let timer: null | NodeJS.Timeout = null;
  363. function getMonitor(flag = false) {
  364. if (Object.prototype.toString.call(timer) === '[object Null]') {
  365. timer = setTimeout(
  366. async () => {
  367. await getDataSource();
  368. await getList();
  369. if (timer) {
  370. timer = null;
  371. }
  372. getMonitor();
  373. },
  374. flag ? 0 : 1000
  375. );
  376. }
  377. }
  378. async function getDataSource() {
  379. const res = await warningList({ isok: 0 });
  380. dataSource.value = res.list || [];
  381. // if(dataSource.value.length > 0){
  382. // dataSource.value.map((data: any) => {
  383. // const readData = data.readData;
  384. // data = Object.assign(data, readData);
  385. // return data;
  386. // });
  387. // }
  388. }
  389. // 获取预警数据
  390. async function getList() {
  391. const res = await getTotalList({});
  392. console.log(res, '预警数据--------------');
  393. let data = [];
  394. windData.levels = res.info.sysInfo.ventS.levels;
  395. windData.jf = res.ventInfo.zongfengliang;
  396. windData.hf = res.ventInfo.zonghuifeng;
  397. windData.xf = res.ventInfo.xufengliang;
  398. dustData.levels = res.info.sysInfo.dustS.levels;
  399. centerData.fire = res.info.sysInfo.fireS.status;
  400. centerData.tf = res.info.sysInfo.ventS.status;
  401. centerData.ws = res.info.sysInfo.gasS.status;
  402. centerData.sb = res.info.sysInfo.synthesizeS.status;
  403. centerData.fc = res.info.sysInfo.dustS.status;
  404. Object.keys(res.info.sysInfo).forEach((v) => {
  405. if(res.info.sysInfo[v].maxLevel){
  406. data.push(res.info.sysInfo[v].maxLevel);
  407. }else {
  408. data.push(0);
  409. }
  410. });
  411. data = data.sort((a, b) => b - a);
  412. centerData.levels = data[0];
  413. Object.keys(iconsMonitor).forEach((el) => {
  414. if(res.info.devicekindInfo[el]){
  415. iconsMonitor[el].level = res.info.devicekindInfo[el].maxLevel ;
  416. }
  417. });
  418. console.log(iconsMonitor,'设备监测数据---')
  419. fireMonitor[0].value = res.info.sysInfo.fireS.summaryInfo.external.temperature.value;
  420. fireMonitor[1].value = res.info.sysInfo.fireS.summaryInfo.external.coval.value;
  421. fireMonitor[2].value = res.info.sysInfo.fireS.summaryInfo.external.chval.value;
  422. fireMonitor[3].value = res.info.sysInfo.fireS.summaryInfo.external.ch2val.value;
  423. fireMonitor[4].value = res.info.sysInfo.fireS.summaryInfo.external.co2val.value;
  424. fireMonitor[5].value = res.info.sysInfo.fireS.summaryInfo.external.o2val.value;
  425. fireMonitor1[0].value = res.info.sysInfo.fireS.summaryInfo.internal.coval.value;
  426. fireMonitor1[1].value = res.info.sysInfo.fireS.summaryInfo.internal.chval.value;
  427. fireMonitor1[2].value = res.info.sysInfo.fireS.summaryInfo.internal.ch2val.value;
  428. fireMonitor1[3].value = res.info.sysInfo.fireS.summaryInfo.internal.co2val.value;
  429. fireMonitor1[4].value = res.info.sysInfo.fireS.summaryInfo.internal.o2val.value;
  430. console.log(fireMonitor1,'fireMonitor1-------')
  431. }
  432. onMounted(async () => {
  433. getMonitor(true);
  434. rainBg('rain', 'animation-box');
  435. });
  436. onUnmounted(() => {
  437. if (timer) {
  438. clearTimeout(timer);
  439. timer = undefined;
  440. }
  441. });
  442. </script>
  443. <style lang="less" scoped>
  444. @import '/@/design/vent/color.less';
  445. @a : 370px; // 椭圆x轴半径(长半径)
  446. @b : 107px; // 椭圆y轴半径(短半径)
  447. @s : 40; // 坐标点的数目(数目越大,动画越精细)
  448. @bg: #e6e2df;
  449. .loop(@index) when (@index < @s + 1) {
  450. .loop((@index + 1));
  451. @keyframeSel: @index * 100% ./ @s;
  452. @{keyframeSel}{ transform: translate(@a * (cos(360deg ./ @s * @index)), @b * (sin(360deg ./ @s * @index)));}
  453. }
  454. .sensor-container {
  455. width: 100%;
  456. height: calc(100% - 86px);
  457. display: flex;
  458. position: relative;
  459. top: 78px;
  460. .lr{
  461. width: 650px;
  462. height: 100%;
  463. // background-color: #ffffff10;
  464. }
  465. .left-box{
  466. .vent-param {
  467. width: 100%;
  468. margin-top: 10px;
  469. .light-group {
  470. display: flex;
  471. flex-direction: row;
  472. justify-content: space-between;
  473. position: relative;
  474. .param-item {
  475. width: 150px;
  476. display: flex;
  477. flex-direction: column;
  478. justify-content: center;
  479. align-items: center;
  480. position: reactive;
  481. .icon {
  482. display: block;
  483. position: absolute;
  484. top: -5px;
  485. }
  486. .param {
  487. display: flex;
  488. flex-direction: column;
  489. justify-content: center;
  490. align-items: center;
  491. .param-icon {
  492. width: 121px;
  493. height: 69px;
  494. background: url('/@/assets/images/vent/vent-param-bg.png');
  495. display: flex;
  496. flex-direction: column;
  497. justify-content: center;
  498. align-items: center;
  499. position: relative;
  500. top: -20px;
  501. margin-top: 10px;
  502. .param-title {
  503. position: relative;
  504. top: -4px;
  505. }
  506. .param-unit {
  507. position: relative;
  508. top: -2px;
  509. font-size: 12px;
  510. }
  511. }
  512. .param-val-box {
  513. display: flex;
  514. flex-direction: column;
  515. justify-content: center;
  516. align-items: center;
  517. position: relative;
  518. top: -20px;
  519. .param-val-icon {
  520. width: 2px;
  521. height: 15px;
  522. background: #00d8ff;
  523. position: relative;
  524. &::after {
  525. content: '';
  526. display: block;
  527. position: absolute;
  528. width: 6px;
  529. height: 6px;
  530. border-radius: 3px;
  531. background: #00d8ff;
  532. bottom: -2px;
  533. left: -2px;
  534. }
  535. }
  536. .param-val {
  537. position: relative;
  538. font-family: 'douyuFont';
  539. // color: #20dbfd;
  540. text-shadow: 0 0 25px #00d8ff;
  541. font-size: 13px;
  542. border: 1px solid #40B7F3;
  543. padding: 5px 30px 2px 30px;
  544. top: 2px;
  545. &::after {
  546. width: calc(100% - 4px);
  547. height: calc(100% - 4px);
  548. content: '';
  549. position: absolute;
  550. top: 2px;
  551. left: 2px;
  552. display: block;
  553. border: 1px solid #006EA6;
  554. }
  555. }
  556. }
  557. }
  558. }
  559. }
  560. }
  561. .icons-box{
  562. display: flex;
  563. flex-wrap: wrap;
  564. max-height: 365px;
  565. overflow-y: hidden;
  566. // align-items: start ;
  567. &:hover {
  568. overflow-y: auto;
  569. overflow-x: auto;
  570. & > .icon-item{
  571. animation-play-state: paused;
  572. animation: move1 2s linear;
  573. }
  574. }
  575. .icon-item{
  576. position: relative;
  577. display: flex;
  578. align-items: center;
  579. justify-content: center;
  580. padding: 3px;
  581. animation: move 10s linear infinite;
  582. &:nth-child(even){
  583. padding-right: 0px;
  584. }
  585. .level-text{
  586. position: absolute;
  587. top: 51px;
  588. right: 25px;
  589. color: #fff;
  590. font-family: 'douyuFont';
  591. font-size: 12px;
  592. }
  593. .level-text-1{
  594. color: rgb(0, 242, 255);
  595. text-shadow: 2px 2px 4px #001c22;
  596. }
  597. .level-text-2{
  598. color: #ffff35;
  599. text-shadow: 2px 2px 4px #313100;
  600. }
  601. .level-text-3{
  602. color: #ffbe69;
  603. text-shadow: 2px 2px 4px #271600;
  604. }
  605. .level-text-4{
  606. color: #ff6f00;
  607. // color: #09caff;
  608. text-shadow: 2px 2px 4px #060200;
  609. }
  610. .level-text-5{
  611. color: #ff0000;
  612. text-shadow: 2px 2px 4px #200000;
  613. }
  614. img{
  615. width: 225px;
  616. height: 79px;
  617. }
  618. }
  619. .wrapper {
  620. position: absolute;
  621. top: 48px;
  622. left: 82px;
  623. color: #ffffffe0;
  624. font-size: 13px;
  625. text-align: center;
  626. letter-spacing: 1px;
  627. }
  628. }
  629. @keyframes move {
  630. 0% {
  631. transform: translateY(0px);
  632. }
  633. 100% {
  634. transform: translateY(-269px);
  635. }
  636. }
  637. @keyframes move1 {
  638. 0% {
  639. transform: translateY(0px);
  640. }
  641. }
  642. }
  643. .center-box{
  644. width: calc(100% - 710px);
  645. // background-color: #ffffff10;
  646. margin: 0 8px;
  647. display: flex;
  648. flex-direction: column;
  649. justify-content: flex-end;
  650. .fire-monitor{
  651. display: flex;
  652. flex-direction: column;
  653. width: 100%;
  654. position: relative;
  655. .top{
  656. width: 100%;
  657. height: 35px;
  658. background: url('/@/assets/images/vent/box-top-bg.png');
  659. background-size: 100% 100%;
  660. text-align: center;
  661. color: #fff;
  662. padding-top: 6px;
  663. }
  664. .container{
  665. width: calc(100% - 2px);
  666. min-height: 50px;
  667. padding: 0 10px;
  668. color: #fff;
  669. background-color: #00213236;
  670. backdrop-filter: blur(5px);
  671. &::before{
  672. content: '';
  673. display: block;
  674. position: absolute;
  675. top: 5px;
  676. left: 0;
  677. width: 1px;
  678. height: calc(100% - 10px);
  679. background-image: linear-gradient(#3DF6FF00, #3DF6FF, #3DF6FF00);
  680. }
  681. &::after{
  682. content: '';
  683. display: block;
  684. position: absolute;
  685. right: 0;
  686. top: 5px;
  687. width: 1px;
  688. height: calc(100% - 10px);
  689. background: linear-gradient(#3DF6FF00, #3DF6FF, #3DF6FF00);
  690. }
  691. .item{
  692. height: 130px;
  693. width: 100%;
  694. position: relative;
  695. top: -10px;
  696. display: flex;
  697. // justify-content: space-between;
  698. align-content: center;
  699. padding-top: 50px;
  700. &::before{
  701. content: '';
  702. width: 100%;
  703. height: 150px;
  704. position: absolute;
  705. top: 0px;
  706. background: url('/@/assets/images/vent/fire-bg-top.png');
  707. background-size: 100% 100%;
  708. }
  709. .icon{
  710. width: 82px;
  711. height: 36px;
  712. margin: 0 20px 0 50px;
  713. background: url('/@/assets/images/vent/icon-bottom-bg.png');
  714. position: relative;
  715. top: 30px;
  716. &::after{
  717. position: absolute;
  718. content: '';
  719. width: 50px;
  720. height: 50px;
  721. top: -25px;
  722. left: 20px;
  723. background: url('/@/assets/images/vent/outer-icon.svg') no-repeat;
  724. }
  725. }
  726. .data-box{
  727. display: flex;
  728. flex-direction: column;
  729. // margin: 0 10px;
  730. width: 118px;
  731. .value{
  732. font-size: 16px;
  733. font-family: 'douyuFont';
  734. color: #2bdcff;
  735. margin-bottom: 5px;
  736. }
  737. .title{
  738. font-size: 13px;
  739. }
  740. }
  741. }
  742. .item1{
  743. top: -10px;
  744. &::before{
  745. transform:matrix(1,0,0,-1,0,0);
  746. }
  747. .icon{
  748. &::after{
  749. background: url('/@/assets/images/vent/inner-icon.svg') no-repeat;
  750. }
  751. }
  752. }
  753. }
  754. .bottom{
  755. width: 100%;
  756. height: 35px;
  757. background: url('/@/assets/images/vent/box-bottom-bg.png');
  758. background-size: 100% 100%;
  759. position: absolute;
  760. bottom: 0;
  761. }
  762. }
  763. .animation-box{
  764. height: fit-content;
  765. flex: 1;
  766. margin-bottom: 10px;
  767. background: url('/@/assets/images/vent/alarm/center-bg.png');
  768. background-size: contain;
  769. background-position: center;
  770. display: flex;
  771. flex-direction: column;
  772. align-items: center;
  773. position: relative;
  774. top: 45px;
  775. .rain{
  776. position: absolute;
  777. }
  778. .bottom{
  779. width: 528px;
  780. height: 395px;
  781. background-repeat: no-repeat;
  782. position: absolute;
  783. z-index: 999;
  784. &::before{
  785. content: '';
  786. width: 325px;
  787. height: 379px;
  788. position: absolute;
  789. left: 105px;
  790. top: -60px;
  791. background: url('/@/assets/images/vent/alarm/warning-bg.png') no-repeat;
  792. }
  793. .animation1{
  794. width: 390px;
  795. height: 78px;
  796. position: absolute;
  797. top: -30px;
  798. left: 80px;
  799. z-index: 999;
  800. // animation: rotate3 3s linear infinite;
  801. .ball{
  802. position: absolute;
  803. width: 12px;
  804. height: 12px;
  805. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);;
  806. border-radius: 6px;
  807. background-size: cover;
  808. 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');
  809. animation: 10s linear 0s infinite alternate ball;
  810. }
  811. }
  812. .animation2{
  813. width: 430px;
  814. height: 92px;
  815. position: absolute;
  816. top: 0px;
  817. left: 60px;
  818. z-index: 999;
  819. // animation: rotate4 3s linear infinite;
  820. .ball1{
  821. position: absolute;
  822. width: 12px;
  823. height: 12px;
  824. background: radial-gradient(closest-side, #e1f7f8, #e1f7f800);;
  825. border-radius: 6px;
  826. background-size: cover;
  827. 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');
  828. animation: 10s linear 0s infinite alternate ball1;
  829. }
  830. }
  831. .text-box{
  832. width: 100%;
  833. display: flex;
  834. flex-direction: column;
  835. color: #fff;
  836. align-items: center;
  837. margin-top: 90px;
  838. .text1{
  839. font-size: 26px;
  840. font-weight: 600;
  841. letter-spacing: 2px;
  842. margin-bottom: 10px;
  843. }
  844. .text2{
  845. font-size: 18px;
  846. color: #ffffffdd;
  847. }
  848. }
  849. .icon-animation{
  850. width: 178px;
  851. height: 208px;
  852. margin: 0 auto;
  853. top: -130px;
  854. left: 4px;
  855. position: relative;
  856. animation: .5s linear 0s infinite alternate iconMove;
  857. }
  858. }
  859. .bottom1{
  860. background-image: url('/@/assets/images/vent/alarm/warning-icon-bg1.png');
  861. .icon-animation{
  862. background: url('/@/assets/images/vent/alarm/warning-icon-bg-a1.png');
  863. }
  864. .text-box{
  865. .text1{
  866. color: #00d8ff;
  867. }
  868. }
  869. }
  870. .bottom2{
  871. background-image: url('/@/assets/images/vent/alarm/warning-icon-bg2.png');
  872. .icon-animation{
  873. background: url('/@/assets/images/vent/alarm/warning-icon-bg-a2.png');
  874. }
  875. .text-box{
  876. .text1{
  877. color: #FCFC22;
  878. }
  879. }
  880. }
  881. .bottom3{
  882. background-image: url('/@/assets/images/vent/alarm/warning-icon-bg3.png');
  883. .icon-animation{
  884. background: url('/@/assets/images/vent/alarm/warning-icon-bg-a3.png');
  885. }
  886. .text-box{
  887. .text1{
  888. color: #ff7010;
  889. }
  890. }
  891. }
  892. .bottom4{
  893. background-image: url('/@/assets/images/vent/alarm/warning-icon-bg4.png');
  894. .icon-animation{
  895. background: url('/@/assets/images/vent/alarm/warning-icon-bg-a4.png');
  896. }
  897. .text-box{
  898. .text1{
  899. color: #DF4E43;
  900. }
  901. }
  902. }
  903. .bottom5{
  904. background-image: url('/@/assets/images/vent/alarm/warning-icon-bg5.png');
  905. .icon-animation{
  906. background: url('/@/assets/images/vent/alarm/warning-icon-bg-a5.png');
  907. }
  908. .text-box{
  909. .text1{
  910. color: #ff2313;
  911. // animation: color-blink 1s infinite;
  912. }
  913. // @keyframes color-blink {
  914. // 0% { color: red; }
  915. // 50% { color: blue; }
  916. // 100% { color: red; }
  917. // }
  918. }
  919. }
  920. .total-item-monitor-box{
  921. width: 100%;
  922. height: 237px;
  923. position: relative;
  924. top: 180px;
  925. left: 265px;
  926. background: url('/@/assets/images/vent/alarm/bottom1.png') no-repeat;
  927. background-size: contain;
  928. &::after{
  929. content: '';
  930. width: 750px;
  931. height: 750px;
  932. position: absolute;
  933. transform-style: preserve-3d;
  934. transform: translateX(0%) translateY(0%) rotateX(72deg);
  935. background: url('/@/assets/images/vent/alarm/bottom.png');
  936. animation: rotate1 3s linear infinite;
  937. top: -200px;
  938. left: -180px;
  939. }
  940. .item{
  941. position: absolute;
  942. // width: 107px;
  943. // height: 107px;
  944. // left: 120px;
  945. // top: 115px;
  946. // animation: red-ball 10s linear infinite;
  947. .icon-box{
  948. width: 100px;
  949. height: 100px;
  950. position: relative;
  951. z-index: 0;
  952. &::before{
  953. position: absolute;
  954. content: '';
  955. width: 105px;
  956. height: 68px;
  957. top: 15px;
  958. z-index: -1;
  959. background: url('/@/assets/images/vent/alarm/icon-bg.png') no-repeat;
  960. }
  961. &::after{
  962. position: absolute;
  963. content: '';
  964. width: 71px;
  965. height: 71px;
  966. top: 26px;
  967. left: 14px;
  968. z-index: 1;
  969. background: url(/src/assets/images/vent/alarm/icon-animation.png) no-repeat;
  970. transform: translateX(0%) rotateX(70deg);
  971. animation: rotate2 2s linear infinite;
  972. }
  973. .icon{
  974. width: 100px;
  975. height: 100px;
  976. background-repeat: no-repeat;
  977. background-position: top center;
  978. position: relative;
  979. top: 5px;
  980. }
  981. }
  982. .item-monitor-box{
  983. color: #fff;
  984. position: relative;
  985. top: -135px;
  986. left: -20px;
  987. font-weight: 600;
  988. // background: #06020066;
  989. padding: 5px 20px 8px 20px;
  990. &::before{
  991. position: absolute;
  992. content: '';
  993. width: 196px;
  994. height: 48px;
  995. left: -20px;
  996. top: -10px;
  997. background: url('/@/assets/images/vent/alarm/data-bg.png');
  998. }
  999. .value{
  1000. color: #2bdcff;
  1001. margin-left: 20px;
  1002. }
  1003. .value1{
  1004. font-size: 16px;
  1005. font-weight: 800;
  1006. margin-top: 6px;
  1007. color: #ff0000;
  1008. animation: color-blink 1s infinite;
  1009. }
  1010. @keyframes color-blink {
  1011. 0% { color: red; }
  1012. 50% { color: rgb(198, 0, 0); }
  1013. 100% { color: rgb(255, 18, 18); }
  1014. }
  1015. }
  1016. }
  1017. .item1{
  1018. top: 230px;
  1019. left: 150px;
  1020. .icon{
  1021. background-image: url('/@/assets/images/vent/alarm/icon-fire.svg');
  1022. }
  1023. }
  1024. .item2{
  1025. top: 185px;
  1026. left: -120px;
  1027. .icon{
  1028. background-image: url('/@/assets/images/vent/alarm/icon-device.svg');
  1029. }
  1030. }
  1031. .item3{
  1032. top: 185px;
  1033. left: 420px;
  1034. .icon{
  1035. background-image: url('/@/assets/images/vent/alarm/icon-gas.svg') ;
  1036. }
  1037. .item-monitor-box{
  1038. top: -155px;
  1039. &::before{
  1040. top: 10px;
  1041. }
  1042. }
  1043. }
  1044. .item4{
  1045. top: 20px;
  1046. left: 390px;
  1047. .icon{
  1048. background-image: url('/@/assets/images/vent/alarm/icon-dust.svg');
  1049. }
  1050. }
  1051. .item5{
  1052. top: 25px;
  1053. left: -110px;
  1054. .icon{
  1055. background-image: url('/@/assets/images/vent/alarm/icon-vent.svg');
  1056. }
  1057. }
  1058. }
  1059. @keyframes iconMove {
  1060. 100% {
  1061. opacity: 0;
  1062. }
  1063. }
  1064. @keyframes rotate1 {
  1065. 0% {
  1066. transform: translateX(0%) rotateX(72deg) rotateZ(-360deg);
  1067. }
  1068. 100% {
  1069. transform: translateX(0%) rotateX(72deg) rotateZ(0);
  1070. }
  1071. }
  1072. @keyframes rotate2 {
  1073. 0% {
  1074. transform: translateX(0%) rotateX(70deg) rotateZ(0);
  1075. }
  1076. 100% {
  1077. transform: translateX(0%) rotateX(70deg) rotateZ(-360deg);
  1078. }
  1079. }
  1080. @keyframes rotate3 {
  1081. 0% {
  1082. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1083. }
  1084. 100% {
  1085. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1086. }
  1087. }
  1088. @keyframes rotate4 {
  1089. 100% {
  1090. transform: translateX(0%) rotateX(80deg) rotateZ(0);
  1091. }
  1092. 0% {
  1093. transform: translateX(0%) rotateX(80deg) rotateZ(-360deg);
  1094. }
  1095. }
  1096. @keyframes ball {
  1097. 100% {
  1098. offset-distance: 100%;
  1099. }
  1100. 0% {
  1101. offset-distance: 0%;
  1102. }
  1103. }
  1104. @keyframes ball1 {
  1105. 0% {
  1106. offset-distance: 100%;
  1107. }
  1108. 100% {
  1109. offset-distance: 0%;
  1110. }
  1111. }
  1112. }
  1113. }
  1114. .right-box{
  1115. .dust-monitor{
  1116. display: flex;
  1117. justify-content: space-between;
  1118. padding: 0 20px;
  1119. margin-bottom: 20px;
  1120. margin-top: 15px;
  1121. .value{
  1122. width: 131px;
  1123. height: 44px;
  1124. background: url('/@/assets/images/vent/value-bg.png');
  1125. display: flex;
  1126. justify-content: center;
  1127. align-items: center;
  1128. }
  1129. .title{
  1130. text-align: center;
  1131. margin-bottom: 5px;
  1132. }
  1133. .value{
  1134. font-size: 16px;
  1135. font-family: 'douyuFont';
  1136. color: #3DF5FF;
  1137. }
  1138. }
  1139. .gas-box{
  1140. height: 390px;
  1141. display: flex;
  1142. justify-content: space-between;
  1143. padding: 0 10px;
  1144. .gas-item{
  1145. position: relative;
  1146. .top{
  1147. height: 100px;
  1148. padding-top: 30px;
  1149. .value{
  1150. font-size: 26px;
  1151. font-family: 'douyuFont';
  1152. color: #3DF5FF;
  1153. text-align: center;
  1154. margin-bottom: 5px;
  1155. }
  1156. .title{
  1157. width: 205px;
  1158. height: 48px;
  1159. text-align: center;
  1160. background: url('/@/assets/images/vent/plane.png') no-repeat;
  1161. background-size: contain;
  1162. background-position: bottom;
  1163. }
  1164. &::before{
  1165. position: absolute;
  1166. content: '';
  1167. width: 136px;
  1168. height: 101px;
  1169. left: 35px;
  1170. top: 15px;
  1171. background: url('/@/assets/images/vent/small-bg1.png') no-repeat;
  1172. background-size: cover;
  1173. }
  1174. }
  1175. .detail-box{
  1176. position: relative;
  1177. margin: 0 auto;
  1178. width: 184px;
  1179. height: 270px;
  1180. background: linear-gradient(to bottom, transparent, #00679b77) no-repeat;
  1181. background-size: cover;
  1182. display: flex;
  1183. flex-direction: column;
  1184. justify-content: space-between;
  1185. align-items: center;
  1186. padding: 50px 0 20px 0;
  1187. &::after{
  1188. position: absolute;
  1189. content: '';
  1190. left: -10px;
  1191. bottom: -8px;
  1192. width: 205px;
  1193. height: 31px;
  1194. background: url('/@/assets/images/vent/plane1.png') no-repeat;
  1195. background-position: bottom;
  1196. }
  1197. .detail-item{
  1198. width: 147px;
  1199. height: 40px;
  1200. background-image: linear-gradient(to right, #39a3ff66, #39a3ff00);
  1201. // margin: 5px 0;
  1202. display: flex;
  1203. padding: 0 10px;
  1204. justify-content: space-between;
  1205. align-items: center;
  1206. .value{
  1207. font-size: 16px;
  1208. font-family: 'douyuFont';
  1209. color: #2bdcff;
  1210. text-align: center;
  1211. }
  1212. }
  1213. }
  1214. }
  1215. }
  1216. }
  1217. .monitor-title{
  1218. cursor: pointer;
  1219. }
  1220. }
  1221. </style>