warndata.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <template>
  2. <view class="container">
  3. <u-navbar
  4. :title="titleName"
  5. :bgStatusImage="backPic0"
  6. :bgImage="backPic"
  7. :safeAreaInsetTop="true"
  8. left-icon=""
  9. @leftClick="menuShow"
  10. >
  11. <view class="u-nav-slot" slot="left" v-if="!isShowDetail">
  12. <u-icon name="arrow-left" size="20"> </u-icon>
  13. </view>
  14. </u-navbar>
  15. <view class="menupage">
  16. <view class="main" v-if="isShowDetail">
  17. <view class="flcard" v-if="isShow1">
  18. <view class="typeBar">
  19. <view class="icon-vent">
  20. <text class="text-style">通风监测预警</text>
  21. </view>
  22. <u-icon @click="toggleIsShow1" name="arrow-up-fill"></u-icon>
  23. </view>
  24. </view>
  25. <view class="flcard" v-else>
  26. <view class="typeBar">
  27. <text class="text-style">通风监测预警</text>
  28. <u-icon @click="toggleIsShow1" name="arrow-down-fill"></u-icon>
  29. </view>
  30. </view>
  31. <view class="flcard" @click="getDetail('vent')" v-show="isShow1">
  32. <view class="datacard demo-layout bg-purple-light">
  33. <view style="margin-top: 10rpx">
  34. <text class="text-style1">{{ windData.zongjinfeng }}</text>
  35. </view>
  36. <view class="nameStyle" style="margin-top: 10rpx; margin-left: 5px"
  37. >总进风量(m³/min)</view
  38. >
  39. </view>
  40. <view class="datacard demo-layout bg-purple-light">
  41. <view style="margin-top: 10rpx">
  42. <text class="text-style1">{{ windData.zonghuifeng }}</text>
  43. </view>
  44. <view class="nameStyle" style="margin-top: 10rpx; margin-left: 5px"
  45. >总回风量(m³/min)</view
  46. >
  47. </view>
  48. <view class="datacard demo-layout bg-purple-light">
  49. <view style="margin-top: 10rpx">
  50. <text class="text-style1">{{ xufengliang }}</text>
  51. </view>
  52. <view class="nameStyle" style="margin-top: 10rpx; margin-left: 5px"
  53. >总需风量(m³/min)</view
  54. >
  55. </view>
  56. </view>
  57. <view class="flcard" v-if="isShow2">
  58. <view class="typeBar">
  59. <view class="icon-vent">
  60. <text class="text-style">火灾监测预警</text>
  61. </view>
  62. <u-icon @click="toggleIsShow2" name="arrow-up-fill"></u-icon>
  63. </view>
  64. </view>
  65. <view class="flcard" v-else>
  66. <view class="typeBar">
  67. <text class="text-style">火灾监测预警</text>
  68. <u-icon @click="toggleIsShow2" name="arrow-down-fill"></u-icon>
  69. </view>
  70. </view>
  71. <view class="flcard" v-show="isShow2" @click="getDetail('fire')">
  72. <view class="firecontainer">
  73. <view class="title">
  74. <span class="firetext">内因火灾</span>
  75. </view>
  76. <view class="fire-style">
  77. <view
  78. v-for="(item, index) in internalInfo"
  79. :key="index"
  80. class="fire-item1"
  81. v-if="item && Object.keys(item).length > 0"
  82. >
  83. <view class="firecard">
  84. <text
  85. :class="
  86. item.Maxlevel > 0 ? 'red-text-style' : 'text-style1'
  87. "
  88. >{{ item.value
  89. }}{{
  90. item.code === "o2val" ||
  91. item.code === "co2val" ||
  92. item.code === "ch4val" ||
  93. item.code === "smokeval"
  94. ? "(%)"
  95. : item.code === "fmax" ||
  96. item.code === "temperature" ||
  97. item.code === "fireval"
  98. ? "(℃)"
  99. : "(ppm)"
  100. }}
  101. </text>
  102. <view class="nameStyle" style="margin-top: 10rpx">{{
  103. item.monitorcode
  104. }}</view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="firecontainer">
  110. <view class="title">
  111. <span class="firetext">外因火灾</span>
  112. </view>
  113. <view class="fire-style">
  114. <view
  115. v-for="(item, index) in externalInfo"
  116. :key="index"
  117. class="fire-item1"
  118. >
  119. <view class="firecard">
  120. <text
  121. :class="
  122. item.Maxlevel > 0 ? 'red-text-style' : 'text-style1'
  123. "
  124. >{{ item.value
  125. }}{{
  126. item.code === "o2val" ||
  127. item.code === "co2val" ||
  128. item.code === "ch4val" ||
  129. item.code === "smokeval"
  130. ? "(%)"
  131. : item.code === "fmax" ||
  132. item.code === "temperature" ||
  133. item.code === "fireval"
  134. ? "(℃)"
  135. : "(ppm)"
  136. }}
  137. </text>
  138. <view class="nameStyle" style="margin-top: 10rpx">{{
  139. item.monitorcode
  140. }}</view>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="flcard" v-if="isShow3">
  147. <view class="typeBar">
  148. <view class="icon-vent">
  149. <text class="text-style">粉尘监测预警</text>
  150. </view>
  151. <u-icon @click="toggleIsShow3" name="arrow-up-fill"></u-icon>
  152. </view>
  153. </view>
  154. <view class="flcard" v-else>
  155. <view class="typeBar">
  156. <text class="text-style">粉尘监测预警</text>
  157. <u-icon @click="toggleIsShow3" name="arrow-down-fill"></u-icon>
  158. </view>
  159. </view>
  160. <view class="flcard" v-show="isShow3" @click="getDetail('dust')">
  161. <view style="display: flex">
  162. <view class="dustcard">
  163. <view class="demo-layout bg-purple-light">
  164. <view style="margin-top: 10rpx">
  165. <text class="text-style1">{{ dustTotalcount }}</text>
  166. </view>
  167. <view class="nameStyle" style="margin: 10rpx">测点数量</view>
  168. </view>
  169. <view class="dust-right"> </view>
  170. </view>
  171. <view class="dustcard">
  172. <view class="demo-layout bg-purple-light">
  173. <view style="margin-top: 10rpx">
  174. <text class="text-style1">{{ dustLevelstatus }}</text>
  175. </view>
  176. <view class="nameStyle" style="margin: 10rpx">当前状态</view>
  177. </view>
  178. <view class="dust-right"> </view>
  179. </view>
  180. </view>
  181. </view>
  182. <view class="flcard" v-if="isShow4">
  183. <view class="typeBar">
  184. <view class="icon-vent">
  185. <text class="text-style">瓦斯监测预警</text>
  186. </view>
  187. <u-icon @click="toggleIsShow4" name="arrow-up-fill"></u-icon>
  188. </view>
  189. </view>
  190. <view class="flcard" v-else>
  191. <view class="typeBar">
  192. <text class="text-style">瓦斯监测预警</text>
  193. <u-icon @click="toggleIsShow4" name="arrow-down-fill"></u-icon>
  194. </view>
  195. </view>
  196. <view class="flcard" v-show="isShow4" @click="getDetail('gas')">
  197. <view class="firecontainer">
  198. <view class="title">
  199. <span class="firetext" v-if="gasDevice.length > 0"
  200. >安全监测系统监测点</span
  201. >
  202. </view>
  203. </view>
  204. <view class="safe-container">
  205. <view
  206. class="safecard"
  207. v-for="(item, index) in gasDevice"
  208. :key="index"
  209. >
  210. <view class="left" style="margin-top: 20rpx; float: left">
  211. <text class="text-style1">{{ item.gasNumber }}</text>
  212. <view class="nameStyle" style="margin: 10rpx">{{
  213. item.systemname
  214. }}</view>
  215. </view>
  216. <view class="right"> </view>
  217. </view>
  218. </view>
  219. <view class="firecontainer">
  220. <view class="title">
  221. <span class="firetext" v-if="gasDevice.length > 0"
  222. >瓦斯抽采系统监测点</span
  223. >
  224. </view>
  225. <view class="gascontainer">
  226. <view
  227. class="gascard"
  228. v-for="(item, index) in gasDevice"
  229. :key="index"
  230. >
  231. <view class="left" style="margin-top: 20rpx; float: left">
  232. <text class="text-style1">{{ item.pumpNumber }}</text>
  233. <view class="nameStyle" style="margin: 10rpx">{{
  234. item.systemname
  235. }}</view>
  236. </view>
  237. <view class="gas-right"> </view>
  238. </view>
  239. </view>
  240. </view>
  241. </view>
  242. <view class="flcard" v-if="isShow5">
  243. <view class="typeBar">
  244. <view class="icon-vent">
  245. <text class="text-style">设备监测预警</text>
  246. </view>
  247. <u-icon @click="toggleIsShow5" name="arrow-up-fill"></u-icon>
  248. </view>
  249. </view>
  250. <view class="flcard" v-else>
  251. <view class="typeBar">
  252. <text class="text-style">设备监测预警</text>
  253. <u-icon @click="toggleIsShow5" name="arrow-down-fill"></u-icon>
  254. </view>
  255. </view>
  256. <view
  257. class="flcard demo-layout bg-purple-light"
  258. v-show="isShow5"
  259. @click="getDetail('device')"
  260. >
  261. <view class="deviceCard">
  262. <view
  263. class="item-container"
  264. v-for="(item, index) in devicekindData"
  265. :key="index"
  266. >
  267. <view
  268. class="item"
  269. :style="{ backgroundImage: itemBackground(item) }"
  270. >
  271. <view class="deviceItem">
  272. <text class="nameStyle" style="margin-right: 10px">{{
  273. item.name
  274. }}</text>
  275. <text style="font-weight: bold">{{ item.status }}</text>
  276. </view>
  277. </view>
  278. </view>
  279. </view>
  280. </view>
  281. </view>
  282. <view class="main" v-else>
  283. <ventDetail v-if="Type == 'vent'"></ventDetail>
  284. <deviceDetail v-if="Type == 'device'"></deviceDetail>
  285. <fireDetail v-if="Type == 'fire'"></fireDetail>
  286. <dustDetail v-if="Type == 'dust'"></dustDetail>
  287. <gasDetail v-if="Type == 'gas'"></gasDetail>
  288. </view>
  289. </view>
  290. </view>
  291. </template>
  292. <script>
  293. import api from "@/api/api";
  294. import ventDetail from "./components/vent-detail.vue";
  295. import deviceDetail from "./components/device-detail.vue";
  296. import fireDetail from "./components/fire-detail.vue";
  297. import dustDetail from "./components/dust-detail.vue";
  298. import gasDetail from "./components/gas-detail.vue";
  299. export default {
  300. props: {},
  301. watch: {},
  302. data() {
  303. return {
  304. backPic0: "url(/static/topnavbar0.png)",
  305. backPic: "url(../../static/topnavbar.png)",
  306. titleName: "预警分析",
  307. isShowDetail: true,
  308. detailComponent: null,
  309. windData: {},
  310. devicekindData: [],
  311. fireData: [],
  312. gasData: [],
  313. dustData: [],
  314. dustTotalcount: 0,
  315. dustLevelstatus: "",
  316. gasDevice: [],
  317. externalInfo: [],
  318. internalInfo: [],
  319. xufengliang: "", //总需风量
  320. imageMap: {
  321. atomizing: "atomizing.png",
  322. ballvalve: "ballvalve.png",
  323. dedustefan: "dedustefan.png",
  324. drilling: "drilling.png",
  325. dustdev: "dustdev.png",
  326. fanlocal: "fanlocal.png",
  327. fanmain: "fanmain.png",
  328. forcFan: "forcFan.png",
  329. gasmonitor: "gasmonitor.png",
  330. gate: "gate.png",
  331. location: "location.png",
  332. nitrogen: "nitrogen.png",
  333. pulping: "pulping.png",
  334. pump: "pump.png",
  335. rebroadcast: "rebroadcast.png",
  336. safetymonitor: "safetymonitor.png",
  337. spary: "spary.png",
  338. unit: "unit.png",
  339. window: "window.png",
  340. windrect: "windrect.png",
  341. wintest: "wintest.png",
  342. },
  343. dustMap: {
  344. alarm: "报警",
  345. blue: "低风险",
  346. orange: "重大风险",
  347. red: "较大风险",
  348. yellow: "一般风险",
  349. },
  350. isShow1: true,
  351. isShow2: true,
  352. isShow3: false,
  353. isShow4: false,
  354. isShow5: false,
  355. Type: "", // 当前点击的类型
  356. };
  357. },
  358. mounted() {
  359. this.$nextTick(() => {
  360. this.getWarnInfo();
  361. });
  362. },
  363. components: {
  364. ventDetail,
  365. deviceDetail,
  366. fireDetail,
  367. dustDetail,
  368. gasDetail,
  369. },
  370. methods: {
  371. //获取预警信息
  372. getWarnInfo() {
  373. return new Promise((resolve, reject) => {
  374. api
  375. .getWarnInfo()
  376. .then((response) => {
  377. if (response.data.code == 200) {
  378. this.windData = response.data.result.ventInfo;
  379. this.devicekindData = response.data.result.info.devicekindInfo;
  380. this.fireData = response.data.result.info.sysInfo.fireS;
  381. const externalInfo1 = this.fireData.summaryInfo.external;
  382. const internalInfo1 = this.fireData.summaryInfo.internal;
  383. for (let key in externalInfo1) {
  384. if (!externalInfo1.hasOwnProperty(key)) continue;
  385. const item = externalInfo1[key];
  386. // 跳过空对象(如 ch4val: {})
  387. if (Object.keys(item).length === 0) continue;
  388. if (item.code == "coval") {
  389. item.monitorcode = "一氧化碳";
  390. } else if (item.code == "ch4val") {
  391. item.monitorcode = "甲烷";
  392. } else if (item.code == "o2val") {
  393. item.monitorcode = "氧气";
  394. } else if (item.code == "co2val") {
  395. item.monitorcode = "二氧化碳";
  396. } else if (item.code == "fmax") {
  397. item.monitorcode = "温度";
  398. } else if (item.code == "chval") {
  399. item.monitorcode = "乙炔";
  400. } else if (item.code == "ch2val") {
  401. item.monitorcode = "乙烯";
  402. } else if (item.code == "temperature") {
  403. item.monitorcode = "温度";
  404. } else if (item.code == "gasval") {
  405. item.monitorcode = "瓦斯";
  406. } else if (item.code == "fireval") {
  407. item.monitorcode = "温度";
  408. } else if (item.code == "smokeval") {
  409. item.monitorcode = "烟雾";
  410. }
  411. }
  412. for (let key in internalInfo1) {
  413. if (!internalInfo1.hasOwnProperty(key)) continue;
  414. const item = internalInfo1[key];
  415. // 跳过空对象(如 ch4val: {})
  416. if (Object.keys(item).length === 0) continue;
  417. if (item.code == "coval") {
  418. item.monitorcode = "一氧化碳";
  419. } else if (item.code == "ch4val") {
  420. item.monitorcode = "甲烷";
  421. } else if (item.code == "o2val") {
  422. item.monitorcode = "氧气";
  423. } else if (item.code == "co2val") {
  424. item.monitorcode = "二氧化碳";
  425. } else if (item.code == "chval") {
  426. item.monitorcode = "乙炔";
  427. } else if (item.code == "ch2val") {
  428. item.monitorcode = "乙烯";
  429. } else if (item.code == "fmax") {
  430. item.monitorcode = "温度";
  431. } else if (item.code == "temperature") {
  432. item.monitorcode = "温度";
  433. } else if (item.code == "gasval") {
  434. item.monitorcode = "瓦斯";
  435. } else if (item.code == "fireval") {
  436. item.monitorcode = "温度";
  437. } else if (item.code == "smokeval") {
  438. item.monitorcode = "烟雾";
  439. }
  440. }
  441. this.externalInfo = externalInfo1;
  442. this.internalInfo = internalInfo1;
  443. this.gasData = response.data.result.info.sysInfo.gasS;
  444. this.gasDevice = this.gasData.devices;
  445. this.xufengliang = this.windData.sysdata.xufengliang;
  446. this.dustTotalcount =
  447. response.data.result.info.devicekindInfo.dusting.totalcount;
  448. this.dustLevelstatus =
  449. response.data.result.info.devicekindInfo.dusting.levelstatus;
  450. } else {
  451. reject(response);
  452. }
  453. })
  454. .catch((error) => {
  455. console.log("catch===>response", response);
  456. reject(error);
  457. });
  458. });
  459. },
  460. //返回监测首页
  461. menuShow() {
  462. this.isShowDetail = true;
  463. },
  464. //跳转监测详情
  465. getDetail(data) {
  466. this.isShowDetail = false;
  467. this.Type = data; // 将当前点击的类型存储到 Type 中
  468. },
  469. toggleIsShow1() {
  470. this.isShow1 = !this.isShow1; // 切换 isShow 的值
  471. },
  472. toggleIsShow2() {
  473. this.isShow2 = !this.isShow2; // 切换 isShow 的值
  474. },
  475. toggleIsShow3() {
  476. this.isShow3 = !this.isShow3; // 切换 isShow 的值
  477. },
  478. toggleIsShow4() {
  479. this.isShow4 = !this.isShow4; // 切换 isShow 的值
  480. },
  481. toggleIsShow5() {
  482. this.isShow5 = !this.isShow5; // 切换 isShow 的值
  483. },
  484. },
  485. computed: {
  486. itemBackground() {
  487. return (item) => {
  488. const defaultImage = "unit.png";
  489. const imageName = this.imageMap[item.code] || defaultImage;
  490. return `url('/static/warndata/${imageName}')`;
  491. };
  492. },
  493. },
  494. };
  495. </script>
  496. <style lang="scss" scoped>
  497. .nameStyle {
  498. color: #7484a4;
  499. font-size: 15px;
  500. }
  501. .container {
  502. display: flex;
  503. flex-direction: column;
  504. }
  505. .main {
  506. margin-top: 90px;
  507. display: flex;
  508. flex-direction: column;
  509. flex: 1;
  510. width: 100%;
  511. background: #f1f5f6;
  512. /* 内容区域顶部留出导航栏的高度 */
  513. }
  514. .text-style {
  515. font-weight: bold;
  516. }
  517. .flcard {
  518. padding: 20rpx;
  519. background-color: #ffffff;
  520. margin-bottom: 5rpx;
  521. }
  522. .datacard {
  523. width: 32.5%;
  524. margin: 1px;
  525. float: left;
  526. height: 74px;
  527. line-height: 27px;
  528. border-radius: 5px;
  529. background: url(/static/model/windM3.png),
  530. linear-gradient(
  531. to right,
  532. rgba(55, 135, 254, 0.08),
  533. rgba(4, 184, 255, 0.08),
  534. rgba(60, 161, 237, 0.08)
  535. );
  536. background-repeat: no-repeat;
  537. background-size: 100% 100%;
  538. background-position: right;
  539. }
  540. .dustcard {
  541. width: 47%;
  542. border-radius: 10px;
  543. margin: 10px;
  544. display: flex;
  545. background: linear-gradient(
  546. to right,
  547. rgba(55, 135, 254, 0.08),
  548. rgba(4, 184, 255, 0.08),
  549. rgba(60, 161, 237, 0.08)
  550. );
  551. flex-direction: row;
  552. justify-content: space-between;
  553. }
  554. .dust-right {
  555. margin-right: 10px;
  556. width: 60px;
  557. height: 60px;
  558. background: url(/static/warndata/dust.png);
  559. background-repeat: no-repeat;
  560. background-size: 100% 100%;
  561. }
  562. .datacard1 {
  563. width: 100%;
  564. margin: 2px;
  565. float: left;
  566. height: 200rpx;
  567. text-align: center;
  568. border-radius: 10px;
  569. background: linear-gradient(
  570. to right,
  571. rgba(55, 135, 254, 0.08),
  572. rgba(4, 184, 255, 0.08),
  573. rgba(60, 161, 237, 0.08)
  574. );
  575. }
  576. .title {
  577. position: relative;
  578. width: 100%;
  579. height: 50rpx;
  580. background: url(/static/warndata/title.png);
  581. background-repeat: no-repeat;
  582. background-size: 100% 100%;
  583. display: flex;
  584. /* 将父级元素设置为 Flex 容器 */
  585. align-items: center;
  586. /* 垂直居中子元素 */
  587. }
  588. .firecard {
  589. width: 100%;
  590. padding: 10px;
  591. float: left;
  592. text-align: center;
  593. border-radius: 10px;
  594. }
  595. .deviceCard {
  596. margin-top: 10rpx;
  597. }
  598. .item {
  599. position: relative;
  600. width: 100%;
  601. height: 80px;
  602. background-size: 100% 100%;
  603. background-repeat: no-repeat;
  604. }
  605. .deviceItem {
  606. position: absolute;
  607. width: 76%;
  608. top: 76%;
  609. left: 63%;
  610. transform: translate(-50%, -50%);
  611. display: flex;
  612. align-items: center;
  613. justify-content: space-around;
  614. }
  615. .firetext {
  616. margin: 20px;
  617. }
  618. .text-style1 {
  619. color: #3787fe;
  620. font-weight: bold;
  621. font-size: 17px;
  622. margin-left: 5px;
  623. }
  624. .red-text-style1 {
  625. color: #ff0000;
  626. font-weight: bold;
  627. font-size: 16px;
  628. }
  629. .firecontainer {
  630. margin-top: 10px;
  631. }
  632. .fire-style {
  633. display: flex;
  634. flex-wrap: wrap;
  635. }
  636. .fire-item1 {
  637. width: 45%;
  638. margin: 16rpx;
  639. background: linear-gradient(
  640. to right,
  641. rgba(55, 135, 254, 0.08),
  642. rgba(4, 184, 255, 0.08)
  643. );
  644. }
  645. .gascontainer {
  646. display: flex;
  647. }
  648. .gascard {
  649. width: 47%;
  650. border-radius: 10px;
  651. margin: 10px;
  652. display: flex;
  653. background: linear-gradient(
  654. to right,
  655. rgba(55, 135, 254, 0.08),
  656. rgba(4, 184, 255, 0.08),
  657. rgba(60, 161, 237, 0.08)
  658. );
  659. flex-direction: row;
  660. justify-content: space-between;
  661. }
  662. .gas-right {
  663. margin-right: 10px;
  664. width: 60px;
  665. height: 60px;
  666. background: url(/static/warndata/gas.png);
  667. background-repeat: no-repeat;
  668. background-size: 100% 100%;
  669. }
  670. .safecard {
  671. width: 47%;
  672. border-radius: 10px;
  673. margin: 10px;
  674. display: flex;
  675. background: linear-gradient(
  676. to right,
  677. rgba(55, 135, 254, 0.08),
  678. rgba(4, 184, 255, 0.08),
  679. rgba(60, 161, 237, 0.08)
  680. );
  681. flex-direction: row;
  682. justify-content: space-between;
  683. }
  684. .safe-container {
  685. display: flex;
  686. width: 100%;
  687. height: 70px;
  688. align-items: center;
  689. display: flex;
  690. justify-content: space-between;
  691. }
  692. .right {
  693. margin-right: 10px;
  694. width: 60px;
  695. height: 60px;
  696. background: url(/static/warndata/safety.png);
  697. background-repeat: no-repeat;
  698. background-size: 100% 100%;
  699. }
  700. .icon-style {
  701. margin-right: 8px;
  702. width: 13px;
  703. height: 13px;
  704. border-radius: 4px;
  705. }
  706. .typeBar {
  707. display: flex;
  708. justify-content: space-between;
  709. .icon-vent {
  710. display: flex;
  711. .u-icon--right {
  712. margin: 0px 5px;
  713. }
  714. }
  715. }
  716. </style>