$bg: "./../../assets/firstPay/top_bg.png"; .container { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; line-height: 1.3rem; --header-height: 215px; } .top_box { width: 100%; display: flex; flex-direction: column; position: absolute; top: 0; // background-image: url($bg); // background-size: contain; background: url($bg) top / cover no-repeat; // 顶部背景色:与主题深绿统一 background-color: #0e2a1a; background-image: linear-gradient(135deg, #1d803ab3 0%, rgba(29, 128, 58, 1) 100%), url($bg); background-blend-mode: multiply, normal; padding: var(--page-padding); padding-top: 3rem; & .title_lbl { color: #fff; font-family: Inter; font-size: 1.4rem; font-style: normal; font-weight: 900; line-height: normal; } & .times_box { width: 100%; height: 3.2rem; display: flex; transform: scale(0.8) translateX(-4rem); } & .lbl_bonus { //font-size: 3rem; padding-bottom: 1.5rem; } & .des_box { display: flex; padding: 0.14706rem 1rem; flex-direction: column; justify-content: center; gap: 0.14706rem; border-radius: 0.73529rem; background: rgba(0, 0, 0, 0.3); line-height: 1.3rem; color: #fff; font-size: 0.95rem; } } .scroll_box { padding: var(--page-padding); padding-bottom: 3rem; margin-top: var(--header-height); overflow-y: auto; .content { width: 100%; & .tips_box { width: 100%; text-align: center; color: #fff; font-size: 1rem; span { color: var(--primaryColor); } } } .desc_box { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; color: var(--textColor); text-align: center; // line-height: 1rem; font-size: 1rem; white-space: pre-line; > span:first-child { color: var(--primaryColor); font-size: 1.5rem; font-weight: 700; line-height: 1.8rem; text-align: center; text-transform: uppercase; } .step_1 { position: relative; width: 100%; height: 11rem; .child { position: absolute; width: 11rem; top: 50%; left: 50%; transform: translate(-50%, -50%); } button { width: 10rem; height: 2.5rem; color: #fff; background: var(--buttonColor); border-radius: 2rem; font-weight: 700; font-size: 1.2rem; } } .lbl_step { color: var(--primaryColor); font-size: 1.2rem; font-weight: 700; line-height: 1.5rem; text-transform: uppercase; } .svg { width: 2.7rem; height: 1.7rem; } .step_img { width: 11rem; } .step_space { margin-top: 2rem; } .checkin_box { width: 22rem; height: 4rem; border-radius: 0 0.4rem 0.4rem 0; display: flex; align-items: center; position: relative; margin-left: 1rem; margin-bottom: 1rem; > img:nth-of-type(1) { width: 4.7rem; aspect-ratio: 64/55.17; overflow: visible; position: absolute; left: -3rem; z-index: 1; } .bg { position: absolute; inset: 0; z-index: 0; } .days { width: 100%; display: flex; height: 75%; margin-left: 2rem; gap: 0.8rem; display: flex; flex-direction: row; z-index: 1; .item { display: flex; flex-direction: column; justify-content: space-between; font-size: 1rem; > span:first-of-type { color: var(--primaryColor); font-size: 1rem; font-weight: 400; } } } } .bet_box { display: flex; flex-direction: column; text-align: left; font-size: 0.88rem; position: relative; border-radius: 0.4rem; margin-bottom: 3rem; line-height: normal; > img { height: 8rem; position: absolute; z-index: 0; } span { padding-top: 0.5rem; padding: 0.5rem 1rem; z-index: 1; } } } .ps_box { width: 100%; background-color: var(--popupBgColor); //var(--darkColor); padding: 1rem; display: flex; border-radius: 0.4rem; flex-direction: column; > span { color: var(--textColor); } > p { margin-top: 1.5rem; > span { font-weight: 600; } } } .reward_tips { text-align: center; font-size: 0.88rem; line-height: 1rem; padding-bottom: 0.5rem; } .reward_box { width: 100%; border-radius: 0.735rem; background: var(--popupBgColor); // var(--darkColor1); margin-top: 1rem; padding: 1rem; color: var(--textColor); line-height: 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; .title { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 700; letter-spacing: -0.05rem; > span { color: var(--primaryColor); } > button { width: 9rem; height: 2.5rem; border-radius: var(--border-radius); background: var(--primaryColor); //var(--buttonColor); color: var(--inputBgColor); // var(--textColor); font-weight: 700; &:disabled { background: var(--textGrayColor); color: #fff; } } } } .reward_done { color: var(--textGrayColor); position: relative; min-height: 10rem; .done_flag { position: absolute; width: 4rem; height: 4rem; top: 5rem; right: 1rem; } } } .space_line { margin-top: 1rem; } .ul_box { list-style: none; list-style: disc; list-style-position: outside; padding-left: 1rem; // list-style-position: inside; } .money { color: var(--warningColor); } .choose_tips { font-size: 0.85rem; font-weight: normal; color: var(--textGrayColor); } .container2 { width: 100%; // height: 100%; // 主容器背景色:贴合应用深色主题 background-color: #0a1410; display: flex; justify-content: flex-start; align-items: center; flex-direction: column; .fixedArea { width: 100%; position: relative; img { width: 100%; } .title { color: #fff; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 600; line-height: normal; position: absolute; top: 1.03rem; left: 50%; transform: translateX(-50%); } .price { position: absolute; top: 7.7rem; left: 50%; transform: translateX(-50%); span { // text-shadow: 0 1.783px 0 rgba(0, 0, 0, 0.45); font-family: Inter; font-size: 2.20588rem; font-style: normal; font-weight: 900; line-height: normal; // letter-spacing: -0.11029rem; background: linear-gradient( 179deg, #fec412 20.1%, #fe871c 46.83%, #fffb23 78.17% ); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } } .cdContainer { position: absolute; // width: 100%; height: auto; top: 11.2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.29rem; .cdTitle { color: #fff; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 600; line-height: normal; } .countdown { display: flex; align-items: center; justify-content: center; .cdBg { width: 3.38rem; height: 2.2rem; background-image: url("../../assets/firstPay/cdBg.png"); background-repeat: no-repeat; background-size: contain; background-position: center; color: #fff; text-align: center; font-family: Inter; font-size: 1.43382rem; font-style: normal; font-weight: 600; line-height: 2.3rem; } span { color: #fff; font-family: Inter; font-size: 1.47059rem; font-style: normal; font-weight: 700; line-height: 2.2rem; margin: 0 0.29rem; } } } } .scrollArea { width: 100%; // overflow-y: scroll; // overflow-x: hidden; padding: 1.1rem; gap: 1.1rem; display: flex; align-items: center; justify-content: flex-start; flex-direction: column; .balanceDisplay { width: 100%; display: flex; align-items: center; justify-content: space-between; .received { width: 11.9rem; height: 3.97rem; background-image: url("../../assets/firstPay/balanceBg1.png"); background-repeat: no-repeat; background-size: contain; background-position: center; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.37rem; border-radius: 0.36765rem; .type { color: #fff; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .balance { color: #fff; text-align: center; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 700; line-height: normal; } } .locked { width: 11.9rem; height: 3.97rem; background-image: url("../../assets/firstPay/balanceBg2.png"); background-repeat: no-repeat; background-size: contain; background-position: center; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.37rem; border-radius: 0.36765rem; .type { color: #d5dceb; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .balance { color: #b1bad3; text-align: center; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 700; line-height: normal; } } } .checkIn { width: 100%; background-color: #15281f; padding: 0.74rem; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 1.1rem; border-radius: 0.36765rem; .title { width: 100%; display: flex; justify-content: space-between; align-items: center; .left { .icon { width: 0.88235rem; height: 0.88235rem; } span { color: #fff; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 500; line-height: normal; text-transform: capitalize; margin-left: 0.29rem; } } .right { color: #d5dceb; text-align: right; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } } .items { width: 100%; // display: flex; // justify-content: center; // align-items: center; display: grid; grid-template-columns: repeat(3, 1fr); /* 4列 */ grid-template-rows: repeat(2, 1fr); /* 2行 */ gap: 0.44rem; width: fit-content; position: relative; .item { width: 7.64rem; height: 5.22rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.44118rem; border-radius: 0.36765rem; border: 1px solid rgba(255, 255, 255, 0.2); // 单日签到卡:深绿表面 background: var(--bg03, #122a1c); margin: 0 auto; position: relative; .day { color: #fff; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .gold { width: 1.47059rem; height: 1.47059rem; } .balance { color: #fec813; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .signInCheck { position: absolute; width: 5.8rem; // height: 5.22rem; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 7.8rem; } .signInMax { position: absolute; width: 5.637rem; height: 5.22rem; top: 0; left: 0; } } .collecting { border-radius: 0.36765rem; // 当前可领取:主题绿描边+辉光 border: 1px solid #3bc117; background: linear-gradient( 131deg, rgba(59, 193, 23, 0.25) 1.96%, rgba(59, 193, 23, 0) 95.04% ), #0f1f17; } } .claimBtn { width: 100%; height: 2.72rem; border-radius: 0.36765rem; // 默认(不可领)灰色;可领时由 .canClaim 覆盖为主题绿 background-color: #2a3a31; color: #fff; text-align: center; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 600; line-height: 2.72rem; } .canClaim { background: linear-gradient(135deg, #1d803a 0%, #3bc117 100%); color: #0a1410; } } .betBox { width: 100%; background-color: #15281f; padding: 0.74rem; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 1.1rem; border-radius: 0.36765rem; .title { width: 100%; display: flex; justify-content: space-between; align-items: center; .left { display: flex; align-items: center; padding: 0.29rem 0; .icon { width: 0.88235rem; height: 0.88235rem; } span { color: #fff; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 500; line-height: normal; text-transform: capitalize; margin-left: 0.29rem; color: #fafafa; font-size: 0.73529rem; white-space: nowrap; } } .right { color: #0d1016; text-align: right; font-family: Inter; font-size: 0.58824rem; font-style: normal; font-weight: 400; line-height: normal; display: flex; padding: 0.14706rem; justify-content: center; align-items: center; border-radius: 7.35294rem; // VIP/标签底色:金色保留以做强调 background: #ffc700; white-space: nowrap; } } .items { width: 100%; display: flex; justify-content: space-around; align-items: center; // display: grid; // grid-template-columns: repeat(4, 1fr); /* 4列 */ // grid-template-rows: repeat(2, 1fr); /* 2行 */ gap: 0.44rem; position: relative; .item { width: 11.58rem; height: 2.867rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.29rem; white-space: nowrap; border-radius: 0.36765rem; border: 1px solid rgba(255, 255, 255, 0.2); background: #0f1f17; .type { color: #d5dceb; text-align: center; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; text-transform: capitalize; } .balance { color: #fff; text-align: center; font-family: Inter; font-size: 0.88235rem; font-style: normal; font-weight: 700; line-height: normal; } } .receive { .balance { color: #fec813; } } } .progress { width: 100%; height: 5.367rem; padding: 0.37rem; display: flex; justify-content: flex-start; align-items: center; flex-direction: column; gap: 0.74rem; border-radius: 0.36765rem; background: #0f1f17; height: 4.044rem; .currentBets { width: 100%; display: flex; justify-content: space-between; align-items: center; .bets { color: #fff; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .percent { color: #d5dceb; text-align: right; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } } .progressBg { width: 100%; height: 0.59rem; // 进度条底色:与主题深绿保持一致 background-color: #0a1a12; border-radius: 7.35294rem; .progressBar { height: 0.59rem; border-radius: 7.35294rem; // 进度条主色:主题绿 background: linear-gradient(90deg, #1d803a 0%, #3bc117 100%); } } .currentRedemption { width: 100%; display: flex; justify-content: space-between; align-items: center; .redemption { color: #fff; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .convertBtn { width: 4.7rem; height: 1.69rem; border-radius: 0.36765rem; background: #2a3a31; color: #fff; text-align: center; font-family: Inter; font-size: 0.88235rem; font-style: normal; font-weight: 500; line-height: 1.69rem; } .canConvert { background: linear-gradient(135deg, #1d803a 0%, #3bc117 100%); color: #0a1410; } } } } .turnoverBox { width: 100%; background-color: #15281f; padding: 0.74rem; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 1.1rem; border-radius: 0.36765rem; .title { width: 100%; display: flex; justify-content: space-between; align-items: center; .left { display: flex; align-items: center; padding: 0.29rem 0; .icon { width: 0.88235rem; height: 0.88235rem; } span { color: #fff; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 500; line-height: normal; text-transform: capitalize; margin-left: 0.29rem; color: #fafafa; font-size: 0.73529rem; } } .right { color: #fff; text-align: right; font-family: Inter; font-size: 0.58824rem; font-style: normal; font-weight: 400; line-height: normal; display: flex; padding: 0.14706rem; justify-content: center; align-items: center; border-radius: 7.35294rem; background: #3bc117; } } .progressBg { width: 100%; height: 0.59rem; background-color: #0a1a12; border-radius: 7.35294rem; .progressBar { height: 0.59rem; border-radius: 7.35294rem; background: linear-gradient(90deg, #1d803a 0%, #3bc117 100%); } } .currentBets { width: 100%; display: flex; justify-content: space-between; align-items: center; .bets { color: #d5dceb; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } .targetRevenue { color: #d5dceb; text-align: right; font-family: Inter; font-size: 0.73529rem; font-style: normal; font-weight: 500; line-height: normal; } } .reachTarget { width: 100%; height: 4.63rem; padding: 1.1rem; display: flex; justify-content: space-between; align-items: center; border-radius: 0.36765rem; background: #0f1f17; .left { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 0.29rem; .title { color: #d5dceb; font-family: Inter; font-size: 0.58824rem; font-style: normal; font-weight: 500; line-height: 0.735rem; } .balance { color: #fff; font-family: Inter; font-size: 1.17647rem; font-style: normal; font-weight: 700; line-height: normal; } } .collect { color: #fff; font-family: Inter; font-size: 1.02941rem; font-style: normal; font-weight: 500; line-height: 1.838rem; border-radius: 0.36765rem; background: #2a3a31; width: 4.632rem; height: 1.838rem; text-align: center; } .canCollect { background: linear-gradient(135deg, #1d803a 0%, #3bc117 100%); color: #0a1410; } } } } }