Zhongqiu.vue 14 KB

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