springFestivalActivity.css 11 KB

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