Home.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. <template>
  2. <div class="home">
  3. <!-- 导航栏 -->
  4. <div class="content">
  5. <div class="content-left">
  6. <div class="left" @click="prev">
  7. <div class="left-mini"></div>
  8. </div>
  9. </div>
  10. <div class="content-center">
  11. <ul class="carousel" :style="{width: width + 'px', left: leftNum + 'px'}">
  12. <template v-for="(item, i) in list">
  13. <li class="carousel-li" :key="item.id" @click="jump(item)" @mouseover="onChange(i)" @mouseout="initData">
  14. <div class="box">
  15. <div class="box-line box-top-right"></div>
  16. <div class="box-line box-bottom-right"></div>
  17. <div class="box-line box-bottom-left"></div>
  18. <div class="box-line box-top-left"></div>
  19. <span>{{item.title}}</span>
  20. <div v-show="i === selectId" class="box-fixed"></div>
  21. </div>
  22. <div class="line">
  23. <div class="line-content">
  24. <div class="line-1 line-2"></div>
  25. <div :class="['line-1', line > 0 ? 'line-2' : '']"></div>
  26. <div :class="['line-1', line > 1 ? 'line-2' : '']"></div>
  27. <div :class="['line-1', line > 2 ? 'line-2' : '']"></div>
  28. <div :class="['line-1', line > 3 ? 'line-2' : '']"></div>
  29. <div :class="['line-1', line > 4 ? 'line-2' : '']"></div>
  30. </div>
  31. </div>
  32. </li>
  33. </template>
  34. </ul>
  35. </div>
  36. <div class="content-right">
  37. <div class="right" @click="next">
  38. <div class="right-mini"></div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="parent">
  43. <div class="case" v-show="selectId === 0">
  44. <div class="case-box case-left">
  45. <div class="case-title">人员管控</div>
  46. <div class="case-content">
  47. <div class="case-one">
  48. <span style=" padding-left: 20px;padding-right: 50px">正常</span>
  49. <span><strong class="sign">{{pig.personPassSuccess}}</strong>人次</span>
  50. </div>
  51. <div class="case-one">
  52. <span style=" padding-left: 20px; padding-right: 50px">异常</span>
  53. <span><strong class="sign">{{pig.personPassFail}}</strong>人次</span>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="case-center">
  58. <div class="case-title">车辆管控</div>
  59. <div class="case-content">
  60. <div class="case-one">
  61. <span style="padding-left: 20px; padding-right: 50px">车辆驶入</span>
  62. <span><strong class="sign">{{pig.carPassIn}}</strong>次</span>
  63. </div>
  64. <div class="case-one">
  65. <span style="padding-left: 20px; padding-right: 50px">车辆驶出</span>
  66. <span><strong class="sign">{{pig.carPassOut}}</strong>次</span>
  67. </div>
  68. </div>
  69. </div>
  70. <div class="case-center">
  71. <div class="case-title">车辆洗消</div>
  72. <div class="case-content">
  73. <div class="case-one">
  74. <span style="padding-left: 20px; padding-right: 50px">今日洗消</span>
  75. <span><strong class="sign">{{pig.tadayXiXiao}}</strong>次</span>
  76. </div>
  77. <div class="case-one">
  78. <span style="padding-left: 20px; padding-right: 50px">七日洗消</span>
  79. <span><strong class="sign">{{pig.SevenDayXIxiao}}</strong>次</span>
  80. </div>
  81. </div>
  82. </div>
  83. <div class="case-box case-right">
  84. <div class="case-title">死猪监管</div>
  85. <div class="case-content">
  86. <div class="case-one">
  87. <span style="padding-right: 30px">今日抓取</span>
  88. <span><strong class="sign">{{pig.tadaySiZhu}}</strong>次</span>
  89. </div>
  90. <div class="case-one">
  91. <span style=" padding-right: 30px">七日抓取</span>
  92. <span><strong class="sign">{{pig.SevenDaySiZhu}}</strong>次</span>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="case" v-show="selectId === 1">
  98. <div class="case-box case-left">
  99. <div class="case-title">猪舍温度</div>
  100. <div class="case-content">
  101. <div class="case-one">
  102. <span style=" padding-left: 20px;padding-right: 35px">最高</span>
  103. <span><strong class="sign">{{env.maxTem ? env.maxTem : '0'}}</strong>℃</span>
  104. </div>
  105. <div class="case-one">
  106. <span style=" padding-left: 20px; padding-right: 35px">最低</span>
  107. <span><strong class="sign">{{env.minTem ? env.minTem : '0'}}</strong>℃</span>
  108. </div>
  109. </div>
  110. </div>
  111. <div class="case-center">
  112. <div class="case-title">猪舍湿度</div>
  113. <div class="case-content">
  114. <div class="case-one">
  115. <span style="padding-left: 40px; padding-right: 50px">最高</span>
  116. <span><strong class="sign">{{env.maxHum ? env.maxHum : '0'}}</strong>RH</span>
  117. </div>
  118. <div class="case-one">
  119. <span style="padding-left: 40px; padding-right: 50px">最低</span>
  120. <span><strong class="sign">{{env.minHum ? env.minHum : '0'}}</strong>RH</span>
  121. </div>
  122. </div>
  123. </div>
  124. <div class="case-center">
  125. <div class="case-title">猪场耗电量</div>
  126. <div class="case-content">
  127. <div class="case-one">
  128. <span style="padding-left: 20px; padding-right: 40px">今日累计</span>
  129. <span><strong class="sign">0</strong>kw/h</span>
  130. </div>
  131. <div class="case-one">
  132. <span style="padding-left: 20px; padding-right: 40px">本月累计</span>
  133. <span><strong class="sign">0</strong>kw/h</span>
  134. </div>
  135. </div>
  136. </div>
  137. <div class="case-box case-right">
  138. <div class="case-title">猪舍用水量</div>
  139. <div class="case-content">
  140. <div class="case-one">
  141. <span style="padding-right: 5px">今日累计</span>
  142. <span><strong class="sign">{{env.dayWater ? env.dayWater : '0'}}</strong>吨</span>
  143. </div>
  144. <div class="case-one">
  145. <span style=" padding-right: 5px">本月累计</span>
  146. <span><strong class="sign" style="font-size: 22px">{{env.monthWater ? env.monthWater : '0'}}</strong>吨</span>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. <div class="case" v-show="selectId === 2">
  152. <div class="case-box case-left">
  153. <div class="case-title">总存栏</div>
  154. <div class="case-content">
  155. <div class="case-two">
  156. <span><strong class="sign">{{pro.total ? pro.total : '设备暂无数据'}}</strong>{{pro.total ? '头' : ''}}</span>
  157. </div>
  158. </div>
  159. </div>
  160. <div class="case-center">
  161. <div class="case-title">本月卖猪</div>
  162. <div class="case-content">
  163. <div class="case-two">
  164. <span><strong class="sign">{{pro.quantity ? pro.quantity : '设备暂无数据'}}</strong>{{pro.quantity ? '头' : ''}}</span>
  165. </div>
  166. </div>
  167. </div>
  168. <div class="case-center">
  169. <div class="case-title">本月累计销售额度</div>
  170. <div class="case-content">
  171. <div class="case-two">
  172. <span><strong class="sign">{{pro.money ? (Math.floor(Number(pro.money) * 100) / 100).toLocaleString() : '设备暂无数据'}}</strong>{{pro.money ? '元' : ''}}</span>
  173. </div>
  174. </div>
  175. </div>
  176. <div class="case-box case-right">
  177. <div class="case-title">今日任务</div>
  178. <div class="case-content">
  179. <div class="case-two">
  180. <span><strong class="sign">{{pro.task ? pro.task : '设备暂无数据'}}</strong>{{pro.task ? '个' : ''}}</span>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. <div class="case" v-show="selectId === 3">
  186. <div class="case-box case-left">
  187. <div class="case-title">COD</div>
  188. <div class="case-content">
  189. <div class="case-two">
  190. <span><strong class="sign">{{envList.cod ? envList.cod : '设备暂无数据'}}</strong>{{envList.cod ? 'mg/L' : ''}}</span>
  191. </div>
  192. </div>
  193. </div>
  194. <div class="case-center">
  195. <div class="case-title">流量</div>
  196. <div class="case-content">
  197. <div class="case-two">
  198. <span><strong class="sign">{{envList.liu ? envList.liu : '设备暂无数据'}}</strong>{{envList.liu ? 'L/s' : ''}}</span>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="case-center">
  203. <div class="case-title">ph</div>
  204. <div class="case-content">
  205. <div class="case-two">
  206. <span><strong class="sign">{{envList.ph ? envList.ph : '设备暂无数据'}}</strong></span>
  207. </div>
  208. </div>
  209. </div>
  210. <div class="case-box case-right">
  211. <div class="case-title">氨氮</div>
  212. <div class="case-content">
  213. <div class="case-two">
  214. <span><strong class="sign">{{envList.ad ? envList.ad : '设备暂无数据'}}</strong>{{envList.ad ? 'mg/L' : ''}}</span>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. <div class="case" v-show="selectId === 4">
  220. <div class="case-box case-left">
  221. <div class="case-title">今日报警</div>
  222. <div class="case-content">
  223. <div class="case-two">
  224. <span><strong class="sign">{{alarm.todayAlarm ? alarm.todayAlarm : '暂无报警数据'}}</strong></span>
  225. </div>
  226. </div>
  227. </div>
  228. <div class="case-center">
  229. <div class="case-title">故障率</div>
  230. <div class="case-content">
  231. <div class="case-two">
  232. <span><strong class="sign">{{alarm.failureRate ? alarm.failureRate : '暂无数据'}}</strong></span>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="case-center">
  237. <div class="case-title">三级报警数量</div>
  238. <div class="case-content">
  239. <div class="case-two">
  240. <span><strong class="sign">{{alarm.warningQuantity ? alarm.warningQuantity : '暂无数据'}}</strong></span>
  241. </div>
  242. </div>
  243. </div>
  244. <div class="case-box case-right">
  245. <div class="case-title">事件提醒</div>
  246. <div class="case-content">
  247. <div class="case-two">
  248. <span><strong class="sign">{{alarm.todayEventTotal ? alarm.todayEventTotal : '暂无数据'}}</strong></span>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="case" v-show="selectId === 5"></div>
  254. <div class="case" v-show="selectId === 6"></div>
  255. </div>
  256. <div class="home-footer">
  257. <div class="home-footer-blue"></div>
  258. <div class="home-footer-map"></div>
  259. <div class="home-footer-scatter"></div>
  260. <div :class="['home-footer-flash']"></div>
  261. </div>
  262. <div class="bio-dialog" v-show="permissionShow" @click="permissionShow = false">
  263. <div class="dialog-content1">
  264. <div style="margin-bottom: 20px">
  265. <i class="el-icon-error" style="font-size: 48px; color: red"></i>
  266. </div>
  267. <div style="color: white; font-size: 32px">
  268. 抱歉您暂无权限查看,请联系管理员
  269. </div>
  270. </div>
  271. </div>
  272. </div>
  273. </template>
  274. <script>
  275. import {getScreen, getListLargeScreen, getEnvList, getAlarmAndPig, alarmHome} from "@/utils/api";
  276. export default {
  277. name: "Home",
  278. data() {
  279. return {
  280. width: '',
  281. list: [
  282. {
  283. id: 1,
  284. title: '生物安全',
  285. url: '/bioSafety',
  286. permission: 'bioSafety:look'
  287. },
  288. {
  289. id: 2,
  290. title: '生态监测',
  291. url: '/zoology',
  292. permission: 'zoology:look'
  293. },
  294. {
  295. id: 3,
  296. title: '生产经营',
  297. url: '/production',
  298. permission: 'production:look'
  299. },
  300. {
  301. id: 4,
  302. title: '环境监测',
  303. url: '/environment',
  304. permission: 'environment:look'
  305. },
  306. {
  307. id: 5,
  308. title: '报警信息',
  309. url: '/alarm',
  310. permission: 'alarm:look'
  311. },
  312. {
  313. id: 6,
  314. title: '视频监控',
  315. url: '/monit',
  316. permission: 'monit:look'
  317. },
  318. {
  319. id: 7,
  320. title: 'AI人脸识别',
  321. url: '/crew',
  322. permission: 'crew:look'
  323. },
  324. ],
  325. num: 0,
  326. leftNum: 0,
  327. line: 0,
  328. // 进度条定时器
  329. timer: null,
  330. // 下面数据定时器
  331. timer2: null,
  332. selectId: 0,
  333. // 闪光
  334. isFlash: true,
  335. timer3: null,
  336. //获取当前时间
  337. timer4: null,
  338. currentTime: new Date(),
  339. env: {},
  340. pro: {},
  341. envList: {},
  342. pig: {
  343. SevenDaySiZhu: "0",
  344. SevenDayXIxiao: "0",
  345. carPassIn: "0",
  346. carPassOut: "0",
  347. personPassFail: "0",
  348. personPassSuccess: "0",
  349. tadaySiZhu: "0",
  350. tadayXiXiao: "0",
  351. },
  352. alarm: {},
  353. permissionShow: false,
  354. step: 0,
  355. }
  356. },
  357. methods: {
  358. init() {
  359. getScreen({}).then(res => {
  360. if(res.code === 10000) {
  361. if(res.data != null) {
  362. this.env = res.data;
  363. }
  364. }
  365. })
  366. getListLargeScreen({}).then(res => {
  367. if(res.code === 10000) {
  368. this.pro = res.data;
  369. }
  370. })
  371. getEnvList({}).then(res => {
  372. if(res.code === 10000) {
  373. this.envList = {
  374. ph: res.data.phPj,
  375. cod: res.data.hxxylPj,
  376. liu: res.data.wsPj,
  377. ad: res.data.adPj
  378. }
  379. }
  380. })
  381. getAlarmAndPig({}).then(res => {
  382. if(res.code === 0) {
  383. if(res.data != null) {
  384. this.pig = res.data;
  385. }
  386. }
  387. })
  388. alarmHome({}).then(res => {
  389. if(res.code === 10000) {
  390. this.alarm = res.data;
  391. }
  392. })
  393. },
  394. prev() {
  395. let step = this.step / 5;
  396. if(this.num > 0) {
  397. this.num--;
  398. this.leftNum += step;
  399. } else {
  400. this.num = 0;
  401. this.leftNum = 0;
  402. }
  403. },
  404. next() {
  405. let step = this.step / 5;
  406. if(this.num >= this.list.length - 5) {
  407. return;
  408. } else {
  409. this.num++;
  410. this.leftNum -= step;
  411. }
  412. },
  413. initLine() {
  414. let that = this;
  415. this.timer = setInterval(() => {
  416. setTimeout(() => {
  417. if(that.line >= 5) {
  418. that.line = 0;
  419. } else {
  420. that.line++;
  421. }
  422. })
  423. }, 500)
  424. },
  425. onChange(i) {
  426. clearInterval(this.timer2);
  427. if(i > 6) {
  428. this.selectId = 6;
  429. } else {
  430. this.selectId = i;
  431. }
  432. },
  433. initData() {
  434. let that = this;
  435. this.timer2 = setInterval(() => {
  436. setTimeout(() => {
  437. if(that.selectId >= 6) {
  438. that.selectId = 0;
  439. } else {
  440. that.selectId++;
  441. }
  442. })
  443. }, 3000)
  444. },
  445. jump(item) {
  446. // 是否有权限
  447. if(this.hasPerm(item.permission)) {
  448. this.$router.push(item.url);
  449. } else {
  450. this.permissionShow = true;
  451. }
  452. },
  453. },
  454. mounted() {
  455. this.init()
  456. this.width = this.list.length * (220 + 180);
  457. this.step = document.getElementsByClassName('content-center')[0].clientWidth;
  458. this.initLine()
  459. this.initData();
  460. // this.initFalsh();
  461. },
  462. beforeDestroy() {
  463. clearInterval(this.timer);
  464. clearInterval(this.timer2);
  465. }
  466. }
  467. </script>
  468. <style scoped>
  469. .home {
  470. box-sizing: border-box;
  471. width: 100%;
  472. height: 100%;
  473. padding: 40px 0 0 0;
  474. }
  475. .left {
  476. width: 38px;
  477. height: 42px;
  478. background: url('../../assets/Home/u446.svg') no-repeat;
  479. background-size: 100% 100%;
  480. transform: rotate(180deg);
  481. position: relative;
  482. cursor: pointer;
  483. }
  484. .left-mini {
  485. width: 18px;
  486. height: 20px;
  487. background: url('../../assets/Home/u447.svg') no-repeat;
  488. background-size: 100% 100%;
  489. position: absolute;
  490. top: 11px;
  491. left: 6px;
  492. }
  493. .content {
  494. width: 100%;
  495. height: 150px;
  496. box-sizing: border-box;
  497. padding: 0 50px;
  498. display: flex;
  499. justify-content: space-between;
  500. align-items: center;
  501. }
  502. .content-center {
  503. width: 1500px;
  504. height: 100%;
  505. overflow: hidden;
  506. position: relative;
  507. }
  508. .right {
  509. width: 38px;
  510. height: 42px;
  511. background: url('../../assets/Home/u446.svg') no-repeat;
  512. background-size: 100% 100%;
  513. position: relative;
  514. cursor: pointer;
  515. }
  516. .right-mini {
  517. width: 18px;
  518. height: 20px;
  519. background: url('../../assets/Home/u447.svg') no-repeat;
  520. background-size: 100% 100%;
  521. position: absolute;
  522. top: 11px;
  523. left: 6px;
  524. }
  525. .carousel {
  526. padding: 0 10px;
  527. margin: 0;
  528. list-style: none;
  529. height: 100%;
  530. position: absolute;
  531. top: 0;
  532. left: 0;
  533. transition: left ease-in .5s;
  534. }
  535. .carousel-li {
  536. width: 220px;
  537. height: 150px;
  538. margin-right: 90px;
  539. float: left;
  540. cursor: pointer;
  541. }
  542. .carousel-li:last-child {
  543. margin-right: 0;
  544. }
  545. .box {
  546. width: 210px;
  547. height: 120px;
  548. background: url("../../assets/Home/u66.svg") no-repeat;
  549. background-size: 100% 100%;
  550. margin: 0 auto;
  551. line-height: 120px;
  552. font-size: 24px;
  553. text-align: center;
  554. font-weight: 600;
  555. color: white;
  556. position: relative;
  557. }
  558. .box-fixed {
  559. width: 205px;
  560. height: 114px;
  561. position: absolute;
  562. top: 3px;
  563. left: 3px;
  564. background: #58a;
  565. background: linear-gradient(-32deg,transparent 12px,#58a 0) bottom right,
  566. linear-gradient(32deg,transparent 12px,#58a 0) bottom left,
  567. linear-gradient(150deg,transparent 12px,#58a 0) top left,
  568. linear-gradient(-150deg,transparent 12px,#58a 0) top right;
  569. background-size: 50% 50%;
  570. background-repeat: no-repeat;
  571. opacity: .5;
  572. }
  573. .line {
  574. width: 150px;
  575. height: 17px;
  576. margin: 10px auto;
  577. border: 2px solid #218FA0;
  578. box-sizing: border-box;
  579. padding: 2px;
  580. }
  581. .line-content {
  582. width: 100%;
  583. height: 100%;
  584. display: flex;
  585. justify-content: space-around;
  586. }
  587. .line-1 {
  588. width: 19px;
  589. height: 100%;
  590. background-color: #20909E;
  591. }
  592. .line-2 {
  593. background-color: #47E7FD;
  594. }
  595. .box-line {
  596. width: 16px;
  597. height: 27px;
  598. position: absolute;
  599. }
  600. .box-top-right {
  601. background: url("../../assets/Home/u64.svg") no-repeat;
  602. background-size: 100% 100%;
  603. top: 0;
  604. right: -15px;
  605. }
  606. .box-bottom-right {
  607. background: url("../../assets/Home/u65.svg") no-repeat;
  608. background-size: 100% 100%;
  609. bottom: 0;
  610. right: -15px;
  611. }
  612. .box-bottom-left {
  613. background: url("../../assets/Home/u63.svg") no-repeat;
  614. background-size: 100% 100%;
  615. bottom: 0;
  616. left: -15px;
  617. }
  618. .box-top-left {
  619. background: url("../../assets/Home/u62.svg") no-repeat;
  620. background-size: 100% 100%;
  621. top: 0;
  622. left: -15px;
  623. }
  624. .parent {
  625. margin-top: 100px;
  626. animation: flip-horizontal-bck 1.2s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
  627. }
  628. @keyframes flip-horizontal-bck {
  629. 0% {
  630. -webkit-transform: translateZ(-260px) rotateX(190deg);
  631. transform: translateZ(-260px) rotateX(190deg);
  632. }
  633. 100% {
  634. -webkit-transform: translateZ(0) rotateX(0);
  635. transform: translateZ(0) rotateX(0);
  636. }
  637. }
  638. .case {
  639. width: 1200px;
  640. height: 360px;
  641. margin: 40px auto;
  642. display: flex;
  643. justify-content: space-between;
  644. /*transition: ;*/
  645. animation: anim 1s;
  646. z-index: 999;
  647. }
  648. @keyframes anim {
  649. 0% {
  650. opacity: 0;
  651. }
  652. 100% {
  653. opacity: 1;
  654. }
  655. }
  656. .case-box {
  657. width: 240px;
  658. height: 320px;
  659. background-color: #0B5B6C;
  660. position: relative;
  661. top: 20px;
  662. box-sizing: border-box;
  663. padding: 20px;
  664. }
  665. .case-center {
  666. width: 300px;
  667. height: 320px;
  668. background-color: #0B5B6C;
  669. box-sizing: border-box;
  670. padding: 20px;
  671. }
  672. .case-left {
  673. transform: skew(0, -8deg);
  674. }
  675. .case-right {
  676. transform: skew(0, 8deg);
  677. }
  678. .case-title {
  679. background-color: #0D3952;
  680. width: 100%;
  681. height: 60px;
  682. line-height: 60px;
  683. font-size: 20px;
  684. text-align: center;
  685. font-weight: 600;
  686. color: #5DEBED;
  687. }
  688. .case-content {
  689. width: 100%;
  690. height: calc(100% - 80px);
  691. margin-top: 20px;
  692. /*text-align: center;*/
  693. }
  694. .case-one {
  695. width: 100%;
  696. line-height: 80px;
  697. font-weight: 600;
  698. font-size: 18px;
  699. color: #5DEBED;
  700. text-align: left;
  701. }
  702. .sign {
  703. font-size: 30px;
  704. }
  705. .case-two {
  706. width: 100%;
  707. line-height: 160px;
  708. font-size: 18px;
  709. color: #5DEBED;
  710. text-align: center;
  711. }
  712. .home-footer {
  713. width: 761px;
  714. height: 190px;
  715. background: url("../../assets/Home/u458.svg") no-repeat;
  716. margin: auto;
  717. background-size: 100% 100%;
  718. position: relative;
  719. }
  720. .home-footer-map {
  721. width: 658px;
  722. height: 121px;
  723. background: url("../../assets/Home/u460.svg") no-repeat;
  724. background-size: 100% 100%;
  725. position: absolute;
  726. top: 25px;
  727. left: 60px;
  728. }
  729. .home-footer-blue {
  730. width: 706px;
  731. height: 149px;
  732. background: url("../../assets/Home/u459.svg") no-repeat;
  733. background-size: 100% 100%;
  734. position: absolute;
  735. top: 13px;
  736. left: 35px;
  737. }
  738. .home-footer-scatter {
  739. width: 894px;
  740. height: 468px;
  741. background: url("../../assets/Home/u461.svg") no-repeat;
  742. background-size: 100% 100%;
  743. position: absolute;
  744. left: 52%;
  745. top: -40%;
  746. transform: translate(-50%, -50%);
  747. opacity: .1;
  748. z-index: 99;
  749. }
  750. .home-footer-flash {
  751. width: 640px;
  752. height: 500px;
  753. position: absolute;
  754. top: -80%;
  755. left: 50%;
  756. transform: translate(-50%, -50%);
  757. background: linear-gradient(to bottom, rgba(102, 255, 255, .1), rgba(102, 255, 255, .3));
  758. animation: breathLamp 1.5s alternate infinite;
  759. }
  760. @keyframes breathLamp {
  761. 0% {
  762. opacity: .1;
  763. }
  764. 100% {
  765. opacity: 1;
  766. }
  767. }
  768. .bio-dialog {
  769. width: 100vw;
  770. height: 100vh;
  771. position: absolute;
  772. top: 0;
  773. left: 0;
  774. background-color: rgba(0,0,0, .9);
  775. z-index: 999;
  776. }
  777. .dialog-content1 {
  778. width: 25%;
  779. position: absolute;
  780. top: 40%;
  781. left: 50%;
  782. transform: translate(-50%, -50%);
  783. border: 1px solid #007aff;
  784. box-sizing: border-box;
  785. padding: 40px;
  786. /*background-color: #fff;*/
  787. }
  788. </style>