springFestivalActivity.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  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. margin-top: 0.2rem;
  386. transform: translateX(-50%);
  387. font-size: 0.26rem;
  388. color: #BE000D;
  389. }
  390. .rule-point{
  391. width: 4.76rem;
  392. margin-top: 0.3rem;
  393. }
  394. .award-dialog{
  395. width: 7rem;
  396. height: 8.42rem;
  397. background: url(../../static/img/springFestivalActivity/awardBg.png) no-repeat;
  398. background-size: 100% 100%;
  399. border-radius: 0.2rem;
  400. position: absolute;
  401. left: 50%;
  402. top: -10.96rem;
  403. transform: translateX(-50%);
  404. }
  405. .award-result-row{
  406. margin-top: 2.8rem;
  407. display: flex;
  408. justify-content: center;
  409. align-items: center;
  410. }
  411. .icon{
  412. width: 0.5rem;
  413. height: 0.26rem;
  414. margin-right: 0.1rem;
  415. }
  416. .award-result{
  417. color: #FFF5BD;
  418. font-size: 0.28rem;
  419. margin: 0 0.1rem;
  420. }
  421. .card-wrap{
  422. display: flex;
  423. justify-content: center;
  424. flex-wrap: wrap;
  425. margin: auto;
  426. margin-top: 0.2rem;
  427. }
  428. .card-item{
  429. margin: 0.18rem;
  430. text-align: center;
  431. position: relative;
  432. }
  433. .light{
  434. width: 4.4rem;
  435. height: 4.4rem;
  436. position: absolute;
  437. z-index: 99;
  438. top: 0;
  439. left: 50%;
  440. transform: translateX(-50%);
  441. }
  442. .many-light{
  443. width: 1.4rem;
  444. height: 1.4rem;
  445. position: absolute;
  446. z-index: 99;
  447. top: 0;
  448. left: 50%;
  449. transform: translateX(-50%);
  450. }
  451. .many-card-wrap{
  452. display: flex;
  453. justify-content: flex-start;
  454. flex-wrap: wrap;
  455. margin: auto;
  456. padding-left: 0.3rem;
  457. margin-top: 0.2rem;
  458. }
  459. .card{
  460. width: 1.4rem;
  461. height: 1.4rem;
  462. }
  463. .card-text{
  464. font-size: 0.28rem;
  465. color: #FFF5BD;
  466. margin-top: -0.14rem;
  467. }
  468. .award-result-dialog{
  469. width: 7.5rem;
  470. height: 9.64rem;
  471. background: url(../../static/img/springFestivalActivity/resultBg.png) no-repeat;
  472. background-size: 100% 100%;
  473. border-radius: 0.2rem;
  474. position: absolute;
  475. left: 50%;
  476. top: -10.86rem;
  477. transform: translateX(-50%);
  478. }
  479. .award-result-wrap{
  480. width: 5.6rem;
  481. }
  482. .result-tip-row{
  483. margin-top: 2rem;
  484. text-align: center;
  485. }
  486. .award-result-tip{
  487. font-size: 0.32rem;
  488. font-weight: 600;
  489. color: #FFFAA5;
  490. line-height: 0.44rem;
  491. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  492. color: linear-gradient(180deg, #FFF3E0 0%, #FFFAA5 100%);
  493. }
  494. .join-result-tip{
  495. margin-top: 0.1rem;
  496. font-size: 0.24rem;
  497. color: #FFFAA5;
  498. }
  499. .one-card{
  500. margin-top: 0.6rem;
  501. width: 2.4rem;
  502. height: 2.4rem;
  503. animation: mymove 0.8s;
  504. }
  505. .many-card{
  506. width: 1.4rem;
  507. height: 1.4rem;
  508. animation: mymove 0.8s;
  509. }
  510. .many-card-item:nth-child(4n){
  511. margin-left: 1rem;
  512. }
  513. .many-card-item{
  514. display: none;
  515. }
  516. @keyframes mymove {
  517. 0% {transform:scale(0,0);}
  518. 100% {transform:scale(1,1);}
  519. }
  520. .btn-row{
  521. width: 5.6rem;
  522. display: flex;
  523. position: absolute;
  524. bottom: 0.66rem;
  525. left: 50%;
  526. transform: translateX(-50%);
  527. }
  528. .left-btn{
  529. width: 3.02rem;
  530. height: 1.02rem;
  531. line-height: 1.02rem;
  532. text-align: center;
  533. background: url(../../static/img/springFestivalActivity/report.png) no-repeat;
  534. background-size: 100% 100%;
  535. font-size: 0.34rem;
  536. font-weight: 600;
  537. color: #EE0B1A;
  538. margin-left: 0.3rem;
  539. }
  540. .look-btn{
  541. width: 1.8rem;
  542. height: 1.02rem;
  543. line-height: 1.02rem;
  544. text-align: center;
  545. background: url(../../static/img/springFestivalActivity/lookBg.png) no-repeat;
  546. background-size: 100% 100%;
  547. font-size: 0.34rem;
  548. color: #FFF5BD;
  549. margin-left: 0.3rem;
  550. }
  551. .times-text{
  552. font-size: 0.24rem;
  553. color: #FFE4BD;
  554. margin-left: 1.6rem;
  555. position: absolute;
  556. bottom: 0.26rem;
  557. }
  558. .one-result{
  559. margin-bottom: 1.2rem;
  560. }
  561. .distribution-dialog{
  562. width: 6.22rem;
  563. height: 2.8rem;
  564. border-radius: 0.2rem;
  565. position: absolute;
  566. left: 50%;
  567. top: -10.96rem;
  568. transform: translateX(-50%);
  569. background-color: #FFFFFF;
  570. }
  571. .limit-tip{
  572. margin-top: 0.4rem;
  573. text-align: center;
  574. font-size: 0.32rem;
  575. color: #333333;
  576. padding-bottom: 0.5rem;
  577. border-bottom: 0.01rem solid rgba(238,238,238,1);
  578. }
  579. .distribution-btn{
  580. font-size: 0.32rem;
  581. font-weight: 600;
  582. color: #3B7FFF;
  583. text-align: center;
  584. margin-top: 0.24rem;
  585. }
  586. .operate-btn{
  587. background: linear-gradient(180deg, #FFFBE0 0%, #FFF6C4 56%, #FFFBE0 100%);
  588. }
  589. .no-award{
  590. /* height: 5.22rem; */
  591. line-height: 4.62rem;
  592. text-align: center;
  593. font-size: 0.28rem;
  594. color: #FFE4BD;
  595. }
  596. .no-start-dialog{
  597. width: 1.94rem;
  598. height: 2.44rem;
  599. display: flex;
  600. flex-direction: column;
  601. justify-content: center;
  602. align-items: center;
  603. background: #FFFFFF;
  604. border-radius: 50%;
  605. padding: 0 0.26rem;
  606. position: absolute;
  607. left: 50%;
  608. top: -10.86rem;
  609. transform: translateX(-50%);
  610. font-size: 0.3rem;
  611. color: #666666;
  612. }
  613. #toast-container>.toast-error {
  614. background-image: none !important;
  615. }
  616. .toast-error {
  617. background-color: rgba(0, 0, 0, 0.8);
  618. }
  619. #toast-container>div {
  620. font-size: 14px;
  621. min-width: 80px !important;
  622. padding: 12px !important;
  623. box-shadow: none;
  624. }
  625. .toast-center-center {
  626. position: fixed;
  627. min-width: 220px;
  628. top: 50%;
  629. left: 50%;
  630. text-align: center;
  631. transform: translateX(-50%);
  632. color: #FFFFFF;
  633. border-radius: 0.1rem;
  634. }
  635. @media (max-width: 480px) and (min-width: 241px) {
  636. #toast-container>div {
  637. min-width: 80px !important;
  638. width: auto;
  639. }
  640. }