springFestivalActivity.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  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. }
  201. .activity-time{
  202. width: 100%;
  203. position: absolute;
  204. bottom: 0.8rem;
  205. text-align: center;
  206. font-size: 0.28rem;
  207. color: rgba(238, 11, 26, 0.6);
  208. }
  209. .activity-tip{
  210. width: 100%;
  211. position: absolute;
  212. bottom: 0.4rem;
  213. text-align: center;
  214. font-size: 0.28rem;
  215. color: rgba(238, 11, 26, 0.6);
  216. }
  217. .no-times-tip{
  218. position: absolute;
  219. top: 3.94rem;
  220. left: 50%;
  221. transform: translateX(-50%);
  222. font-size: 0.32rem;
  223. font-weight: 600;
  224. color: #FFFAA5;
  225. line-height: 0.6rem;
  226. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  227. }
  228. .no-times-btn{
  229. position: absolute;
  230. bottom: 0.54rem;
  231. left: 50%;
  232. transform: translateX(-50%);
  233. width: 4.6rem;
  234. height: 1.02rem;
  235. line-height: 1.02rem;
  236. text-align: center;
  237. background: url(../../static/img/springFestivalActivity/noTimes.png) no-repeat;
  238. background-size: 100% 100%;
  239. font-size: 0.34rem;
  240. font-weight: 600;
  241. color: #EE0B1A;
  242. }
  243. .award-record-mask,.rule-mask,.award-mask,.award-result-mask,.distribution-mask {
  244. width: 100%;
  245. height: 100vh;
  246. position: fixed;
  247. top: 0;
  248. left: 0;
  249. background: rgba(0, 0, 0, 0.5);
  250. display: none;
  251. }
  252. .dialog {
  253. width: 5.97rem;
  254. height: 8.7rem;
  255. background: url(../../static/img/springFestivalActivity/record-bg.png) no-repeat;
  256. background-size: 100% 100%;
  257. border-radius: 0.2rem;
  258. position: absolute;
  259. left: 50%;
  260. top: -10.96rem;
  261. z-index: 999;
  262. transform: translateX(-50%);
  263. }
  264. .tab-wrap{
  265. width: 4.52rem;
  266. height: 0.62rem;
  267. background: url(../../static/img/springFestivalActivity/selectedBg.png) no-repeat;
  268. background-size: 100% 100%;
  269. text-align: center;
  270. margin: auto;
  271. margin-top: 1.36rem;
  272. font-size: 0.28rem;
  273. display: flex;
  274. justify-content: space-between;
  275. align-items: center;
  276. padding: 0 0.3rem;
  277. }
  278. .award-change-btn{
  279. width: 1.92rem;
  280. height: 0.54rem;
  281. line-height: 0.52rem;
  282. color: #FFE4BD;
  283. }
  284. .active{
  285. color: #EE0B1A;
  286. background: url(../../static/img/springFestivalActivity/selected.png) no-repeat;
  287. background-size: 100% 100%;
  288. }
  289. .record-wrap{
  290. margin: auto;
  291. margin-top: 0.2rem;
  292. width: 5.38rem;
  293. /* height: 6.16rem; */
  294. height: 5.2rem;
  295. background: rgba(255, 255, 255, 0);
  296. border-radius: 0.12rem;
  297. border: 0.02rem solid rgba(255, 214, 189, 0.7);
  298. }
  299. .title-row{
  300. display: flex;
  301. justify-content: space-between;
  302. padding: 0.1rem 0.48rem;
  303. margin-top: 0.14rem;
  304. font-size: 0.28rem;
  305. font-weight: 600;
  306. color: #FFF5BD;
  307. }
  308. .line{
  309. width: 5.28rem;
  310. height: 0.02rem;
  311. background: linear-gradient(117deg, rgba(255, 219, 209, 0) 0%, #FEB4A4 47%, rgba(254, 180, 164, 0) 100%);
  312. }
  313. .data-list{
  314. height: 4.82rem;
  315. padding: 0.1rem 0.2rem;
  316. overflow-y: scroll;
  317. }
  318. .data-row{
  319. display: flex;
  320. justify-content: space-between;
  321. margin-bottom: 0.24rem;
  322. font-size: 0.28rem;
  323. color: #FFE4BD;
  324. }
  325. .record-operate{
  326. width: 1.08rem;
  327. height: 0.52rem;
  328. line-height: 0.52rem;
  329. text-align: center;
  330. background: rgba(255, 245, 189, 0.5);
  331. border-radius: 0.26rem;
  332. font-size: 0.24rem;
  333. color: #D40D1A;
  334. }
  335. .sure-btn{
  336. width: 3.22rem;
  337. height: 0.76rem;
  338. line-height: 0.76rem;
  339. text-align: center;
  340. position: absolute;
  341. bottom: 0.2rem;
  342. left: 50%;
  343. transform: translateX(-50%);
  344. background: url(../../static/img/springFestivalActivity/sureBg2.png) no-repeat;
  345. background-size: 100% 100%;
  346. font-size: 0.34rem;
  347. color: #FFF5BD;
  348. }
  349. .close,.rule-close,.award-close,.award-result-close{
  350. width: 0.56rem;
  351. height: 0.56rem;
  352. position: absolute;
  353. left: 50%;
  354. bottom: -1rem;
  355. transform: translateX(-50%);
  356. }
  357. .rule-dialog{
  358. width: 7rem;
  359. height: 8.82rem;
  360. background: url(../../static/img/springFestivalActivity/ruleBg.png) no-repeat;
  361. background-size: 100% 100%;
  362. border-radius: 0.2rem;
  363. position: absolute;
  364. left: 50%;
  365. top: -10.96rem;
  366. transform: translateX(-50%);
  367. }
  368. .rule-text{
  369. position: absolute;
  370. width: 3.4rem;
  371. height: 1.14rem;
  372. top: 0.72rem;
  373. left: 50%;
  374. transform: translateX(-50%);
  375. }
  376. .rule-list{
  377. width: 4.76rem;
  378. position: absolute;
  379. top: 1.6rem;
  380. left: 50%;
  381. transform: translateX(-50%);
  382. font-size: 0.26rem;
  383. color: #BE000D;
  384. }
  385. .rule-point{
  386. width: 4.76rem;
  387. margin-top: 0.3rem;
  388. }
  389. .award-dialog{
  390. width: 7rem;
  391. height: 8.42rem;
  392. background: url(../../static/img/springFestivalActivity/awardBg.png) no-repeat;
  393. background-size: 100% 100%;
  394. border-radius: 0.2rem;
  395. position: absolute;
  396. left: 50%;
  397. top: -10.96rem;
  398. transform: translateX(-50%);
  399. }
  400. .award-result-row{
  401. margin-top: 2.8rem;
  402. display: flex;
  403. justify-content: center;
  404. align-items: center;
  405. }
  406. .icon{
  407. width: 0.5rem;
  408. height: 0.26rem;
  409. margin-right: 0.1rem;
  410. }
  411. .award-result{
  412. color: #FFF5BD;
  413. font-size: 0.28rem;
  414. margin: 0 0.1rem;
  415. }
  416. .card-wrap{
  417. display: flex;
  418. justify-content: center;
  419. flex-wrap: wrap;
  420. margin: auto;
  421. margin-top: 0.2rem;
  422. }
  423. .card-item{
  424. margin: 0.18rem;
  425. text-align: center;
  426. }
  427. .card{
  428. width: 1.4rem;
  429. height: 1.4rem;
  430. }
  431. .card-text{
  432. font-size: 0.28rem;
  433. color: #FFF5BD;
  434. margin-top: -0.14rem;
  435. }
  436. .award-result-dialog{
  437. width: 7.5rem;
  438. height: 9.64rem;
  439. background: url(../../static/img/springFestivalActivity/resultBg.png) no-repeat;
  440. background-size: 100% 100%;
  441. border-radius: 0.2rem;
  442. position: absolute;
  443. left: 50%;
  444. top: -10.86rem;
  445. transform: translateX(-50%);
  446. }
  447. .award-result-wrap{
  448. width: 5.6rem;
  449. }
  450. .result-tip-row{
  451. margin-top: 2rem;
  452. text-align: center;
  453. }
  454. .award-result-tip{
  455. font-size: 0.32rem;
  456. font-weight: 600;
  457. color: #FFFAA5;
  458. line-height: 0.44rem;
  459. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  460. color: linear-gradient(180deg, #FFF3E0 0%, #FFFAA5 100%);
  461. }
  462. .join-result-tip{
  463. margin-top: 0.1rem;
  464. font-size: 0.24rem;
  465. color: #FFFAA5;
  466. }
  467. .one-card{
  468. margin-top: 0.54rem;
  469. width: 2.4rem;
  470. height: 2.4rem;
  471. }
  472. .btn-row{
  473. width: 5.6rem;
  474. display: flex;
  475. position: absolute;
  476. bottom: 0.66rem;
  477. left: 50%;
  478. transform: translateX(-50%);
  479. }
  480. .left-btn{
  481. width: 3.02rem;
  482. height: 1.02rem;
  483. line-height: 1.02rem;
  484. text-align: center;
  485. background: url(../../static/img/springFestivalActivity/report.png) no-repeat;
  486. background-size: 100% 100%;
  487. font-size: 0.34rem;
  488. font-weight: 600;
  489. color: #EE0B1A;
  490. margin-left: 0.3rem;
  491. }
  492. .look-btn{
  493. width: 1.8rem;
  494. height: 1.02rem;
  495. line-height: 1.02rem;
  496. text-align: center;
  497. background: url(../../static/img/springFestivalActivity/lookBg.png) no-repeat;
  498. background-size: 100% 100%;
  499. font-size: 0.34rem;
  500. color: #FFF5BD;
  501. margin-left: 0.3rem;
  502. }
  503. .times-text{
  504. font-size: 0.24rem;
  505. color: #FFE4BD;
  506. margin-left: 1.6rem;
  507. position: absolute;
  508. bottom: 0.26rem;
  509. }
  510. .one-result{
  511. margin-bottom: 1.2rem;
  512. }
  513. .distribution-dialog{
  514. width: 6.22rem;
  515. height: 2.8rem;
  516. border-radius: 0.2rem;
  517. position: absolute;
  518. left: 50%;
  519. top: -10.96rem;
  520. transform: translateX(-50%);
  521. background-color: #FFFFFF;
  522. }
  523. .limit-tip{
  524. margin-top: 0.4rem;
  525. text-align: center;
  526. font-size: 0.32rem;
  527. color: #333333;
  528. padding-bottom: 0.5rem;
  529. border-bottom: 0.01rem solid rgba(238,238,238,1);
  530. }
  531. .distribution-btn{
  532. font-size: 0.32rem;
  533. font-weight: 600;
  534. color: #3B7FFF;
  535. text-align: center;
  536. margin-top: 0.24rem;
  537. }
  538. .operate-btn{
  539. background: linear-gradient(180deg, #FFFBE0 0%, #FFF6C4 56%, #FFFBE0 100%);
  540. }
  541. .no-award{
  542. height: 5.22rem;
  543. line-height: 4.62rem;
  544. text-align: center;
  545. font-size: 0.28rem;
  546. color: #FFE4BD;
  547. }
  548. #toast-container>.toast-error {
  549. background-image: none !important;
  550. }
  551. .toast-error {
  552. background-color: rgba(0, 0, 0, 0.8);
  553. }
  554. #toast-container>div {
  555. font-size: 14px;
  556. min-width: 80px !important;
  557. padding: 12px !important;
  558. box-shadow: none;
  559. }
  560. .toast-center-center {
  561. position: fixed;
  562. min-width: 220px;
  563. top: 50%;
  564. left: 50%;
  565. text-align: center;
  566. transform: translateX(-50%);
  567. color: #FFFFFF;
  568. border-radius: 0.1rem;
  569. }
  570. @media (max-width: 480px) and (min-width: 241px) {
  571. #toast-container>div {
  572. min-width: 80px !important;
  573. width: auto;
  574. }
  575. }