awardActivity.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  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. .container{
  19. position: relative;
  20. }
  21. .all-bg-wrap{
  22. width: 7.5rem;
  23. position: absolute;
  24. top: 0;
  25. left: 50%;
  26. transform: translateX(-50%);
  27. z-index: -1;
  28. }
  29. .all-bg-img{
  30. width: 100%;
  31. }
  32. .rule-wrap{
  33. position: absolute;
  34. top: 0.6rem;
  35. right: 0;
  36. width: 0.44rem;
  37. height: 1.22rem;
  38. line-height: 0.28rem;
  39. text-align: center;
  40. padding-top: 0.1rem;
  41. background: #FFFFFF;
  42. opacity: 0.5;
  43. border-radius: 0.16rem 0 0 0.16rem;
  44. font-size: 0.24rem;
  45. font-weight: 600;
  46. color: #5C96FF;
  47. }
  48. .time-position{
  49. height: 1.73rem;
  50. }
  51. .time-wrap{
  52. display: flex;
  53. justify-content: center;
  54. align-items: center;
  55. width: 4.92rem;
  56. height: 0.54rem;
  57. margin: 0 auto;
  58. border-image: linear-gradient(0deg, #A9CFFD, #97C8FF, #ABEFF2) 10 10;
  59. background: linear-gradient(90deg, #8FB5FB 0%, #61AAF9 49%, #59C8DD 100%);
  60. border-radius: 0.26rem;
  61. font-size: 0.24rem;
  62. font-weight: 800;
  63. color: #FFFFFF;
  64. }
  65. .top-container{
  66. display: flex;
  67. justify-content: center;
  68. position: relative;
  69. }
  70. .top-bg-one{
  71. width: 7.12rem;
  72. height: 8.44rem;
  73. margin-top: 0.32rem;
  74. display: none;
  75. }
  76. .top-bg-two{
  77. width: 7.12rem;
  78. height: 7.34rem;
  79. margin-top: 0.32rem;
  80. }
  81. .get-award-container{
  82. position: absolute;
  83. top: 1.2rem;
  84. left: 50%;
  85. transform: translate(-50%, -50%);
  86. width: 5.84rem;
  87. height: 0.5rem;
  88. line-height: 0.5rem;
  89. text-align: center;
  90. border-radius: 0.3rem;
  91. font-size: 0.24rem;
  92. font-family: PingFang SC;
  93. font-weight: 500;
  94. color: #FFF8E5;
  95. overflow: hidden;
  96. }
  97. .award-lists{
  98. width: 5.84rem;
  99. position: absolute;
  100. top: 0;
  101. left: 50%;
  102. transform: translateX(-50%);
  103. height: 6rem;
  104. }
  105. .award-text{
  106. height: 0.5rem;
  107. font-size: 0.24rem;
  108. color: #ffffff;
  109. }
  110. .all-award-wrap{
  111. width: 6.2rem;
  112. position: absolute;
  113. top: 2.36rem;
  114. left: 50%;
  115. transform: translateX(-50%);
  116. display: flex;
  117. flex-wrap: wrap;
  118. margin-left: 0.12rem;
  119. }
  120. .curr-award-item{
  121. width: 1.32rem;
  122. height: 1.34rem;
  123. background: #FDFCFA;
  124. border-radius: 0.08rem;
  125. display: flex;
  126. flex-direction: column;
  127. /* justify-content: center; */
  128. align-items: center;
  129. padding-top: 0.1rem;
  130. margin-left: 0.12rem;
  131. margin-bottom: 0.12rem;
  132. }
  133. .award-img{
  134. width: 1.08rem;
  135. height: 0.8rem;
  136. /* background: #FFE3B7; */
  137. border-radius: 0.08rem;
  138. }
  139. .curr-award-name{
  140. margin-top: 0.08rem;
  141. padding: 0 0.12rem;
  142. font-size: 0.16rem;
  143. color: #E4402F;
  144. text-align: center;
  145. }
  146. .curr-award-id{
  147. display: none;
  148. }
  149. .curr-award-item-one{
  150. width: 1.78rem;
  151. height: 1.72rem;
  152. margin-left: 0.16rem;
  153. }
  154. .curr-award-img-one{
  155. width: 1.46rem;
  156. height: 1.08rem;
  157. }
  158. .rest-wrap{
  159. width: 7.5rem;
  160. /* min-height: 66vh; */
  161. margin: 0 auto;
  162. margin-top: -0.04rem;
  163. padding-bottom: 2rem;
  164. background-image: url('../img/awardActivity/rest-bg.png');
  165. background-repeat: repeat-y;
  166. background-size: cover;
  167. position: relative;
  168. }
  169. .award-btn-wrap{
  170. width: 5rem;
  171. height: 1.58rem;
  172. margin: 0 auto;
  173. padding-top: 0.34rem;
  174. }
  175. .start-award{
  176. width: 100%;
  177. height: 100%;
  178. }
  179. .get-time-wrap{
  180. display: flex;
  181. justify-content: space-between;
  182. margin: 0 0.56rem;
  183. margin-top: 1.2rem;
  184. }
  185. .rest-time{
  186. font-size: 0.28rem;
  187. color: #F9F0D4;
  188. }
  189. .get-time-btn{
  190. margin-right: 0.1rem;
  191. font-size: 0.32rem;
  192. font-weight: 600;
  193. color: #DC0622;
  194. }
  195. .tab-wrap{
  196. width: 6.82rem;
  197. height: 5.75rem;
  198. margin: 0 auto;
  199. margin-top: 0.6rem;
  200. position: relative;
  201. }
  202. .tab-bg1{
  203. width: 100%;
  204. height: 100%;
  205. }
  206. .tab-bg2{
  207. width: 100%;
  208. height: 100%;
  209. display: none;
  210. }
  211. .tab-bg3{
  212. width: 100%;
  213. height: 100%;
  214. display: none;
  215. }
  216. .tab-bg4{
  217. width: 100%;
  218. height: 100%;
  219. display: none;
  220. }
  221. .no-award-data{
  222. width: 3.65rem;
  223. height: 1.67rem;
  224. position: absolute;
  225. top: 50%;
  226. left: 50%;
  227. transform: translate(-50%, -50%);
  228. display: none;
  229. }
  230. .no-award-img{
  231. width: 100%;
  232. height: 100%;
  233. margin-left: 0.2rem;
  234. }
  235. .no-award-text{
  236. width: 4rem;
  237. font-size: 0.28rem;
  238. color: #999999;
  239. }
  240. .no-distribution-data{
  241. width: 3.65rem;
  242. height: 1.67rem;
  243. position: absolute;
  244. top: 50%;
  245. left: 50%;
  246. transform: translate(-50%, -50%);
  247. text-align: center;
  248. display: none;
  249. }
  250. .no-distribution-img{
  251. width: 1.76rem;
  252. height: 1.68rem;
  253. }
  254. .no-distribution-text{
  255. width: 4rem;
  256. font-size: 0.28rem;
  257. color: #999999;
  258. }
  259. .award-title-wrap{
  260. width: 100%;
  261. display: flex;
  262. position: absolute;
  263. top: 0.3rem;
  264. font-size: 0.32rem;
  265. font-weight: 500;
  266. color: #010101;
  267. }
  268. .award-title{
  269. flex: 1;
  270. text-align: center;
  271. opacity: 0.5;
  272. }
  273. .active-title{
  274. font-weight: 600;
  275. opacity: 1;
  276. }
  277. .award-list{
  278. position: absolute;
  279. top: 1.3rem;
  280. }
  281. .award-list-title-wrap{
  282. width: 6.22rem;
  283. padding-left: 0.6rem;
  284. display: flex;
  285. justify-content: space-between;
  286. font-size: 0.28rem;
  287. color: #333333;
  288. border-bottom: 0.02rem solid #F4EDDC;
  289. padding-bottom: 0.23rem;
  290. }
  291. .red{
  292. color: #FF482E;
  293. }
  294. .distribution-total-wrap{
  295. width: 100%;
  296. padding: 0.46rem 0;
  297. font-size: 0.24rem;
  298. color: #999999;
  299. display: flex;
  300. justify-content: center;
  301. }
  302. .award-total-data:not(:first-child){
  303. margin: 0 0.12rem;
  304. padding-left: 0.12rem;
  305. border-left: 0.01rem solid rgba(135,135,135,1);
  306. }
  307. .award-list-title, .award-list-content{
  308. flex: 1;
  309. }
  310. .award-list-wrap{
  311. margin-top: 0.32rem;
  312. height: 3.48rem;
  313. overflow-y: scroll;
  314. }
  315. .distribution-container{
  316. height: 5.28rem;
  317. overflow-y: scroll;
  318. }
  319. .award-list-item{
  320. width: 6.02rem;
  321. padding-left: 0.6rem;
  322. display: flex;
  323. justify-content: space-between;
  324. font-size: 0.28rem;
  325. color: #333333;
  326. margin-bottom: 0.34rem;
  327. }
  328. .distribution-list-wrap{
  329. width: 100%;
  330. position: absolute;
  331. top: 1rem;
  332. display: none;
  333. }
  334. .distribution-list{
  335. background: rgba(255,255,255,1);
  336. margin: 0 0.1rem;
  337. padding-bottom: 0.42rem;
  338. }
  339. .distribution-item{
  340. display: flex;
  341. justify-content: space-between;
  342. align-items: center;
  343. margin-bottom: 0.38rem;
  344. }
  345. .distribution-main-content{
  346. display: flex;
  347. align-items: center;
  348. }
  349. .phone-logo{
  350. width: 0.74rem;
  351. height: 0.74rem;
  352. margin-left: 0.46rem;
  353. }
  354. .distribution-info{
  355. margin-left: 0.14rem;
  356. }
  357. .distribution-name{
  358. font-size: 0.32rem;
  359. font-weight: 500;
  360. color: #000000;
  361. }
  362. .distribution-time{
  363. margin-top: 0.22rem;
  364. font-size: 0.22rem;
  365. color: #9E9693;
  366. }
  367. .change-num-wrap{
  368. display: flex;
  369. justify-content: space-between;
  370. align-items: center;
  371. width: 1.84rem;
  372. height: 0.56rem;
  373. background: #FFFFFF;
  374. border: 0.01rem solid #DDDDDD;
  375. border-radius: 0.1rem;
  376. margin-right: 0.46rem;
  377. }
  378. .cut, .add{
  379. width: 0.56rem;
  380. height: 0.56rem;
  381. text-align: center;
  382. font-size: 0.32rem;
  383. color: #999999;
  384. position: relative;
  385. z-index: 99;
  386. }
  387. .cut{
  388. border-right: 0.01rem solid #DDDDDD;
  389. }
  390. .add{
  391. border-left: 0.01rem solid #DDDDDD;
  392. }
  393. .num-ipt{
  394. width: 0.36rem;
  395. height: 0.38rem;
  396. margin: 0 0.1rem;
  397. border-radius: 0.04rem;
  398. text-align: center;
  399. border: none;
  400. }
  401. input:focus{
  402. outline:none;
  403. }
  404. .distribution-award-btn{
  405. width: 5.7rem;
  406. height: 0.88rem;
  407. line-height: 0.88rem;
  408. margin: 0 auto;
  409. text-align: center;
  410. background: linear-gradient(90deg, #FFDD71 0%, #FEC047 100%);
  411. border-radius: 0.44rem;
  412. font-size: 0.36rem;
  413. font-weight: bold;
  414. color: #DC0622;
  415. }
  416. .award-record-list{
  417. min-height: 5.6rem;
  418. padding: 0 0.36rem;
  419. margin: 0 0.1rem;
  420. margin-top: 0.24rem;
  421. background: rgba(255,255,255,1);
  422. border-radius: 0.16rem;
  423. display: none;
  424. }
  425. .record-list-title{
  426. width: 3.71rem;
  427. height: 0.72rem;
  428. line-height: 0.72rem;
  429. text-align: center;
  430. margin: 0 auto;
  431. background: #FEDFB3;
  432. border-radius: 0 0 0.24rem 0.24rem;
  433. font-size: 0.32rem;
  434. font-weight: 500;
  435. color: #7D271A;
  436. }
  437. .award-record-list-title-wrap{
  438. width: 100%;
  439. display: flex;
  440. justify-content: space-between;
  441. font-size: 0.32rem;
  442. font-weight: 500;
  443. color: #010101;
  444. opacity: 0.5;
  445. margin-top: 0.3rem;
  446. }
  447. .award-record-list-wrap{
  448. margin-top: 0.3rem;
  449. height: 3.48rem;
  450. overflow-y: scroll;
  451. }
  452. .award-record-list-item{
  453. display: flex;
  454. font-size: 0.28rem;
  455. color: #666666;
  456. padding-bottom: 0.4rem;
  457. }
  458. .award-record-list-name{
  459. flex: 0.3;
  460. }
  461. .award-record-list-time{
  462. flex: 0.6;
  463. text-align: center;
  464. }
  465. .award-record-list-day{
  466. flex: 0.1;
  467. text-align: right;
  468. }
  469. .result-mask,.rule-mask{
  470. width: 100%;
  471. height: 100vh;
  472. position: fixed;
  473. z-index: 9999;
  474. top: 0;
  475. left: 0;
  476. background: rgba(0, 0, 0, 0.5);
  477. display: none;
  478. }
  479. .result-dialog,.rule-result-dialog{
  480. width: 5.86rem;
  481. height: 6.49rem;
  482. background: linear-gradient(0deg, #FFFFFF 74%, #FFEDEE 100%);
  483. border-radius: 0.32rem;
  484. position: absolute;
  485. left: 50%;
  486. top: -10.86rem;
  487. transform: translateX(-50%);
  488. }
  489. .rule-title-wrap{
  490. display: flex;
  491. justify-content: center;
  492. align-items: center;
  493. }
  494. .rule-title-icon{
  495. width: 0.56rem;
  496. height: 0.08rem;
  497. background: linear-gradient(90deg, #FFE2E0 0%, #FFF4F4 100%);
  498. }
  499. .rule-title{
  500. margin: 0 0.2rem;
  501. text-align: center;
  502. font-size: 0.36rem;
  503. font-weight: bold;
  504. color: #333333;
  505. }
  506. .rule-content{
  507. width: 5.86rem;
  508. padding: 0.2rem 0;
  509. border-radius: 0.1rem;
  510. position: absolute;
  511. top: 0.2rem;
  512. }
  513. .rule-point-wrap{
  514. height: 4.9rem;
  515. margin: 0 0.4rem;
  516. margin-top: 0.34rem;
  517. font-size: 0.28rem;
  518. line-height: 0.4rem;
  519. overflow-y: scroll;
  520. }
  521. .rule-point{
  522. margin: 0 0.3rem;
  523. font-size: 0.24rem;
  524. line-height: 0.48rem;
  525. }
  526. .card-close,.rule-close{
  527. width: 0.68rem;
  528. height: 0.68rem;
  529. position: absolute;
  530. left: 50%;
  531. bottom: -1rem;
  532. transform: translateX(-50%);
  533. }
  534. .sure-distribution-wrap{
  535. width: 100vw;
  536. height: 100vh;
  537. position: fixed;
  538. top: 0;
  539. left: 0;
  540. background-color: rgba(0, 0, 0, 0.24);
  541. z-index: 999;
  542. display: none;
  543. }
  544. .sure-distribution-box{
  545. width: 6.22rem;
  546. height: 2.28rem;
  547. background: #FFFFFF;
  548. border-radius: 0.2rem;
  549. position: absolute;
  550. top: 50%;
  551. left: 50%;
  552. transform: translate(-50%,-50%);
  553. }
  554. .sure-distribution-title{
  555. text-align: center;
  556. padding: 0.48rem;
  557. font-size: 0.32rem;
  558. color: #333333;
  559. }
  560. .sure-distribution-btn-list{
  561. width: 100%;
  562. height: 0.86rem;
  563. display: flex;
  564. justify-content: space-between;
  565. border-top: 0.01rem solid #E5E5E5;
  566. font-size: 0.28rem;
  567. }
  568. .sure-distribution-btn{
  569. height: 0.86rem;
  570. line-height: 0.86rem;
  571. text-align: center;
  572. flex: 1;
  573. }
  574. .sure-distribution-sure{
  575. border-left: 0.01rem solid #b4bbc5;
  576. color: #3B7FFF;
  577. }
  578. .sure-distribution-cannel:active{
  579. background-color: #E5E5E5;
  580. border-bottom-left-radius: 0.2rem;
  581. }
  582. .sure-distribution-sure:active{
  583. background-color: #E5E5E5;
  584. border-bottom-right-radius: 0.2rem;
  585. }
  586. .result-title-wrap{
  587. margin-top: 0.5rem;
  588. }
  589. .main-contain{
  590. margin-top: 0.48rem;
  591. display: flex;
  592. flex-direction: column;
  593. align-items: center;
  594. }
  595. .card-img{
  596. width: 1.52rem;
  597. height: 1.52rem;
  598. /* background: #FFF0DB; */
  599. border-radius: 0.24rem;
  600. }
  601. .card-img1{
  602. width: 1.46rem;
  603. height: 1.08rem;
  604. }
  605. .card-img2{
  606. width: 1.08rem;
  607. height: 0.8rem;
  608. }
  609. .card-title{
  610. margin-top: 0.24rem;
  611. font-size: 0.32rem;
  612. color: #333333;
  613. }
  614. .card-tips{
  615. margin-top: 0.14rem;
  616. font-size: 0.24rem;
  617. color: #888888;
  618. }
  619. .card-btn{
  620. width: 4rem;
  621. height: 0.96rem;
  622. line-height: 0.96rem;
  623. text-align: center;
  624. margin-top: 0.56rem;
  625. background: linear-gradient(90deg, #FF0200 0%, #FF7900 100%);
  626. border-radius: 0.48rem;
  627. font-size: 0.32rem;
  628. color: #FFFFFF;
  629. }
  630. .card-rest-times{
  631. margin-top: 0.26rem;
  632. font-size: 0.24rem;
  633. color: #B5B5B5;
  634. }
  635. #toast-container>.toast-error {
  636. background-image: none !important;
  637. }
  638. .toast-error {
  639. background-color: rgba(0, 0, 0, 0.8);
  640. }
  641. #toast-container>div {
  642. font-size: 14px;
  643. min-width: 80px !important;
  644. padding: 12px !important;
  645. box-shadow: none;
  646. }
  647. .toast-center-center {
  648. position: fixed;
  649. min-width: 220px;
  650. top: 50%;
  651. left: 50%;
  652. text-align: center;
  653. transform: translateX(-50%);
  654. color: #FFFFFF;
  655. border-radius: 0.1rem;
  656. }
  657. @media (max-width: 480px) and (min-width: 241px) {
  658. #toast-container>div {
  659. min-width: 80px !important;
  660. width: auto;
  661. }
  662. }