springFestivalActivity.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  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 {
  231. width: 7.5rem;
  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. .receive{
  266. width: 1.92rem;
  267. height: 0.54rem;
  268. line-height: 0.52rem;
  269. color: #FFE4BD;
  270. background: url(../../static/img/springFestivalActivity/no-selected.png) no-repeat;
  271. background-size: 100% 100%;
  272. }
  273. .used{
  274. width: 1.92rem;
  275. height: 0.54rem;
  276. line-height: 0.52rem;
  277. color: #EE0B1A;
  278. background: url(../../static/img/springFestivalActivity/selected.png) no-repeat;
  279. background-size: 100% 100%;
  280. }
  281. .record-wrap{
  282. margin: auto;
  283. margin-top: 0.2rem;
  284. width: 5.68rem;
  285. /* height: 6.16rem; */
  286. height: 5.6rem;
  287. background: rgba(255, 255, 255, 0);
  288. border-radius: 0.12rem;
  289. border: 0.02rem solid rgba(255, 214, 189, 0.7);
  290. }
  291. .title-row{
  292. display: flex;
  293. justify-content: space-between;
  294. padding: 0.1rem 0.48rem;
  295. margin-top: 0.14rem;
  296. font-size: 0.28rem;
  297. font-weight: 600;
  298. color: #FFF5BD;
  299. }
  300. .line{
  301. width: 5.28rem;
  302. height: 0.02rem;
  303. background: linear-gradient(117deg, rgba(255, 219, 209, 0) 0%, #FEB4A4 47%, rgba(254, 180, 164, 0) 100%);
  304. }
  305. .data-list{
  306. height: 5.22rem;
  307. padding: 0.1rem 0.2rem;
  308. overflow-y: scroll;
  309. }
  310. .data-row{
  311. display: flex;
  312. justify-content: space-between;
  313. margin-bottom: 0.24rem;
  314. font-size: 0.28rem;
  315. color: #FFE4BD;
  316. }
  317. .record-operate{
  318. width: 1.08rem;
  319. height: 0.52rem;
  320. line-height: 0.52rem;
  321. text-align: center;
  322. background: rgba(255, 245, 189, 0.5);
  323. border-radius: 0.26rem;
  324. font-size: 0.24rem;
  325. color: #D40D1A;
  326. }
  327. .sure-btn{
  328. width: 3.22rem;
  329. height: 0.76rem;
  330. line-height: 0.76rem;
  331. text-align: center;
  332. position: absolute;
  333. bottom: 0.2rem;
  334. left: 50%;
  335. transform: translateX(-50%);
  336. background: url(../../static/img/springFestivalActivity/sureBg.png) no-repeat;
  337. background-size: 100% 100%;
  338. font-size: 0.34rem;
  339. color: #FFF5BD;
  340. }
  341. .close,.rule-close,.award-close,.award-result-close{
  342. width: 0.56rem;
  343. height: 0.56rem;
  344. position: absolute;
  345. left: 50%;
  346. bottom: -1rem;
  347. transform: translateX(-50%);
  348. }
  349. .rule-dialog{
  350. width: 7rem;
  351. height: 8.42rem;
  352. background: url(../../static/img/springFestivalActivity/ruleBg.png) no-repeat;
  353. background-size: 100% 100%;
  354. border-radius: 0.2rem;
  355. position: absolute;
  356. left: 50%;
  357. top: -10.96rem;
  358. transform: translateX(-50%);
  359. }
  360. .rule-text{
  361. position: absolute;
  362. width: 3.4rem;
  363. height: 1.14rem;
  364. top: 0.72rem;
  365. left: 50%;
  366. transform: translateX(-50%);
  367. }
  368. .rule-list{
  369. width: 4.76rem;
  370. position: absolute;
  371. bottom: 1.1rem;
  372. left: 50%;
  373. transform: translateX(-50%);
  374. font-size: 0.26rem;
  375. color: #BE000D;
  376. }
  377. .rule-point{
  378. width: 4.76rem;
  379. margin-top: 0.3rem;
  380. }
  381. .award-dialog{
  382. width: 7rem;
  383. height: 8.42rem;
  384. background: url(../../static/img/springFestivalActivity/awardBg.png) no-repeat;
  385. background-size: 100% 100%;
  386. border-radius: 0.2rem;
  387. position: absolute;
  388. left: 50%;
  389. top: -10.96rem;
  390. transform: translateX(-50%);
  391. }
  392. .award-result-row{
  393. margin-top: 2.8rem;
  394. display: flex;
  395. justify-content: center;
  396. align-items: center;
  397. }
  398. .icon{
  399. width: 0.5rem;
  400. height: 0.26rem;
  401. margin-right: 0.1rem;
  402. }
  403. .award-result{
  404. color: #FFF5BD;
  405. font-size: 0.28rem;
  406. margin: 0 0.1rem;
  407. }
  408. .card-wrap{
  409. display: flex;
  410. justify-content: center;
  411. flex-wrap: wrap;
  412. margin: auto;
  413. margin-top: 0.2rem;
  414. }
  415. .card-item{
  416. margin: 0.18rem;
  417. text-align: center;
  418. }
  419. .card{
  420. width: 1.4rem;
  421. height: 1.4rem;
  422. }
  423. .card-text{
  424. font-size: 0.28rem;
  425. color: #FFF5BD;
  426. margin-top: -0.14rem;
  427. }
  428. .award-result-dialog{
  429. width: 7.5rem;
  430. height: 9.64rem;
  431. background: url(../../static/img/springFestivalActivity/resultBg.png) no-repeat;
  432. background-size: 100% 100%;
  433. border-radius: 0.2rem;
  434. position: absolute;
  435. left: 50%;
  436. top: -10.86rem;
  437. transform: translateX(-50%);
  438. }
  439. .award-result-wrap{
  440. width: 5.6rem;
  441. }
  442. .result-tip-row{
  443. margin-top: 2rem;
  444. text-align: center;
  445. }
  446. .award-result-tip{
  447. font-size: 0.32rem;
  448. font-weight: 600;
  449. color: #FFFAA5;
  450. line-height: 0.44rem;
  451. text-shadow: 0 0 0.1rem rgba(222, 13, 16, 0.7);
  452. color: linear-gradient(180deg, #FFF3E0 0%, #FFFAA5 100%);
  453. }
  454. .join-result-tip{
  455. margin-top: 0.1rem;
  456. font-size: 0.24rem;
  457. color: #FFFAA5;
  458. }
  459. .one-card{
  460. margin-top: 0.54rem;
  461. width: 2.4rem;
  462. height: 2.4rem;
  463. }
  464. .btn-row{
  465. width: 5.6rem;
  466. display: flex;
  467. margin: auto;
  468. margin-top: 0.5rem;
  469. }
  470. .left-btn{
  471. width: 3.02rem;
  472. height: 1.02rem;
  473. line-height: 1.02rem;
  474. text-align: center;
  475. background: url(../../static/img/springFestivalActivity/report.png) no-repeat;
  476. background-size: 100% 100%;
  477. font-size: 0.34rem;
  478. font-weight: 600;
  479. color: #EE0B1A;
  480. margin-left: 0.3rem;
  481. }
  482. .look-btn{
  483. width: 1.8rem;
  484. height: 1.02rem;
  485. line-height: 1.02rem;
  486. text-align: center;
  487. background: url(../../static/img/springFestivalActivity/lookBg.png) no-repeat;
  488. background-size: 100% 100%;
  489. font-size: 0.34rem;
  490. color: #FFF5BD;
  491. margin-left: 0.3rem;
  492. }
  493. .times-text{
  494. font-size: 0.24rem;
  495. color: #FFE4BD;
  496. margin-left: 1.6rem;
  497. margin-top: 0.06rem;
  498. }
  499. .one-result{
  500. margin-bottom: 1.2rem;
  501. }
  502. #toast-container>.toast-error {
  503. background-image: none !important;
  504. }
  505. .toast-error {
  506. background-color: rgba(0, 0, 0, 0.8);
  507. }
  508. #toast-container>div {
  509. font-size: 14px;
  510. min-width: 80px !important;
  511. padding: 12px !important;
  512. box-shadow: none;
  513. }
  514. .toast-center-center {
  515. min-width: 100px;
  516. top: 50%;
  517. left: 50%;
  518. text-align: center;
  519. transform: translateX(-50%);
  520. }
  521. @media (max-width: 480px) and (min-width: 241px) {
  522. #toast-container>div {
  523. min-width: 80px !important;
  524. width: auto;
  525. }
  526. }