home.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <template>
  2. <div class="home" :class="userType != 22&&initPage == 'true' ? 'home-class' : ''" >
  3. <!--<div class="button-max-box" v-if="userType != '22'">-->
  4. <!--<dv-full-screen-container v-if="userType != '22'&&initPage == 'true'" style="display: flex;flex-direction: column;flex:1;">-->
  5. <home-navbar />
  6. <div class="max-big-home-box" v-if="userType != 22&&initPage == 'true'">
  7. <div class="max-home-button-box">
  8. <div class="max-home-box">
  9. <div class="max-bottom-box">
  10. <div class="top-button-box">
  11. <div class="left-box">
  12. <div class="position-button top-margin" @click="goPage('EmergencyManagement','应急预警')">
  13. <div>
  14. <img src="@/assets/ZDimages/home/icon_sy_yjyj.png">
  15. <p>应急预警</p>
  16. </div>
  17. </div>
  18. <div class="position-button" @click="goPage('GasManage','气瓶监测')">
  19. <div>
  20. <img src="@/assets/ZDimages/home/icon_sy_qpjc.png">
  21. <p>气瓶监测</p>
  22. </div>
  23. </div>
  24. <div class="position-button" @click="goPage('ChemicalLibrary','化学品管理')">
  25. <div>
  26. <img src="@/assets/ZDimages/home/icon_sy_hxpgl.png">
  27. <p>化学品管控</p>
  28. </div>
  29. </div>
  30. <!--<div class="position-button top-margin" @click="goPage('SafetyEducationExam','安全教育与考试')">-->
  31. <!--<div>-->
  32. <!--<img src="@/assets/ZDimages/home/icon_sy_aqjyyks.png">-->
  33. <!--<p>安全教育与考试</p>-->
  34. <!--</div>-->
  35. <!--</div>-->
  36. <!--<div class="position-button" @click="goPage('null','责任体系')">-->
  37. <!--<div>-->
  38. <!--<img src="@/assets/ZDimages/home/icon_sy_zrtx.png">-->
  39. <!--<p>责任体系</p>-->
  40. <!--</div>-->
  41. <!--</div>-->
  42. <!--<div class="position-button" @click="goPage('SecureAccess','安全准入')">-->
  43. <!--<div>-->
  44. <!--<img src="@/assets/ZDimages/home/icon_sy_aqjyyks.png">-->
  45. <!--<p>安全准入</p>-->
  46. <!--</div>-->
  47. <!--</div>-->
  48. </div>
  49. <div class="center-box">
  50. <div class="position-button" @click="goPage('Https://www.sxitdlc.com','数据大屏')">
  51. <div>
  52. <img src="@/assets/ZDimages/home/icon_sydlpt_sjksh.png">
  53. <p>数据可视化</p>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="right-box">
  58. <div class="position-button top-margin" @click="goPage('SecureAccess','安全准入')">
  59. <div>
  60. <img src="@/assets/ZDimages/home/icon_sy_aqzr.png">
  61. <p>安全准入</p>
  62. </div>
  63. </div>
  64. <div class="position-button" @click="goPage('HazardManagement','危险源管理')">
  65. <div>
  66. <img src="@/assets/ZDimages/home/icon_tydlptsy_wxygl.png">
  67. <p>危险源管理</p>
  68. </div>
  69. </div>
  70. <div class="position-button" @click="goPage('SecurityCheck','安全检查')">
  71. <div>
  72. <img src="@/assets/ZDimages/home/icon_sy_aqjc.png">
  73. <p>安全检查</p>
  74. </div>
  75. </div>
  76. <!--<div class="position-button top-margin" @click="goPage('HierarchicalControl','分级管控')">-->
  77. <!--<div>-->
  78. <!--<img src="@/assets/ZDimages/home/icon_sy_fjgk.png">-->
  79. <!--<p>分级管控</p>-->
  80. <!--</div>-->
  81. <!--</div>-->
  82. <!--<div class="position-button" @click="goPage('SecurityCheck','安全检查')">-->
  83. <!--<div>-->
  84. <!--<img src="@/assets/ZDimages/home/icon_sy_aqjc.png">-->
  85. <!--<p>安全检查</p>-->
  86. <!--</div>-->
  87. <!--</div>-->
  88. <!--<div class="position-button" @click="goPage('HazardManagement','危险源管理')">-->
  89. <!--<div>-->
  90. <!--<img src="@/assets/ZDimages/home/icon_tydlptsy_wxygl.png">-->
  91. <!--<p>危险源管理</p>-->
  92. <!--</div>-->
  93. <!--</div>-->
  94. </div>
  95. </div>
  96. <div class="center-button-box display-none-one"></div>
  97. <div class="bottom-button-box">
  98. <div class="null-button"></div>
  99. <div class="position-button" @click="goPage('SafetyEducationExam','安全教育与考试')">
  100. <div>
  101. <img src="@/assets/ZDimages/home/icon_sy_aqyuyks.png">
  102. <p>安全教育与考试</p>
  103. </div>
  104. </div>
  105. <div class="position-button" @click="goPage('CreditViolation','信用管理')">
  106. <div>
  107. <img src="@/assets/ZDimages/home/icon_sy_xygl.png">
  108. <p>信用管理</p>
  109. </div>
  110. </div>
  111. <div class="position-button" @click="goPage('HierarchicalControl','分级管控')">
  112. <div>
  113. <img src="@/assets/ZDimages/home/icon_sy_fjgk.png">
  114. <p>分级管控</p>
  115. </div>
  116. </div>
  117. <div class="position-button" @click="goPage('null','安全档案')">
  118. <div>
  119. <img src="@/assets/ZDimages/home/icon_sy_aqda.png">
  120. <p>安全档案</p>
  121. </div>
  122. </div>
  123. <div class="position-button" @click="goPage('Comprehensive','综合管理')">
  124. <div>
  125. <img src="@/assets/ZDimages/home/icon_sy_zhgl.png">
  126. <p>综合管理</p>
  127. </div>
  128. </div>
  129. <!--<div class="position-button" @click="goPage('EmergencyManagement','应急管理')">-->
  130. <!--<div>-->
  131. <!--<img src="@/assets/ZDimages/home/icon_sy_yjgl.png">-->
  132. <!--<p>应急管理</p>-->
  133. <!--</div>-->
  134. <!--</div>-->
  135. <!--<div class="position-button" @click="goPage('CreditViolation','信用管理')">-->
  136. <!--<div>-->
  137. <!--<img src="@/assets/ZDimages/home/icon_sy_xywg.png">-->
  138. <!--<p>信用管理</p>-->
  139. <!--</div>-->
  140. <!--</div>-->
  141. <!--<div class="position-button" @click="goPage('null','安全档案')">-->
  142. <!--<div>-->
  143. <!--<img src="@/assets/ZDimages/home/icon_sy_aqda.png">-->
  144. <!--<p>安全档案</p>-->
  145. <!--</div>-->
  146. <!--</div>-->
  147. <!--<div class="position-button" @click="goPage('Comprehensive','综合管理')">-->
  148. <!--<div>-->
  149. <!--<img src="@/assets/ZDimages/home/icon_sy_zhgl.png">-->
  150. <!--<p>综合管理</p>-->
  151. <!--</div>-->
  152. <!--</div>-->
  153. <div class="null-button"></div>
  154. </div>
  155. </div>
  156. <img class="img-1" src="@/assets/ZDimages/home/img_sy_lf.png">
  157. <img class="img-2" src="@/assets/ZDimages/home/img_yh_db.png">
  158. <img class="img-3" src="@/assets/ZDimages/home/img_yh_zj.png">
  159. <img class="img-4" src="@/assets/ZDimages/home/img_yh_dd.png">
  160. <img class="img-5" src="@/assets/ZDimages/home/img_yh_zj.png">
  161. <img class="img-6" src="@/assets/ZDimages/home/img_yh_db.png">
  162. </div>
  163. </div>
  164. </div>
  165. <!--<div class="bottom-null-box"></div>-->
  166. <!--</dv-full-screen-container>-->
  167. <backAnimation v-if="userType != '22'&&initPage == 'true'"></backAnimation>
  168. </div>
  169. </template>
  170. <script>
  171. import backAnimation from "@/components/backAnimation/backAnimation"
  172. import homeNavbar from './homeNavbar.vue'
  173. export default {
  174. name: "home",
  175. components: {
  176. homeNavbar,
  177. backAnimation
  178. },
  179. data() {
  180. return {
  181. routeData:{},
  182. userType:localStorage.getItem('userType'),
  183. initPage:localStorage.getItem('initPage'),
  184. };
  185. },
  186. created(){
  187. },
  188. mounted(){
  189. let self =this
  190. this.routeData = JSON.parse(localStorage.getItem("routeData"))
  191. if(localStorage.getItem('initPage') == 'true'){
  192. console.log("true")
  193. if(localStorage.getItem('userType') == '22'){
  194. for(let i=0;i<self.routeData.length;i++){
  195. if(!self.routeData[i].hidden&&self.routeData[i].name != 'Https://www.sxitdlc.com'){
  196. if (self.routeData[i].children){
  197. for(let o=0;o<self.routeData[i].children.length;o++){
  198. if(!self.routeData[i].children[o].alwaysShow&&!self.routeData[i].children[o].hidden){
  199. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path;
  200. console.log("urlText",urlText)
  201. this.$router.push({ path: urlText });
  202. return
  203. }else{
  204. if(self.routeData[i].children[o].children){
  205. for(let x=0;x<self.routeData[i].children[o].children.length;x++){
  206. if(!self.routeData[i].children[o].children[x].alwaysShow&&!self.routeData[i].children[o].children[x].hidden){
  207. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path + '/' + self.routeData[i].children[o].children[x].path;
  208. console.log("urlText",urlText)
  209. this.$router.push({ path: urlText });
  210. return
  211. }
  212. }
  213. }
  214. }
  215. }
  216. }
  217. }
  218. }
  219. }
  220. }else{
  221. console.log("false")
  222. for(let i=0;i<self.routeData.length;i++){
  223. if(!self.routeData[i].hidden&&self.routeData[i].name != 'Https://www.sxitdlc.com'){
  224. if (self.routeData[i].children){
  225. for(let o=0;o<self.routeData[i].children.length;o++){
  226. if(!self.routeData[i].children[o].alwaysShow&&!self.routeData[i].children[o].hidden){
  227. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path;
  228. console.log("urlText",urlText)
  229. this.$router.push({ path: urlText });
  230. return
  231. }else{
  232. if(self.routeData[i].children[o].children){
  233. for(let x=0;x<self.routeData[i].children[o].children.length;x++){
  234. if(!self.routeData[i].children[o].children[x].alwaysShow&&!self.routeData[i].children[o].children[x].hidden){
  235. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path + '/' + self.routeData[i].children[o].children[x].path;
  236. console.log("urlText",urlText)
  237. this.$router.push({ path: urlText });
  238. return
  239. }
  240. }
  241. }
  242. }
  243. }
  244. }
  245. }
  246. }
  247. }
  248. },
  249. methods: {
  250. //跳转按钮
  251. goPage(type,title){
  252. let self = this;
  253. if(type == 'null'){
  254. this.$alert(title+'暂未开放', {
  255. confirmButtonText: '确定',
  256. callback: action => {}
  257. });
  258. return
  259. }
  260. if(type == 'Https://www.sxitdlc.com'){
  261. for(let i=0;i<self.routeData.length;i++){
  262. if(type == self.routeData[i].name){
  263. console.log("self.routeData[i].name",self.routeData[i].name)
  264. window.open(localStorage.getItem('screenUrl') + '?identity=' + localStorage.getItem('identity'));
  265. return
  266. }
  267. }
  268. this.$alert('没有"'+title+'"系统权限,如有疑问,请联系管理员', {
  269. confirmButtonText: '确定',
  270. callback: action => {}
  271. });
  272. }
  273. //寻找跳转目标路由
  274. let num = 0;
  275. for(let i=0;i<self.routeData.length;i++){
  276. if(type == self.routeData[i].name){
  277. num++
  278. if(!self.routeData[i].alwaysShow&&!self.routeData[i].hidden){
  279. let urlText = self.routeData[i].path;
  280. this.$router.push({ path: urlText });
  281. console.log("urlText1",urlText)
  282. return
  283. }else if (self.routeData[i].children){
  284. for(let o=0;o<self.routeData[i].children.length;o++){
  285. if(!self.routeData[i].children[o].alwaysShow&&!self.routeData[i].children[o].hidden){
  286. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path;
  287. this.$router.push({ path: urlText });
  288. console.log("urlText2",urlText)
  289. return
  290. }else{
  291. if(self.routeData[i].children[o].children){
  292. for(let x=0;x<self.routeData[i].children[o].children.length;x++){
  293. if(!self.routeData[i].children[o].children[x].alwaysShow&&!self.routeData[i].children[o].children[x].hidden){
  294. let urlText = self.routeData[i].path + '/' + self.routeData[i].children[o].path + '/' + self.routeData[i].children[o].children[x].path;
  295. this.$router.push({ path: urlText });
  296. console.log("urlText3",urlText)
  297. return
  298. }
  299. }
  300. }
  301. }
  302. }
  303. }
  304. }
  305. }
  306. if(num == 0){
  307. this.$alert('没有"'+title+'"系统权限,如有疑问,请联系管理员', {
  308. confirmButtonText: '确定',
  309. callback: action => {}
  310. });
  311. }
  312. },
  313. },
  314. };
  315. </script>
  316. <style scoped lang="scss">
  317. /*@media screen and (min-height:10px){*/
  318. /*.display-none-one{*/
  319. /*display: none;*/
  320. /*}*/
  321. /*.max-bottom-box{*/
  322. /*.top-button-box{*/
  323. /*.top-margin{*/
  324. /*margin-top:20px!important;*/
  325. /*}*/
  326. /*}*/
  327. /*}*/
  328. /*}*/
  329. /*@media screen and (min-height:850px){*/
  330. /*.max-bottom-box{*/
  331. /*.top-button-box{*/
  332. /*.top-margin{*/
  333. /*margin-top:50px!important;*/
  334. /*}*/
  335. /*}*/
  336. /*}*/
  337. /*}*/
  338. /*@media screen and (min-height:900px){*/
  339. /*.max-bottom-box{*/
  340. /*.top-button-box{*/
  341. /*.top-margin{*/
  342. /*margin-top:100px!important;*/
  343. /*}*/
  344. /*}*/
  345. /*}*/
  346. /*}*/
  347. /*@media screen and (min-height:1000px){*/
  348. /*.display-none-one{*/
  349. /*display: block!important;*/
  350. /*}*/
  351. /*}*/
  352. @-webkit-keyframes centerButtonMover {
  353. 0% {
  354. transform:scale(1);
  355. }
  356. 30% {
  357. transform: rotate(0deg) scale(0.9);
  358. }
  359. 40% {
  360. transform: rotate(-5deg) scale(1);
  361. }
  362. 50% {
  363. transform: rotate(5deg) scale(1);
  364. }
  365. 60% {
  366. transform: rotate(-5deg) scale(1.1);
  367. }
  368. 70% {
  369. transform: rotate(0deg) scale(1.2);
  370. }
  371. 100% {
  372. transform: rotate(0deg) scale(1);
  373. }
  374. }
  375. @-webkit-keyframes centerMover {
  376. 0% {
  377. -webkit-transform: translateY(0);
  378. /*transform:scale(0.5px;*/
  379. }
  380. 50% {
  381. -webkit-transform: translateY(20px);
  382. /*transform:scale(0.5px;*/
  383. }
  384. 100% {
  385. -webkit-transform: translateY(0);
  386. /*transform:scale(0.6px;/*/
  387. }
  388. }
  389. @-webkit-keyframes ringMove {
  390. 0% {
  391. -webkit-transform: translateY(0px);
  392. /*transform:scale(0.5px;*/
  393. opacity:1;
  394. }
  395. 50% {
  396. -webkit-transform: translateY(20px);
  397. /*transform:scale(0.5px;*/
  398. opacity:0;
  399. }
  400. 100% {
  401. -webkit-transform: translateY(0);
  402. /*transform:scale(0.6px;/*/
  403. opacity:0;
  404. }
  405. }
  406. @-webkit-keyframes buttonMove{
  407. 50%{
  408. -webkit-transform:scale(0.8);
  409. transform:scale(0.8);
  410. -webkit-filter:brightness(90%)
  411. }
  412. 100%{
  413. -webkit-transform:scale(1);
  414. transform:scale(1);
  415. /*css3滤镜亮度百分比*/
  416. -webkit-filter:brightness(100%)
  417. }
  418. }
  419. .home-class{
  420. background-color: #004d8c;
  421. background-image:url("../assets/ZDimages/home/img_tydlpt_bg.png")!important;
  422. -webkit-background-size: 100%;
  423. background-size: 100%;
  424. }
  425. .home {
  426. height:100%;
  427. width:100%;
  428. flex:1;
  429. display: flex;
  430. flex-direction: column;
  431. overflow: hidden;
  432. position: relative;
  433. *{
  434. margin:0;
  435. }
  436. .max-big-home-box{
  437. position: relative;
  438. flex:1;
  439. overflow: hidden;
  440. .max-home-button-box{
  441. /*width:1462px;*/
  442. width:1300px;
  443. /*height:848px;*/
  444. height:760px;
  445. top:50%;
  446. left:50%;
  447. margin-top:-380px;
  448. margin-left:-650px;
  449. position: absolute;
  450. .max-home-box{
  451. /*background: #E65D6E;*/
  452. /*width:1462px;*/
  453. width:1300px;
  454. /*height:848px;*/
  455. height:760px;
  456. position: relative;
  457. display: flex;
  458. flex-direction: column;
  459. .img-1{
  460. position: absolute;
  461. /*width:863px;*/
  462. width:690px;
  463. /*height:504px;*/
  464. height:403px;
  465. top:191px;
  466. left:50%;
  467. margin-left:- 345px;
  468. -webkit-animation-name: centerMover;
  469. -webkit-animation-duration: 4s;
  470. -webkit-animation-iteration-count: infinite;
  471. -webkit-animation-delay: 0s;
  472. }
  473. .img-2{
  474. position: absolute;
  475. /*width:463px;*/
  476. width:370px;
  477. /*height:106px;*/
  478. height:84px;
  479. top:391px;
  480. left:50%;
  481. margin-left:- 185px;
  482. -webkit-animation-name: ringMove;
  483. -webkit-animation-duration: 2s;
  484. -webkit-animation-iteration-count: infinite;
  485. -webkit-animation-delay: 0s;
  486. }
  487. .img-3{
  488. position: absolute;
  489. /*width:493px;*/
  490. width:394px;
  491. /*height:107px;*/
  492. height:85px;
  493. top:319px;
  494. left:50%;
  495. margin-left:- 197px;
  496. -webkit-animation-name: ringMove;
  497. -webkit-animation-duration: 2s;
  498. -webkit-animation-iteration-count: infinite;
  499. -webkit-animation-delay: 0.2s;
  500. }
  501. .img-4{
  502. position: absolute;
  503. /*width:554px;*/
  504. width:443px;
  505. /*height:118px;*/
  506. height:94px;
  507. top:231px;
  508. left:50%;
  509. margin-left:- 221px;
  510. -webkit-animation-name: ringMove;
  511. -webkit-animation-duration: 2s;
  512. -webkit-animation-iteration-count: infinite;
  513. -webkit-animation-delay: 0.4s;
  514. }
  515. .img-5{
  516. position: absolute;
  517. width:394px;
  518. /*width:493px;*/
  519. /*height:107px;*/
  520. height:85px;
  521. /*width:644px;*/
  522. /*height:118px;*/
  523. top:141px;
  524. left:50%;
  525. //margin-left:-322px;
  526. margin-left:- 197px;
  527. -webkit-animation-name: ringMove;
  528. -webkit-animation-duration: 2s;
  529. -webkit-animation-iteration-count: infinite;
  530. -webkit-animation-delay: 0.6s;
  531. }
  532. .img-6{
  533. position: absolute;
  534. width:354px;
  535. /*width:443px;*/
  536. /*height:106px;*/
  537. height:84px;
  538. /*width:734px;*/
  539. /*height:118px;*/
  540. top:051px;
  541. left:50%;
  542. //margin-left:-367px;
  543. margin-left:- 177px;
  544. -webkit-animation-name: ringMove;
  545. -webkit-animation-duration: 2s;
  546. -webkit-animation-iteration-count: infinite;
  547. -webkit-animation-delay: 0.8s;
  548. }
  549. .max-bottom-box{
  550. width:1300px;
  551. margin:0 auto;
  552. flex:1;
  553. display: flex;
  554. flex-direction: column;
  555. .top-button-box{
  556. display: flex;
  557. .left-box{
  558. .position-button{
  559. width:297px;
  560. height:136px;
  561. cursor: pointer;
  562. position: relative;
  563. z-index:5;
  564. img{
  565. width:297px;
  566. height:136px;
  567. }
  568. p{
  569. position: absolute;
  570. top:43px;
  571. left:142px;
  572. text-align: center;
  573. font-size:18px;
  574. line-height:18px;
  575. background: linear-gradient(to top, #06F6F7 , #FFFFFF );
  576. -webkit-background-clip: text;
  577. color: transparent;
  578. }
  579. }
  580. .position-button:nth-child(1){
  581. margin-top:0;
  582. }
  583. .position-button:nth-child(2){
  584. margin:55px 0 0 40px;
  585. }
  586. .position-button:nth-child(3){
  587. margin:55px 0 0 80px;
  588. }
  589. }
  590. .center-box{
  591. flex:1;
  592. .position-button{
  593. width:147px;
  594. height:105px;
  595. cursor: pointer;
  596. position: relative;
  597. z-index:5;
  598. margin:0 auto 0;
  599. -webkit-animation-name: centerButtonMover;
  600. -webkit-animation-duration: 3s;
  601. -webkit-animation-iteration-count: infinite;
  602. -webkit-animation-delay: 0s;
  603. img{
  604. width:147px;
  605. height:105px;
  606. }
  607. p{
  608. position: absolute;
  609. top:66px;
  610. left:30px;
  611. text-align: center;
  612. font-size:18px;
  613. line-height:18px;
  614. background: linear-gradient(to top, #06F6F7 , #FFFFFF );
  615. -webkit-background-clip: text;
  616. color: transparent;
  617. }
  618. }
  619. }
  620. .right-box{
  621. .position-button{
  622. width:297px;
  623. height:136px;
  624. cursor: pointer;
  625. z-index:5;
  626. position: relative;
  627. img{
  628. width:297px;
  629. height:136px;
  630. }
  631. p{
  632. position: absolute;
  633. top:43px;
  634. left:56px;
  635. text-align: center;
  636. font-size:18px;
  637. line-height:18px;
  638. background: linear-gradient(to top, #06F6F7 , #FFFFFF );
  639. -webkit-background-clip: text;
  640. color: transparent;
  641. }
  642. }
  643. .position-button:nth-child(1){
  644. margin:0 0 0 80px;
  645. }
  646. .position-button:nth-child(2){
  647. margin:55px 0 0 40px;
  648. }
  649. .position-button:nth-child(3){
  650. margin-top:55px;
  651. }
  652. }
  653. }
  654. .center-button-box{
  655. flex:1;
  656. }
  657. .bottom-button-box{
  658. display: flex;
  659. .null-button{
  660. flex:1;
  661. }
  662. .position-button{
  663. width:140px;
  664. height:200px;
  665. cursor: pointer;
  666. z-index:5;
  667. position: relative;
  668. img{
  669. width:140px;
  670. height:230px;
  671. }
  672. p{
  673. position: absolute;
  674. top:154px;
  675. /*left:34px;*/
  676. width:140px;
  677. text-align: center;
  678. font-size:18px;
  679. line-height:18px;
  680. background: linear-gradient(to top, #06F6F7 , #FFFFFF );
  681. -webkit-background-clip: text;
  682. color: transparent;
  683. }
  684. }
  685. .position-button:nth-child(2),
  686. .position-button:nth-child(3),
  687. .position-button:nth-child(4),
  688. .position-button:nth-child(5){
  689. margin-right:95px;
  690. }
  691. }
  692. .position-button:hover{
  693. -webkit-animation-name: buttonMove;
  694. -webkit-animation-duration: 1.5s;
  695. -webkit-animation-iteration-count: infinite;
  696. -webkit-animation-delay: 0s;
  697. }
  698. }
  699. }
  700. }
  701. }
  702. .bottom-null-box{
  703. height:60px;
  704. }
  705. }
  706. </style>