springFestivalActivity.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. @media screen and (max-width: 750px) {
  2. html {
  3. font-size: calc(100vw / 7.5);
  4. }
  5. }
  6. @media screen and (min-width: 750px) {
  7. html {
  8. font-size: calc(450px / 7.5);
  9. }
  10. }
  11. html, body, div, ul, li, p {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. ul, li {
  16. list-style: none;
  17. }
  18. .code-container{
  19. width: 7.5rem;
  20. height: 10.44rem;
  21. margin: 0 auto;
  22. position: relative;
  23. background: url(../../static/img/springFestivalActivity/bg.png) no-repeat;
  24. background-size: 100% 100%;
  25. padding-bottom: 0.5rem;
  26. }
  27. .award-tip{
  28. width: 7.5rem;
  29. height: 0.56rem;
  30. line-height: 0.56rem;
  31. text-align: center;
  32. position: absolute;
  33. top: 3.6rem;
  34. left: 50%;
  35. transform: translateX(-50%);
  36. color: #C30000;
  37. font-size: 0.24rem;
  38. /* text-shadow: 0 0 0.12rem rgba(170, 0, 0, 0.46); */
  39. /* background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.64) 49%, rgba(255, 255, 255, 0) 100%); */
  40. }
  41. .rule-wrap{
  42. position: absolute;
  43. top: 0.56rem;
  44. right: 0;
  45. }
  46. .rule,.award{
  47. width: 1.3rem;
  48. height: 0.64rem;
  49. line-height: 0.64rem;
  50. text-align: center;
  51. padding-left: 0.2rem;
  52. background: url(../../static/img/springFestivalActivity/rule.png) no-repeat;
  53. background-size: 100% 100%;
  54. font-size: 0.24rem;
  55. font-weight: 600;
  56. color: #FFFFFF;
  57. }
  58. .award{
  59. margin-top: 0.2rem;
  60. }
  61. .gift-box{
  62. width: 5.18rem;
  63. height: 4.68rem;
  64. position: absolute;
  65. top: 4.2rem;
  66. left: 1.06rem;
  67. }
  68. .have-buff{
  69. animation: mymove2 1.6s infinite;
  70. }
  71. @keyframes mymove2 {
  72. 0% {transform: translateY(0) scale(1);}
  73. 50% {transform: translateY(-0.2rem) scale(1.05);}
  74. 100% {transform: translateY(0) scale(1);}
  75. }
  76. .gift-img{
  77. width: 100%;
  78. height: 100%;
  79. }
  80. .next-container{
  81. width: 7.5rem;
  82. height: 9.18rem;
  83. position: relative;
  84. background: url(../../static/img/springFestivalActivity/nextBg.png) no-repeat;
  85. background-size: 100% 100%;
  86. margin: auto;
  87. margin-top: -2.52rem;
  88. }
  89. .lottery-tip{
  90. position: absolute;
  91. top: 2.5rem;
  92. left: 50%;
  93. transform: translateX(-50%);
  94. font-size: 0.24rem;
  95. color: #EE0B1A;
  96. }
  97. .lottery-wrap{
  98. position: absolute;
  99. top: 3rem;
  100. left: 50%;
  101. transform: translateX(-50%);
  102. display: flex;
  103. justify-content: space-between;
  104. }
  105. .once,.five-times{
  106. width: 3.2rem;
  107. height: 1rem;
  108. line-height: 1rem;
  109. text-align: center;
  110. background: url(../../static/img/springFestivalActivity/award.png) no-repeat;
  111. background-size: 100% 100%;
  112. font-size: 0.34rem;
  113. font-weight: 600;
  114. color: #FFFFFF;
  115. }
  116. .five-times{
  117. margin-left: 0.3rem;
  118. }
  119. .rest-times{
  120. width: 6.7rem;
  121. height: 0.7rem;
  122. line-height: 0.7rem;
  123. background: #FFBEAF;
  124. border-radius: 0.35rem;
  125. border: 0.04rem solid #FF8585;
  126. position: absolute;
  127. top: 4.2rem;
  128. left: 50%;
  129. transform: translateX(-50%);
  130. display: flex;
  131. justify-content: space-between;
  132. }
  133. .rest-times-text{
  134. font-size: 0.3rem;
  135. color: #EE0B1A;
  136. margin-left: 0.3rem;
  137. }
  138. .get-times{
  139. position: absolute;
  140. top: -0.04rem;
  141. right: -0.064rem;
  142. width: 2.46rem;
  143. height: 0.8rem;
  144. line-height: 0.8rem;
  145. text-align: center;
  146. background: url(../../static/img/springFestivalActivity/getTimer.png) no-repeat;
  147. background-size: 100% 100%;
  148. font-size: 0.28rem;
  149. font-weight: 600;
  150. color: #FFF5D3;
  151. padding-left: 0.2rem;
  152. }
  153. .no-join-activity{
  154. width: 4.8rem;
  155. position: absolute;
  156. bottom: 3.6rem;
  157. left: 50%;
  158. transform: translateX(-50%);
  159. font-size: 0.24rem;
  160. color: rgba(238, 11, 26, 0.6);
  161. }
  162. .share-wrap{
  163. position: absolute;
  164. bottom: 2.1rem;
  165. left: 50%;
  166. transform: translateX(-50%);
  167. width: 6.7rem;
  168. height: 0.94rem;
  169. line-height: 0.94rem;
  170. text-align: center;
  171. background: rgba(255, 109, 109, 0);
  172. border: 0.02rem solid #EE0B1A;
  173. font-size: 0.3rem;
  174. font-weight: 600;
  175. color: rgba(238, 11, 26, 0.8);
  176. border-radius: 0.2rem;
  177. }
  178. .get-award{
  179. position: absolute;
  180. bottom: 1.4rem;
  181. left: 50%;
  182. transform: translateX(-50%);
  183. font-size: 0.32rem;
  184. display: flex;
  185. align-items: center;
  186. }
  187. .award-text{
  188. font-weight: 600;
  189. text-decoration: underline;
  190. color: #EE0B1A;
  191. }
  192. .award-number{
  193. height: 0.44rem;
  194. background: linear-gradient(180deg, #FF7D85 0%, #EE0B1A 100%);
  195. box-shadow: 0 0.04rem 0.08rem 0 rgba(217, 0, 0, 0.27);
  196. border-radius: 0.22rem;
  197. padding: 0.04rem 0.12rem;
  198. color: #FFFFFF;
  199. margin-left: 0.1rem;
  200. display: none;
  201. }
  202. .activity-time{
  203. width: 100%;
  204. position: absolute;
  205. bottom: 0.8rem;
  206. text-align: center;
  207. font-size: 0.28rem;
  208. color: rgba(238, 11, 26, 0.6);
  209. }
  210. .activity-tip{
  211. width: 100%;
  212. position: absolute;
  213. bottom: 0.4rem;
  214. text-align: center;
  215. font-size: 0.28rem;
  216. color: rgba(238, 11, 26, 0.6);
  217. }
  218. .no-times-tip{
  219. position: absolute;
  220. top: 3.94rem;
  221. left: 50%;
  222. transform: translateX(-50%);
  223. font-size: 0.32rem;
  224. font-weight: 600;
  225. color: #FFFAA5;
  226. line-height: 0.6rem;
  227. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  228. }
  229. .no-times-btn{
  230. position: absolute;
  231. bottom: 0.54rem;
  232. left: 50%;
  233. transform: translateX(-50%);
  234. width: 4.6rem;
  235. height: 1.02rem;
  236. line-height: 1.02rem;
  237. text-align: center;
  238. background: url(../../static/img/springFestivalActivity/noTimes.png) no-repeat;
  239. background-size: 100% 100%;
  240. font-size: 0.34rem;
  241. font-weight: 600;
  242. color: #EE0B1A;
  243. }
  244. .award-record-mask,.rule-mask,.award-mask,.award-result-mask,.distribution-mask,.no-start-mask {
  245. width: 100%;
  246. height: 100vh;
  247. position: fixed;
  248. top: 0;
  249. left: 0;
  250. background: rgba(0, 0, 0, 0.5);
  251. display: none;
  252. }
  253. .dialog {
  254. width: 5.97rem;
  255. height: 8.7rem;
  256. background: url(../../static/img/springFestivalActivity/record-bg.png) no-repeat;
  257. background-size: 100% 100%;
  258. border-radius: 0.2rem;
  259. position: absolute;
  260. left: 50%;
  261. top: -10.96rem;
  262. z-index: 999;
  263. transform: translateX(-50%);
  264. }
  265. .tab-wrap{
  266. width: 4.52rem;
  267. height: 0.62rem;
  268. background: url(../../static/img/springFestivalActivity/selectedBg.png) no-repeat;
  269. background-size: 100% 100%;
  270. text-align: center;
  271. margin: auto;
  272. margin-top: 1.36rem;
  273. font-size: 0.28rem;
  274. display: flex;
  275. justify-content: space-between;
  276. align-items: center;
  277. padding: 0 0.3rem;
  278. }
  279. .award-change-btn{
  280. width: 1.92rem;
  281. height: 0.54rem;
  282. line-height: 0.52rem;
  283. color: #FFE4BD;
  284. }
  285. .active{
  286. color: #EE0B1A;
  287. background: url(../../static/img/springFestivalActivity/selected.png) no-repeat;
  288. background-size: 100% 100%;
  289. }
  290. .record-wrap{
  291. margin: auto;
  292. margin-top: 0.2rem;
  293. width: 5.38rem;
  294. /* height: 6.16rem; */
  295. height: 5.2rem;
  296. background: rgba(255, 255, 255, 0);
  297. border-radius: 0.12rem;
  298. border: 0.02rem solid rgba(255, 214, 189, 0.7);
  299. }
  300. .title-row{
  301. display: flex;
  302. justify-content: space-between;
  303. padding: 0.1rem 0.48rem;
  304. margin-top: 0.14rem;
  305. font-size: 0.28rem;
  306. font-weight: 600;
  307. color: #FFF5BD;
  308. }
  309. .line{
  310. width: 5.28rem;
  311. height: 0.02rem;
  312. background: linear-gradient(117deg, rgba(255, 219, 209, 0) 0%, #FEB4A4 47%, rgba(254, 180, 164, 0) 100%);
  313. }
  314. .data-list{
  315. height: 4.82rem;
  316. padding: 0.1rem 0.2rem;
  317. overflow-y: scroll;
  318. }
  319. .data-row{
  320. display: flex;
  321. justify-content: space-between;
  322. align-items: center;
  323. margin-bottom: 0.24rem;
  324. font-size: 0.28rem;
  325. color: #FFE4BD;
  326. }
  327. .record-operate{
  328. width: 1.08rem;
  329. height: 0.52rem;
  330. line-height: 0.52rem;
  331. text-align: center;
  332. background: rgba(255, 245, 189, 0.5);
  333. border-radius: 0.26rem;
  334. font-size: 0.24rem;
  335. color: #D40D1A;
  336. }
  337. .sure-btn{
  338. width: 3.22rem;
  339. height: 0.76rem;
  340. line-height: 0.76rem;
  341. text-align: center;
  342. position: absolute;
  343. bottom: 0.2rem;
  344. left: 50%;
  345. transform: translateX(-50%);
  346. background: url(../../static/img/springFestivalActivity/sureBg2.png) no-repeat;
  347. background-size: 100% 100%;
  348. font-size: 0.34rem;
  349. color: #FFF5BD;
  350. }
  351. .close,.rule-close,.award-close,.award-result-close{
  352. width: 0.56rem;
  353. height: 0.56rem;
  354. position: absolute;
  355. left: 50%;
  356. bottom: -1rem;
  357. transform: translateX(-50%);
  358. }
  359. .rule-dialog{
  360. width: 7rem;
  361. height: 8.82rem;
  362. background: url(../../static/img/springFestivalActivity/ruleBg.png) no-repeat;
  363. background-size: 100% 100%;
  364. border-radius: 0.2rem;
  365. position: absolute;
  366. left: 50%;
  367. top: -10.96rem;
  368. transform: translateX(-50%);
  369. }
  370. .rule-text{
  371. position: absolute;
  372. width: 3.4rem;
  373. height: 1.14rem;
  374. top: 0.72rem;
  375. left: 50%;
  376. transform: translateX(-50%);
  377. }
  378. .rule-list{
  379. width: 4.76rem;
  380. height: 6.2rem;
  381. overflow-y: scroll;
  382. position: absolute;
  383. top: 1.6rem;
  384. left: 50%;
  385. transform: translateX(-50%);
  386. font-size: 0.26rem;
  387. color: #BE000D;
  388. }
  389. .rule-point{
  390. width: 4.76rem;
  391. margin-top: 0.3rem;
  392. }
  393. .award-dialog{
  394. width: 7rem;
  395. height: 8.42rem;
  396. background: url(../../static/img/springFestivalActivity/awardBg.png) no-repeat;
  397. background-size: 100% 100%;
  398. border-radius: 0.2rem;
  399. position: absolute;
  400. left: 50%;
  401. top: -10.96rem;
  402. transform: translateX(-50%);
  403. }
  404. .award-result-row{
  405. margin-top: 2.8rem;
  406. display: flex;
  407. justify-content: center;
  408. align-items: center;
  409. }
  410. .icon{
  411. width: 0.5rem;
  412. height: 0.26rem;
  413. margin-right: 0.1rem;
  414. }
  415. .award-result{
  416. color: #FFF5BD;
  417. font-size: 0.28rem;
  418. margin: 0 0.1rem;
  419. }
  420. .card-wrap{
  421. display: flex;
  422. justify-content: center;
  423. flex-wrap: wrap;
  424. margin: auto;
  425. margin-top: 0.2rem;
  426. }
  427. .card-item{
  428. margin: 0.18rem;
  429. text-align: center;
  430. position: relative;
  431. }
  432. .light{
  433. width: 4.4rem;
  434. height: 4.4rem;
  435. position: absolute;
  436. z-index: 99;
  437. top: 0;
  438. left: 50%;
  439. transform: translateX(-50%);
  440. }
  441. .many-light{
  442. width: 1.4rem;
  443. height: 1.4rem;
  444. position: absolute;
  445. z-index: 99;
  446. top: 0;
  447. left: 50%;
  448. transform: translateX(-50%);
  449. }
  450. .many-card-wrap{
  451. display: flex;
  452. justify-content: flex-start;
  453. flex-wrap: wrap;
  454. margin: auto;
  455. padding-left: 0.3rem;
  456. margin-top: 0.2rem;
  457. }
  458. .card{
  459. width: 1.4rem;
  460. height: 1.4rem;
  461. }
  462. .card-text{
  463. font-size: 0.28rem;
  464. color: #FFF5BD;
  465. margin-top: -0.14rem;
  466. }
  467. .award-result-dialog{
  468. width: 7.5rem;
  469. height: 9.64rem;
  470. background: url(../../static/img/springFestivalActivity/resultBg.png) no-repeat;
  471. background-size: 100% 100%;
  472. border-radius: 0.2rem;
  473. position: absolute;
  474. left: 50%;
  475. top: -10.86rem;
  476. transform: translateX(-50%);
  477. }
  478. .award-result-wrap{
  479. width: 5.6rem;
  480. }
  481. .result-tip-row{
  482. margin-top: 2rem;
  483. text-align: center;
  484. }
  485. .award-result-tip{
  486. font-size: 0.32rem;
  487. font-weight: 600;
  488. color: #FFFAA5;
  489. line-height: 0.44rem;
  490. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  491. color: linear-gradient(180deg, #FFF3E0 0%, #FFFAA5 100%);
  492. }
  493. .join-result-tip{
  494. margin-top: 0.1rem;
  495. font-size: 0.24rem;
  496. color: #FFFAA5;
  497. }
  498. .one-card{
  499. margin-top: 0.6rem;
  500. width: 2.4rem;
  501. height: 2.4rem;
  502. animation: mymove 0.8s;
  503. }
  504. .many-card{
  505. width: 1.4rem;
  506. height: 1.4rem;
  507. animation: mymove 0.8s;
  508. }
  509. .many-card-item:nth-child(4n){
  510. margin-left: 1rem;
  511. }
  512. .many-card-item{
  513. display: none;
  514. }
  515. @keyframes mymove {
  516. 0% {transform:scale(0,0);}
  517. 100% {transform:scale(1,1);}
  518. }
  519. .btn-row{
  520. width: 5.6rem;
  521. display: flex;
  522. position: absolute;
  523. bottom: 0.66rem;
  524. left: 50%;
  525. transform: translateX(-50%);
  526. }
  527. .left-btn{
  528. width: 3.02rem;
  529. height: 1.02rem;
  530. line-height: 1.02rem;
  531. text-align: center;
  532. background: url(../../static/img/springFestivalActivity/report.png) no-repeat;
  533. background-size: 100% 100%;
  534. font-size: 0.34rem;
  535. font-weight: 600;
  536. color: #EE0B1A;
  537. margin-left: 0.3rem;
  538. }
  539. .look-btn{
  540. width: 1.8rem;
  541. height: 1.02rem;
  542. line-height: 1.02rem;
  543. text-align: center;
  544. background: url(../../static/img/springFestivalActivity/lookBg.png) no-repeat;
  545. background-size: 100% 100%;
  546. font-size: 0.34rem;
  547. color: #FFF5BD;
  548. margin-left: 0.3rem;
  549. }
  550. .times-text{
  551. font-size: 0.24rem;
  552. color: #FFE4BD;
  553. margin-left: 1.6rem;
  554. position: absolute;
  555. bottom: 0.26rem;
  556. }
  557. .one-result{
  558. margin-bottom: 1.2rem;
  559. }
  560. .distribution-dialog{
  561. width: 6.22rem;
  562. height: 2.8rem;
  563. border-radius: 0.2rem;
  564. position: absolute;
  565. left: 50%;
  566. top: -10.96rem;
  567. transform: translateX(-50%);
  568. background-color: #FFFFFF;
  569. }
  570. .limit-tip{
  571. margin-top: 0.4rem;
  572. text-align: center;
  573. font-size: 0.32rem;
  574. color: #333333;
  575. padding-bottom: 0.5rem;
  576. border-bottom: 0.01rem solid rgba(238,238,238,1);
  577. }
  578. .distribution-btn{
  579. font-size: 0.32rem;
  580. font-weight: 600;
  581. color: #3B7FFF;
  582. text-align: center;
  583. margin-top: 0.24rem;
  584. }
  585. .operate-btn{
  586. background: linear-gradient(180deg, #FFFBE0 0%, #FFF6C4 56%, #FFFBE0 100%);
  587. }
  588. .no-award{
  589. /* height: 5.22rem; */
  590. line-height: 4.62rem;
  591. text-align: center;
  592. font-size: 0.28rem;
  593. color: #FFE4BD;
  594. }
  595. .no-start-dialog{
  596. width: 1.94rem;
  597. height: 2.44rem;
  598. display: flex;
  599. flex-direction: column;
  600. justify-content: center;
  601. align-items: center;
  602. background: #FFFFFF;
  603. border-radius: 50%;
  604. padding: 0 0.26rem;
  605. position: absolute;
  606. left: 50%;
  607. top: -10.86rem;
  608. transform: translateX(-50%);
  609. font-size: 0.3rem;
  610. color: #666666;
  611. }
  612. #toast-container>.toast-error {
  613. background-image: none !important;
  614. }
  615. .toast-error {
  616. background-color: rgba(0, 0, 0, 0.8);
  617. }
  618. #toast-container>div {
  619. font-size: 14px;
  620. min-width: 80px !important;
  621. padding: 12px !important;
  622. box-shadow: none;
  623. }
  624. .toast-center-center {
  625. position: fixed;
  626. min-width: 220px;
  627. top: 50%;
  628. left: 50%;
  629. text-align: center;
  630. transform: translateX(-50%);
  631. color: #FFFFFF;
  632. border-radius: 0.1rem;
  633. }
  634. @media (max-width: 480px) and (min-width: 241px) {
  635. #toast-container>div {
  636. min-width: 80px !important;
  637. width: auto;
  638. }
  639. }