Alarm.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. <template>
  2. <div class="alarm">
  3. <div class="alarm-top">
  4. <div class="alarm-top-left">
  5. <div class="alarm-divide" v-loading="dayLoading"
  6. element-loading-text="拼命加载中"
  7. element-loading-spinner="el-icon-loading"
  8. element-loading-background="rgba(0, 0, 0, 0.8)">
  9. <div class="alarm-title">
  10. <div class="alarm-title-left"></div>
  11. <div class="alarm-title-center">今日报警</div>
  12. <div class="alarm-title-right"></div>
  13. </div>
  14. <div class="alarm-content" style="background: #0F152B">
  15. <chart-pie :data="alarmPie"></chart-pie>
  16. </div>
  17. </div>
  18. <div class="alarm-divide" v-loading="listLoading"
  19. element-loading-text="拼命加载中"
  20. element-loading-spinner="el-icon-loading"
  21. element-loading-background="rgba(0, 0, 0, 0.8)">
  22. <div class="alarm-title">
  23. <div class="alarm-title-left"></div>
  24. <div class="alarm-title-center">报警分布</div>
  25. <div class="alarm-title-right"></div>
  26. </div>
  27. <div class="alarm-content">
  28. <alarm-bar :barData="list"></alarm-bar>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="alarm-top-center">
  33. <div class="alarm-title">
  34. <div class="alarm-title-left"></div>
  35. <div class="alarm-title-center">场区概况</div>
  36. <div class="alarm-title-right"></div>
  37. </div>
  38. <div class="alarm-content">
  39. <!-- <img src="../../assets/Alarm/111.png" width="100%" alt="">-->
  40. <canvas id="canvas" width="910" height="504"></canvas>
  41. <div class="bubble yufeishe" v-show="num === 1 && button1%2!==0" >
  42. <p>育肥舍</p>
  43. <p>育肥猪2457头</p>
  44. <p>在舍人数:7人</p>
  45. <p>温度:27.4℃</p>
  46. </div>
  47. <div class="bubble baoyushe" v-show="num === 1 && button1%2!==0">
  48. <p>保育舍</p>
  49. <p>保育猪2457头</p>
  50. <p>在舍人数:7人</p>
  51. <p>温度:27.4℃</p>
  52. </div>
  53. <div class="bubble gelishe" v-show="num === 1 && button1%2!==0">
  54. <p>隔离舍</p>
  55. <p>隔离猪2457头</p>
  56. <p>在舍人数:7人</p>
  57. <p>温度:27.4℃</p>
  58. </div>
  59. <div class="bubble shenghuo" v-show="num === 2 && button2%2!==0">
  60. <p>生活区</p>
  61. <p>在舍人数:7人</p>
  62. <p>温度:27.4℃</p>
  63. </div>
  64. <div class="bubble huanbao" v-show="num === 3 && button3%2!==0">
  65. <p>环保区</p>
  66. <p>氨氮:2.35mg/L</p>
  67. <p>流量:154T</p>
  68. <p>人员:1人</p>
  69. </div>
  70. <div class="bubble shui" v-show="num === 4 && button4%2!==0">
  71. <p>水泵房</p>
  72. <p>水压:1.2kpa</p>
  73. <p>用水量:154吨</p>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="alarm-top-left">
  78. <div class="alarm-divide" v-loading="pieLoading"
  79. element-loading-text="拼命加载中"
  80. element-loading-spinner="el-icon-loading"
  81. element-loading-background="rgba(0, 0, 0, 0.8)">
  82. <div class="alarm-title">
  83. <div class="alarm-title-left"></div>
  84. <div class="alarm-title-center">事件提醒</div>
  85. <div class="alarm-title-right"></div>
  86. </div>
  87. <div class="alarm-content">
  88. <chart-pie :id="'1'" :data="pieData"></chart-pie>
  89. </div>
  90. </div>
  91. <div class="alarm-divide" v-loading="pieLoading"
  92. element-loading-text="拼命加载中"
  93. element-loading-spinner="el-icon-loading"
  94. element-loading-background="rgba(0, 0, 0, 0.8)">
  95. <div class="alarm-title">
  96. <div class="alarm-title-left"></div>
  97. <div class="alarm-title-center">事件分布</div>
  98. <div class="alarm-title-right"></div>
  99. </div>
  100. <div class="alarm-content">
  101. <alarm-bar :bar-data="barData"></alarm-bar>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="alarm-bottom">
  107. <div class="alarm-top-left">
  108. <div class="alarm-title">
  109. <div class="alarm-title-left"></div>
  110. <div class="alarm-title-center">响应时间</div>
  111. <div class="alarm-title-right"></div>
  112. </div>
  113. <div class="alarm-content">
  114. <chart-bar :data="timeData"></chart-bar>
  115. </div>
  116. </div>
  117. <div class="alarm-top-center" v-loading="alarmLoading"
  118. element-loading-text="拼命加载中"
  119. element-loading-spinner="el-icon-loading"
  120. element-loading-background="rgba(0, 0, 0, 0.8)">
  121. <div class="alarm-title">
  122. <div class="alarm-title-left"></div>
  123. <div class="alarm-title-center">报警列表</div>
  124. <div class="alarm-title-right"></div>
  125. </div>
  126. <div class="alarm-content alarm-flex">
  127. <div class="flex-left">
  128. <div class="box" v-for="(item, i) in alarmList" :key="i">
  129. <el-row :gutter="20" style="width: 600px; height: 100%">
  130. <el-col :span="2" style="height: 100%">
  131. <div :class="['box-logo', i+1 === 1 ? 'logo1' : '', i+1 === 2 ? 'logo2' : '', i+1 === 3 ? 'logo3' : '' ]">{{i+1}}</div>
  132. </el-col>
  133. <el-col :span="14" style="height: 100%">
  134. <div style="text-align: left">{{item.msg}}</div>
  135. </el-col>
  136. <el-col :span="4" style="height: 100%">
  137. <div>{{item.levelName}}</div>
  138. </el-col>
  139. <el-col :span="4" style="height: 100%">
  140. <div>{{item.warningTime}}</div>
  141. </el-col>
  142. </el-row>
  143. </div>
  144. </div>
  145. <div class="flex-right">
  146. <div class="parent">
  147. <div class="parent-grid" @click="alarmClick(1)">核心区</div>
  148. <div class="parent-grid" @click="alarmClick(2)">生活区</div>
  149. <div class="parent-grid" @click="alarmClick(3)">环保区</div>
  150. <div class="parent-grid" @click="alarmClick(4)">其他</div>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="alarm-top-left" v-loading="personLoading"
  156. element-loading-text="拼命加载中"
  157. element-loading-spinner="el-icon-loading"
  158. element-loading-background="rgba(0, 0, 0, 0.8)">
  159. <div class="alarm-title">
  160. <div class="alarm-title-left"></div>
  161. <div class="alarm-title-center">异常人脸</div>
  162. <div class="alarm-title-right"></div>
  163. </div>
  164. <div class="alarm-content">
  165. <swiper style="height: 100%; margin-top: auto; margin-bottom: auto;" class="swiper" :options="swiperOption">
  166. <swiper-slide v-for="(item, i) in personList" :key="i">
  167. <div class="case" @click="open(item)">
  168. <div class="case-left">
  169. <img :src="item.recordImage" width="100%" alt="">
  170. </div>
  171. <div class="case-right" style="text-align: left">
  172. <div style="text-align: left">{{item.swingTime}}</div>
  173. <div style="color: white; line-height: 30px">陌生人</div>
  174. <div style="color: white; line-height: 30px">
  175. 进入区域:
  176. <span style="padding-left: 10px">{{item.deviceName}}</span>
  177. </div>
  178. </div>
  179. </div>
  180. </swiper-slide>
  181. </swiper>
  182. </div>
  183. </div>
  184. </div>
  185. <div class="bio-dialog" v-show="dialog" @click="dialog = false">
  186. <div class="dialog-content1">
  187. <img :src="selectImg" width="100%" alt="">
  188. </div>
  189. </div>
  190. </div>
  191. </template>
  192. <script>
  193. import ChartPie from "@/views/Alarm/chart/ChartPie";
  194. import AlarmBar from "@/views/Alarm/chart/AlarmBar";
  195. // import CostPie from "@/views/Alarm/chart/CostPie";
  196. import ChartBar from "@/views/BioSafety/chart/ChartBar";
  197. import { swiper, swiperSlide } from 'vue-awesome-swiper'
  198. import 'swiper/css/swiper.css'
  199. import {getAlarmList, getWeekInfo, getPersonList, getFaceToken, getAlarmRate, getCountByDay} from "@/utils/api";
  200. import img from '@/assets/Alarm/111.png';
  201. import {timeDate} from "@/utils";
  202. export default {
  203. name: "Alarm",
  204. components: {
  205. ChartPie,
  206. AlarmBar,
  207. // CostPie,
  208. ChartBar,
  209. swiper,
  210. swiperSlide
  211. },
  212. data() {
  213. return {
  214. barData: {
  215. id: 1,
  216. salvProName: [],
  217. salvProValue: []
  218. },
  219. pieData: [],
  220. timeData: {
  221. id: 1,
  222. time: ['断电', '故障', '环境报警', '污水处理'],
  223. data: [15, 20, 18, 4],
  224. name: '默认',
  225. unit: '分钟'
  226. },
  227. swiperOption: {
  228. direction: 'vertical',
  229. slidesPerView: 2,
  230. slidesPerColumn: 1,
  231. slidesPerGroup: 2,
  232. // spaceBetween: 30,
  233. autoplay: {
  234. delay: 3000,
  235. disableOnInteraction: false
  236. },
  237. // pagination: {
  238. // el: '.swiper-pagination',
  239. // clickable: true
  240. // }
  241. },
  242. ctx: null,
  243. num: 0,
  244. button1: 0,
  245. button2: 0,
  246. button3: 0,
  247. button4: 0,
  248. alarmList: [],
  249. list: {
  250. id: 2,
  251. salvProName: ['一级', '二级', '三级'],
  252. salvProValue: [0, 0, 0]
  253. },
  254. personList: [],
  255. selectImg: '',
  256. dialog: false,
  257. alarmPie: [],
  258. dayLoading: true,
  259. listLoading: true,
  260. pieLoading: true,
  261. alarmLoading: true,
  262. personLoading: true,
  263. }
  264. },
  265. methods: {
  266. alarmClick(num) {
  267. this.num = num;
  268. if(num === 1) {
  269. this.button1++;
  270. this.button2 = 0;
  271. this.button3 = 0;
  272. this.button4 = 0;
  273. if(this.button1 %2 === 0 ) {
  274. this.ctx.clearRect(0, 0, 910, 504);
  275. this.initCanvas()
  276. } else {
  277. this.ctx.lineWidth = 4;
  278. this.ctx.strokeStyle = '#F59A23';
  279. this.ctx.fillStyle = 'rgba(224, 218, 188, .6)';
  280. this.ctx.beginPath();
  281. this.ctx.moveTo(165, 85);
  282. this.ctx.lineTo(750, 85);
  283. this.ctx.lineTo(810, 265);
  284. this.ctx.lineTo(590, 265);
  285. this.ctx.lineTo(580, 195);
  286. this.ctx.lineTo(330, 195);
  287. this.ctx.lineTo(320, 270);
  288. this.ctx.lineTo(100, 270);
  289. this.ctx.closePath();
  290. this.ctx.moveTo(135,280);
  291. this.ctx.lineTo(310, 285);
  292. this.ctx.lineTo(300, 345);
  293. this.ctx.lineTo(120, 345);
  294. this.ctx.closePath();
  295. this.ctx.stroke();
  296. this.ctx.fill();
  297. }
  298. } else if(num === 2) {
  299. this.button2++;
  300. this.button1 = 0;
  301. this.button3 = 0;
  302. this.button4 = 0;
  303. if(this.button2 %2 === 0 ) {
  304. this.ctx.clearRect(0, 0, 910, 504);
  305. this.initCanvas()
  306. } else {
  307. this.ctx.lineWidth = 4;
  308. this.ctx.strokeStyle = '#1ADD4B';
  309. this.ctx.fillStyle = 'rgba(175, 179, 95, .6)';
  310. this.ctx.beginPath();
  311. this.ctx.moveTo(160, 360);
  312. this.ctx.lineTo(300, 360);
  313. this.ctx.lineTo(300, 375);
  314. this.ctx.lineTo(350, 375);
  315. this.ctx.lineTo(350, 360);
  316. this.ctx.lineTo(430, 360);
  317. this.ctx.lineTo(430, 345);
  318. this.ctx.lineTo(475, 345);
  319. this.ctx.lineTo(475, 360);
  320. this.ctx.lineTo(550, 360);
  321. this.ctx.lineTo(550, 410);
  322. this.ctx.lineTo(160, 410);
  323. // this.ctx.lineTo(590, 265);
  324. // this.ctx.lineTo(580, 195);
  325. // this.ctx.lineTo(330, 195);
  326. // this.ctx.lineTo(320, 270);
  327. // this.ctx.lineTo(100, 270);
  328. this.ctx.closePath();
  329. this.ctx.stroke();
  330. this.ctx.fill();
  331. }
  332. } else if(num === 3) {
  333. this.button3++;
  334. this.button2 = 0;
  335. this.button1 = 0;
  336. this.button4 = 0;
  337. if(this.button3 %2 === 0 ) {
  338. this.ctx.clearRect(0, 0, 910, 504);
  339. this.initCanvas()
  340. } else {
  341. this.ctx.lineWidth = 4;
  342. this.ctx.strokeStyle = '#F54F23';
  343. this.ctx.fillStyle = 'rgba(183, 109, 105, .6)';
  344. this.ctx.beginPath();
  345. this.ctx.moveTo(620, 360);
  346. this.ctx.lineTo(870, 360);
  347. this.ctx.lineTo(900, 450);
  348. this.ctx.lineTo(630, 450);
  349. this.ctx.closePath();
  350. this.ctx.stroke();
  351. this.ctx.fill();
  352. }
  353. } else if(num === 4) {
  354. this.button4++;
  355. this.button2 = 0;
  356. this.button1 = 0;
  357. this.button3 = 0;
  358. if(this.button4 %2 === 0 ) {
  359. this.ctx.clearRect(0, 0, 910, 504);
  360. this.initCanvas()
  361. } else {
  362. this.ctx.lineWidth = 4;
  363. this.ctx.strokeStyle = '#19AEE8';
  364. this.ctx.fillStyle = 'rgba(169, 213, 236, .6)';
  365. this.ctx.beginPath();
  366. this.ctx.moveTo(390,200);
  367. this.ctx.lineTo(440, 200);
  368. this.ctx.lineTo(440, 240);
  369. this.ctx.lineTo(390, 240);
  370. // this.ctx.lineTo(900, 450);
  371. // this.ctx.lineTo(630, 450);
  372. this.ctx.closePath();
  373. this.ctx.stroke();
  374. this.ctx.fill();
  375. }
  376. }
  377. },
  378. initCanvas() {
  379. var myCanvas = document.getElementById('canvas');
  380. this.ctx = myCanvas.getContext('2d');
  381. var imgs = new Image()
  382. var that = this;
  383. imgs.onload = function () {
  384. that.ctx.drawImage(imgs, 0, 0, 910, 540)
  385. }
  386. imgs.src = img;
  387. },
  388. init() {
  389. getAlarmList({quantity: 9}).then(res => {
  390. if(res.code === 10000) {
  391. this.alarmList = res.data;
  392. this.alarmLoading = false;
  393. }
  394. })
  395. getWeekInfo({}).then(res => {
  396. if(res.code === 10000) {
  397. this.list.salvProValue = [res.data.one, res.data.two, res.data.three];
  398. this.listLoading = false;
  399. }
  400. })
  401. let params = {
  402. pageNum: 1,
  403. pageSize: 20,
  404. startSwingTime: timeDate(new Date().getTime()) + '00:00:00',
  405. endSwingTime: timeDate(new Date().getTime()) + '23:59:59',
  406. containDomain: 1,
  407. openResult: 0
  408. }
  409. getPersonList(params).then(async res => {
  410. let result = JSON.parse(res.result);
  411. this.personList = result.data.pageData;
  412. const { token } = await getFaceToken();
  413. this.personList.forEach((item) => {
  414. item.channelName = item.channelName.split("人脸门禁")[0];
  415. item.recordImage = `https://36.26.62.70:447/evo-pic/${item.recordImage}?token=${token}&oss_addr=172.16.3.223:8925`;
  416. });
  417. this.personLoading = false;
  418. })
  419. getAlarmRate({}).then(res => {
  420. if(res.code === 10000) {
  421. this.alarmPie = res.data;
  422. this.dayLoading = false;
  423. }
  424. })
  425. getCountByDay({}).then(res => {
  426. if(res.code === 0) {
  427. this.barData.salvProName = [];
  428. this.barData.salvProValue = [];
  429. res.data.forEach(item => {
  430. this.barData.salvProName.push(item.name);
  431. this.barData.salvProValue.push(item.value);
  432. })
  433. this.pieData = res.data;
  434. this.pieLoading = false;
  435. }
  436. })
  437. },
  438. // 打开img
  439. open(item) {
  440. this.dialog = true;
  441. this.selectImg = item.recordImage;
  442. }
  443. },
  444. mounted() {
  445. this.initCanvas()
  446. this.init();
  447. }
  448. }
  449. </script>
  450. <style scoped>
  451. .alarm {
  452. width: 100%;
  453. height: 100%;
  454. box-sizing: border-box;
  455. padding: 20px 0 0 0;
  456. }
  457. .alarm-top {
  458. width: 100%;
  459. height: 550px;
  460. display: flex;
  461. justify-content: space-between;
  462. }
  463. .alarm-top-left {
  464. width: 405px;
  465. height: 100%;
  466. }
  467. .alarm-top-center {
  468. flex: 1;
  469. margin: 0 20px;
  470. }
  471. .alarm-divide {
  472. width: 100%;
  473. height: 50%;
  474. }
  475. .alarm-title {
  476. width: 100%;
  477. height: 26px;
  478. display: flex;
  479. }
  480. .alarm-title-left {
  481. flex: 1;
  482. height: 26px;
  483. background: url("../../assets/BioSafety/u1717.svg") no-repeat;
  484. background-size: 100% 100%;
  485. position: relative;
  486. }
  487. .alarm-title-left:before {
  488. content: '';
  489. height: 85%;
  490. border: 2px solid #66FFFF;
  491. position: absolute;
  492. top: 0;
  493. left: 0;
  494. }
  495. .alarm-title-center {
  496. width: 120px;
  497. height: 26px;
  498. background: url("../../assets/BioSafety/u1719.svg") no-repeat;
  499. background-size: 100% 100%;
  500. line-height: 26px;
  501. color: white;
  502. font-size: 16px;
  503. }
  504. .alarm-title-right {
  505. flex: 1;
  506. height: 26px;
  507. background: url("../../assets/BioSafety/u1718.svg") no-repeat;
  508. background-size: 100% 100%;
  509. position: relative;
  510. }
  511. .alarm-title-right:after {
  512. content: '';
  513. height: 85%;
  514. border: 2px solid #66FFFF;
  515. position: absolute;
  516. top: 0;
  517. right: 0;
  518. }
  519. .alarm-content {
  520. width: 100%;
  521. height: calc(100% - 26px);
  522. position: relative;
  523. }
  524. .alarm-bottom {
  525. width: 100%;
  526. height: calc(100% - 570px);
  527. margin-top: 20px;
  528. display: flex;
  529. justify-content: space-between;
  530. }
  531. .alarm-flex {
  532. display: flex;
  533. justify-content: space-between;
  534. }
  535. .flex-left {
  536. width: 600px;
  537. height: 100%;
  538. box-sizing: border-box;
  539. padding-top: 20px;
  540. overflow-y: auto;
  541. color: #fff;
  542. }
  543. .flex-left::-webkit-scrollbar {
  544. width: 0;
  545. }
  546. .flex-right {
  547. flex: 1;
  548. margin-left: 20px;
  549. box-sizing: border-box;
  550. padding: 20px 0;
  551. }
  552. .box {
  553. width: 100%;
  554. height: 20px;
  555. line-height: 20px;
  556. margin-bottom: 15px;
  557. }
  558. .box-logo {
  559. width: 20px;
  560. height: 20px;
  561. background-color: #666666;
  562. color: #fff;
  563. }
  564. .logo1 {
  565. background-color: #5F0CED;
  566. }
  567. .logo2 {
  568. background-color: #FE2277;
  569. }
  570. .logo3 {
  571. background-color: #F9A403;
  572. }
  573. .parent {
  574. width: 100%;
  575. height: 100%;
  576. display: grid;
  577. grid-template-columns: repeat(2, 1fr);
  578. grid-template-rows: repeat(2, 1fr);
  579. grid-column-gap: 20px;
  580. grid-row-gap: 20px;
  581. align-content: center;
  582. }
  583. .parent-grid {
  584. width: 100%;
  585. height: 100%;
  586. border: 1px solid #66FFFF;
  587. color: #66FFFF;
  588. background-color: #072A5B;
  589. display: grid;
  590. align-content: center;
  591. cursor: pointer;
  592. }
  593. .case {
  594. width: 100%;
  595. height: 100%;
  596. background: url("../../assets/BioSafety/some.png") no-repeat;
  597. background-size: 100% 100%;
  598. display: flex;
  599. cursor: pointer;
  600. }
  601. .case-left {
  602. width: 82px;
  603. height: 100%;
  604. overflow: hidden;
  605. }
  606. .case-right {
  607. margin-left: 10px;
  608. flex: 1
  609. }
  610. #canvas {
  611. position: absolute;
  612. top: 0;
  613. left: 0;
  614. }
  615. .bubble {
  616. width: 150px;
  617. height: 100px;
  618. position: absolute;
  619. background-color: rgba(35, 57, 87, .8);
  620. border-radius: 10px;
  621. text-align: center;
  622. box-sizing: border-box;
  623. padding: 10px;
  624. }
  625. .bubble::after{
  626. content: '';
  627. width: 0;
  628. height: 0;
  629. border: 20px solid;
  630. position: absolute;
  631. bottom: -40px;
  632. left: 58px;
  633. border-color: rgba(35, 57, 87, .8) transparent transparent;
  634. }
  635. .bubble p {
  636. margin: 0;
  637. line-height: 20px;
  638. color: #66FFFF;
  639. }
  640. .yufeishe {
  641. top: 40px;
  642. left: 160px;
  643. }
  644. .baoyushe {
  645. top: 40px;
  646. right: 160px;
  647. }
  648. .gelishe {
  649. top: 180px;
  650. left: 160px;
  651. }
  652. .shenghuo {
  653. bottom: 180px;
  654. left: 375px;
  655. }
  656. .huanbao {
  657. bottom: 150px;
  658. right: 80px;
  659. }
  660. .shui {
  661. top: 100px;
  662. left: 340px;
  663. }
  664. .bio-dialog {
  665. width: 100vw;
  666. height: 100vh;
  667. position: absolute;
  668. top: 0;
  669. left: 0;
  670. background-color: rgba(0,0,0 ,.6);
  671. z-index: 999;
  672. }
  673. .dialog-content1 {
  674. width: 15%;
  675. position: absolute;
  676. top: 50%;
  677. left: 50%;
  678. transform: translate(-50%, -50%);
  679. /*background-color: #fff;*/
  680. }
  681. </style>