Zhongqiu.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. <template>
  2. <div class="banner" v-if="isClose">
  3. <div class="banner-modal">
  4. <div class="banner-img">
  5. <img src="/images/zhongqiu/zq1.png" />
  6. <img src="/images/zhongqiu/zq2.png" />
  7. <img src="/images/zhongqiu/zq3.png" />
  8. <img src="/images/zhongqiu/zq4.png" />
  9. <img src="/images/zhongqiu/zq5.png" />
  10. <img src="/images/zhongqiu/zq6.png" />
  11. <img src="/images/zhongqiu/zq7.png" />
  12. <img src="/images/zhongqiu/zq8.png" />
  13. <img src="/images/zhongqiu/zq9.png" />
  14. <img src="/images/zhongqiu/zq10.png" />
  15. <img src="/images/zhongqiu/zq11.png" />
  16. <img src="/images/zhongqiu/zq12.png" />
  17. <img src="/images/zhongqiu/zq13.png" />
  18. <a @click="isOpendZq" href="javascript:void(0)">×</a>
  19. </div>
  20. </div>
  21. </div>
  22. </template>
  23. <script>
  24. export default {
  25. name: 'zhongqiu',
  26. data () {
  27. return {
  28. isClose: false
  29. }
  30. },
  31. beforeMount () {
  32. var self = this
  33. setTimeout(getTotelNumber, 10000)
  34. function getTotelNumber () {
  35. self.isOpendZq()
  36. }
  37. getTotelNumber()
  38. },
  39. mounted () {
  40. const endTime = window.localStorage.getItem('endTime')
  41. if (endTime) {
  42. if (new Date().getTime() - endTime >= 4 * 3600000) {
  43. this.isClose = true
  44. window.localStorage.setItem('endTime', new Date().getTime())
  45. } else {
  46. this.isClose = false
  47. }
  48. } else {
  49. this.isClose = true
  50. window.localStorage.setItem('endTime', new Date().getTime())
  51. }
  52. },
  53. methods: {
  54. isOpendZq () {
  55. this.isClose = false
  56. }
  57. }
  58. }
  59. </script>
  60. <style scoped>
  61. .banner{
  62. width:100%;
  63. height:100%;
  64. top: 0;
  65. left: 0;
  66. position:fixed;
  67. z-index:3000;
  68. }
  69. .banner-modal{
  70. background: rgba(0,0,0,.6);
  71. width:2000px;
  72. height:1100px;
  73. }
  74. .banner-img{
  75. position:absolute;
  76. top:10%;
  77. left:50%;
  78. width:900px;
  79. margin-left:-450px;
  80. }
  81. .banner-img img{
  82. display:block;
  83. width:900px;
  84. position:absolute;
  85. top:0;
  86. left:0;
  87. }
  88. .banner-img a{
  89. display:block;
  90. width:30px;
  91. height:30px;
  92. line-height:30px;
  93. font-size:20px;
  94. background: #ffffff;
  95. border-radius:50%;
  96. text-align: center;
  97. color:#d8d4d4;
  98. position:absolute;
  99. top:0;
  100. right:0;
  101. z-index:5000;
  102. }
  103. .banner-img a:hover{
  104. cursor:pointer;
  105. }
  106. img:nth-child(1){
  107. z-index:120;
  108. -webkit-transform-origin: 200px 100px;
  109. -moz--transform-origin: 200px 100px;
  110. -ms--transform-origin: 200px 100px;
  111. -o--transform-origin: 200px 100px;
  112. transform-origin:130px 150px;
  113. -webkit-animation: animation1 8s linear;
  114. -moz-animation: animation1 8s linear;
  115. -ms-animation: animation1 8s linear;
  116. -o-animation: animation1 8s linear;
  117. animation: animation1 8s linear;
  118. }
  119. img:nth-child(2){
  120. z-index:110;
  121. -webkit-animation: animation2 8s linear;
  122. -moz-animation: animation2 8s linear;
  123. -ms-animation: animation2 8s linear;
  124. -o-animation: animation2 8s linear;
  125. animation: animation2 8s linear;
  126. }
  127. img:nth-child(3){z-index:20;
  128. -webkit-animation: animation3 8s linear;
  129. -moz-animation: animation3 8s linear;
  130. -ms-animation: animation3 8s linear;
  131. -o-animation: animation3 8s linear;
  132. animation: animation3 8s linear;
  133. }
  134. img:nth-child(4){z-index:30;
  135. -webkit-animation: animation4 8s linear;
  136. -moz-animation: animation4 8s linear;
  137. -ms-animation: animation4 8s linear;
  138. -o-animation: animation4 8s linear;
  139. animation: animation4 8s linear;
  140. }
  141. img:nth-child(5){
  142. z-index:100;
  143. -webkit-animation: animation5 8s linear;
  144. -moz-animation: animation5 8s linear;
  145. -ms-animation: animation5 8s linear;
  146. -o-animation: animation5 8s linear;
  147. animation: animation5 8s linear;
  148. }
  149. img:nth-child(6){z-index:90;
  150. -webkit-animation: animation6 8s linear;
  151. -moz-animation: animation6 8s linear;
  152. -ms-animation: animation6 8s linear;
  153. -o-animation: animation6 8s linear;
  154. animation: animation6 8s linear;
  155. }
  156. img:nth-child(7){z-index:10;
  157. -webkit-transform-origin: 270px 450px;
  158. -moz--transform-origin: 270px 450px;
  159. -ms--transform-origin: 270px 450px;
  160. -o--transform-origin: 270px 450px;
  161. transform-origin:270px 500px;
  162. -webkit-animation: animation7 8s linear;
  163. -moz-animation: animation7 8s linear;
  164. -ms-animation: animation7 8s linear;
  165. -o-animation: animation7 8s linear;
  166. animation: animation7 8s linear;
  167. }
  168. img:nth-child(8){z-index:130;
  169. -webkit-animation: animation8 8s linear;
  170. -moz-animation: animation8 8s linear;
  171. -ms-animation: animation8 8s linear;
  172. -o-animation: animation8 8s linear;
  173. animation: animation8 8s linear;
  174. }
  175. img:nth-child(9){z-index:40;
  176. -webkit-transform-origin: 200px 500px;
  177. -moz--transform-origin: 200px 500px;
  178. -ms--transform-origin: 200px 500px;
  179. -o--transform-origin: 200px 500px;
  180. transform-origin:200px 500px;
  181. -webkit-animation: animation9 8s linear;
  182. -moz-animation: animation9 8s linear;''
  183. -ms-animation: animation9 8s linear;
  184. -o-animation: animation9 8s linear;
  185. animation: animation9 8s linear;
  186. }
  187. img:nth-child(10){z-index:50;
  188. -webkit-transform-origin: 240px 500px;
  189. -moz--transform-origin: 240px 500px;
  190. -ms--transform-origin: 240px 500px;
  191. -o--transform-origin: 240px 500px;
  192. transform-origin:240px 500px;
  193. -webkit-animation: animation10 8s linear;
  194. -moz-animation: animation10 8s linear;
  195. -ms-animation: animation10 8s linear;
  196. -o-animation: animation10 8s linear;
  197. animation: animation10 8s linear;
  198. }
  199. img:nth-child(11){z-index:60;
  200. -webkit-transform-origin: 300px 500px;
  201. -moz--transform-origin: 300px 500px;
  202. -ms--transform-origin: 300px 500px;
  203. -o--transform-origin: 300px 500px;
  204. transform-origin:300px 500px;
  205. -webkit-animation: animation11 8s linear;
  206. -moz-animation: animation11 8s linear;
  207. -ms-animation: animation11 8s linear;
  208. -o-animation: animation11 8s linear;
  209. animation: animation11 8s linear;
  210. }
  211. img:nth-child(12){z-index:70;
  212. -webkit-transform-origin: 650px 500px;
  213. -moz--transform-origin: 650px 500px;
  214. -ms--transform-origin: 650px 500px;
  215. -o--transform-origin: 650px 500px;
  216. transform-origin:650px 500px;
  217. -webkit-animation: animation12 8s linear;
  218. -moz-animation: animation12 8s linear;
  219. -ms-animation: animation12 8s linear;
  220. -o-animation: animation12 8s linear;
  221. animation: animation12 8s linear;
  222. }
  223. img:nth-child(13){z-index:80;
  224. -webkit-transform-origin: 700px 500px;
  225. -moz--transform-origin: 700px 500px;
  226. -ms--transform-origin: 700px 500px;
  227. -o--transform-origin: 700px 500px;
  228. transform-origin:700px 500px;
  229. -webkit-animation: animation13 8s linear;
  230. -moz-animation: animation13 8s linear;
  231. -ms-animation: animation13 8s linear;
  232. -o-animation: animation13 8s linear;
  233. animation: animation13 8s linear;
  234. }
  235. @keyframes animation1{
  236. 0%{ opacity:0 ;
  237. -webkit-transform: rotate(60deg);
  238. -moz-transform: rotate(60deg);
  239. -ms-transform: rotate(60deg);
  240. -o-transform: rotate(60deg);
  241. transform: rotate(60deg)
  242. }
  243. 5%{ opacity:1;
  244. -webkit-transform: rotate(0deg);
  245. -moz-transform: rotate(0deg);
  246. -ms-transform: rotate(0deg);
  247. -o-transform: rotate(0deg);
  248. transform: rotate(0deg)
  249. }
  250. 100%{ opacity:1; }
  251. }
  252. @keyframes animation2{
  253. 0%{ opacity:0 ;
  254. }
  255. 5%{ opacity:0 ;
  256. }
  257. 10%{ opacity:1 ;
  258. }
  259. 100%{ opacity:1;
  260. }
  261. }
  262. @keyframes animation3{
  263. 0%{ opacity:0 ;
  264. }
  265. 5%{ opacity:0 ;
  266. -webkit-transform: scale(.5);
  267. -moz-transform: scale(.5);
  268. -ms-transform: scale(.5);
  269. -o-transform: scale(.5);
  270. transform: scale(.5)
  271. }
  272. 50%{ opacity:1 ;
  273. -webkit-transform: scale(1);
  274. -moz-transform: scale(1);
  275. -ms-transform: scale(1);
  276. -o-transform: scale(1);
  277. transform: scale(1);
  278. -webkit-transform: rotate(45deg);
  279. -moz-transform: rotate(45deg);
  280. -ms-transform: rotate(45deg);
  281. -o-transform: rotate(45deg);
  282. transform: rotate(45deg)
  283. }
  284. 100%{ opacity:1;
  285. -webkit-transform: rotate(0deg);
  286. -moz-transform: rotate(0deg);
  287. -ms-transform: rotate(0deg);
  288. -o-transform: rotate(0deg);
  289. transform: rotate(0deg)
  290. }
  291. }
  292. @keyframes animation4{
  293. 0%{ opacity:0 ;
  294. }
  295. 5%{ opacity:0 ;
  296. -webkit-transform: scale(.5);
  297. -moz-transform: scale(.5);
  298. -ms-transform: scale(.5);
  299. -o-transform: scale(.5);
  300. transform: scale(.5)
  301. }
  302. 50%{ opacity:1 ;
  303. -webkit-transform: scale(1);
  304. -moz-transform: scale(1);
  305. -ms-transform: scale(1);
  306. -o-transform: scale(1);
  307. transform: scale(1);
  308. -webkit-transform: rotate(-60deg);
  309. -moz-transform: rotate(-60deg);
  310. -ms-transform: rotate(-60deg);
  311. -o-transform: rotate(-60deg);
  312. transform: rotate(-60deg)
  313. }
  314. 100%{ opacity:1;
  315. -webkit-transform: rotate(0deg);
  316. -moz-transform: rotate(0deg);
  317. -ms-transform: rotate(0deg);
  318. -o-transform: rotate(0deg);
  319. transform: rotate(0deg)
  320. }
  321. }
  322. @keyframes animation5{
  323. 0%{ opacity:0 ;
  324. }
  325. 7%{ opacity:0 ;
  326. }
  327. 13%{ opacity:1 ;
  328. }
  329. 100%{ opacity:1;
  330. }
  331. }
  332. @keyframes animation6{
  333. 0%{ opacity:0 ;
  334. }
  335. 10%{ opacity:0 ;
  336. -webkit-transform: scale(.5);
  337. -moz-transform: scale(.5);
  338. -ms-transform: scale(.5);
  339. -o-transform: scale(.5);
  340. transform: scale(.5)
  341. }
  342. 40%{ opacity:1 ;
  343. -webkit-transform: scale(1);
  344. -moz-transform: scale(1);
  345. -ms-transform: scale(1);
  346. -o-transform: scale(1);
  347. transform: scale(1);
  348. -webkit-transform: rotate(60deg);
  349. -moz-transform: rotate(60deg);
  350. -ms-transform: rotate(60deg);
  351. -o-transform: rotate(60deg);
  352. transform: rotate(60deg)
  353. }
  354. 100%{ opacity:1;
  355. -webkit-transform: rotate(0deg);
  356. -moz-transform: rotate(0deg);
  357. -ms-transform: rotate(0deg);
  358. -o-transform: rotate(0deg);
  359. transform: rotate(0deg)
  360. }
  361. }
  362. @keyframes animation7{
  363. 0%{ opacity:0 ;
  364. }
  365. 30%{ opacity:0 ;
  366. }
  367. 45%{ opacity:1 ;
  368. -webkit-transform: rotate(-20deg);
  369. -moz-transform: rotate(-20deg);
  370. -ms-transform: rotate(-20deg);
  371. -o-transform: rotate(-20deg);
  372. transform: rotate(-20deg)
  373. }
  374. 60%{ opacity:1 ;
  375. -webkit-transform: rotate(20deg);
  376. -moz-transform: rotate(20deg);
  377. -ms-transform: rotate(20deg);
  378. -o-transform: rotate(20deg);
  379. transform: rotate(20deg)
  380. }
  381. 70%{ opacity:1 ;
  382. -webkit-transform: rotate(0deg);
  383. -moz-transform: rotate(0deg);
  384. -ms-transform: rotate(0deg);
  385. -o-transform: rotate(0deg);
  386. transform: rotate(0deg)
  387. }
  388. 100%{ opacity:1;
  389. }
  390. }
  391. @keyframes animation8{
  392. 0%{
  393. opacity:0;
  394. }
  395. 13%{ opacity:0 ;
  396. -webkit-transform:translateY(300px);
  397. -moz-transform:translateY(300px);
  398. -ms-transform:translateY(300px);
  399. -o-transform:translateY(300px);
  400. transform:translateY(300px);
  401. }
  402. 35%{ opacity:1 ;
  403. -webkit-transform:translateY(0px);
  404. -moz-transform:translateY(0px);
  405. -ms-transform:translateY(0px);
  406. -o-transform:translateY(0px);
  407. transform:translateY(0px);
  408. }
  409. 100%{ opacity:1;
  410. }
  411. }
  412. @keyframes animation9{
  413. 0%{ opacity:0 ;
  414. }
  415. 30%{ opacity:0 ;
  416. -webkit-transform: scale(0);
  417. -moz-transform: scale(0);
  418. -ms-transform: scale(0);
  419. -o-transform: scale(0);
  420. transform: scale(0);
  421. }
  422. 55%{ opacity:1 ;
  423. -webkit-transform: scale(.9);
  424. -moz-transform: scale(.9);
  425. -ms-transform: scale(.9);
  426. -o-transform: scale(.9);
  427. transform: scale(.9);
  428. }
  429. 60%{ opacity:1 ;
  430. -webkit-transform: scale(.7);
  431. -moz-transform: scale(.7);
  432. -ms-transform: scale(.7);
  433. -o-transform: scale(.7);
  434. transform: scale(.7);
  435. }
  436. 80%{ opacity:1 ;
  437. -webkit-transform: scale(1);
  438. -moz-transform: scale(1);
  439. -ms-transform: scale(1);
  440. -o-transform: scale(1);
  441. transform: scale(1);
  442. }
  443. 100%{ opacity:1;
  444. }
  445. }
  446. @keyframes animation10{
  447. 0%{ opacity:0 ;
  448. }
  449. 30%{ opacity:0 ;
  450. -webkit-transform: scale(0);
  451. -moz-transform: scale(0);
  452. -ms-transform: scale(0);
  453. -o-transform: scale(0);
  454. transform: scale(0);
  455. }
  456. 55%{ opacity:1 ;
  457. -webkit-transform: scale(.9);
  458. -moz-transform: scale(.9);
  459. -ms-transform: scale(.9);
  460. -o-transform: scale(.9);
  461. transform: scale(.9);
  462. }
  463. 60%{ opacity:1 ;
  464. -webkit-transform: scale(.7);
  465. -moz-transform: scale(.7);
  466. -ms-transform: scale(.7);
  467. -o-transform: scale(.7);
  468. transform: scale(.7);
  469. }
  470. 80%{ opacity:1 ;
  471. -webkit-transform: scale(1);
  472. -moz-transform: scale(1);
  473. -ms-transform: scale(1);
  474. -o-transform: scale(1);
  475. transform: scale(1);
  476. }
  477. 100%{ opacity:1;
  478. }
  479. }
  480. @keyframes animation11{
  481. 0%{ opacity:0 ;
  482. }
  483. 30%{ opacity:0 ;
  484. -webkit-transform: scale(0);
  485. -moz-transform: scale(0);
  486. -ms-transform: scale(0);
  487. -o-transform: scale(0);
  488. transform: scale(0);
  489. }
  490. 55%{ opacity:1 ;
  491. -webkit-transform: scale(.9);
  492. -moz-transform: scale(.9);
  493. -ms-transform: scale(.9);
  494. -o-transform: scale(.9);
  495. transform: scale(.9);
  496. }
  497. 60%{ opacity:1 ;
  498. -webkit-transform: scale(.7);
  499. -moz-transform: scale(.7);
  500. -ms-transform: scale(.7);
  501. -o-transform: scale(.7);
  502. transform: scale(.7);
  503. }
  504. 80%{ opacity:1 ;
  505. -webkit-transform: scale(1);
  506. -moz-transform: scale(1);
  507. -ms-transform: scale(1);
  508. -o-transform: scale(1);
  509. transform: scale(1);
  510. }
  511. 100%{ opacity:1;
  512. }
  513. }
  514. @keyframes animation12{
  515. 0%{ opacity:0 ;
  516. }
  517. 30%{ opacity:0 ;
  518. -webkit-transform: scale(0);
  519. -moz-transform: scale(0);
  520. -ms-transform: scale(0);
  521. -o-transform: scale(0);
  522. transform: scale(0);
  523. }
  524. 55%{ opacity:1 ;
  525. -webkit-transform: scale(.9);
  526. -moz-transform: scale(.9);
  527. -ms-transform: scale(.9);
  528. -o-transform: scale(.9);
  529. transform: scale(.9);
  530. }
  531. 60%{ opacity:1 ;
  532. -webkit-transform: scale(.7);
  533. -moz-transform: scale(.7);
  534. -ms-transform: scale(.7);
  535. -o-transform: scale(.7);
  536. transform: scale(.7);
  537. }
  538. 80%{ opacity:1 ;
  539. -webkit-transform: scale(1);
  540. -moz-transform: scale(1);
  541. -ms-transform: scale(1);
  542. -o-transform: scale(1);
  543. transform: scale(1);
  544. }
  545. 100%{ opacity:1;
  546. }
  547. }
  548. @keyframes animation13{
  549. 0%{ opacity:0 ;
  550. }
  551. 30%{ opacity:0 ;
  552. -webkit-transform: scale(0);
  553. -moz-transform: scale(0);
  554. -ms-transform: scale(0);
  555. -o-transform: scale(0);
  556. transform: scale(0);
  557. }
  558. 55%{ opacity:1 ;
  559. -webkit-transform: scale(.9);
  560. -moz-transform: scale(.9);
  561. -ms-transform: scale(.9);
  562. -o-transform: scale(.9);
  563. transform: scale(.9);
  564. }
  565. 60%{ opacity:1 ;
  566. -webkit-transform: scale(.7);
  567. -moz-transform: scale(.7);
  568. -ms-transform: scale(.7);
  569. -o-transform: scale(.7);
  570. transform: scale(.7);
  571. }
  572. 80%{ opacity:1 ;
  573. -webkit-transform: scale(1);
  574. -moz-transform: scale(1);
  575. -ms-transform: scale(1);
  576. -o-transform: scale(1);
  577. transform: scale(1);
  578. }
  579. 100%{ opacity:1;
  580. }
  581. }
  582. </style>