Bladeren bron

feat: 修改

year 1 maand geleden
bovenliggende
commit
7b05a7bb3f

+ 3 - 2
src/app/[locale]/(navbar)/gameList2/page.module.scss

@@ -16,11 +16,12 @@
         .rightBox {
             display: grid;
             grid-template-columns: repeat(3, auto);
-            grid-gap: 0.1rem;
+            grid-gap: 5px;
         }
     }
     .gameCard {
-        height: 1.1rem !important;
+        // aspect-ratio: 149/234;
+        height: 1.2rem !important;
         :global(.adm-image) {
             height: 100% !important;
         }

+ 1 - 0
src/app/[locale]/(navbar)/vip/page.module.scss

@@ -34,6 +34,7 @@
     display: flex;
     flex-direction: column;
     align-items: center;
+    position: relative;
 }
 .claimBtn {
     background: #1d8951;

+ 8 - 0
src/app/[locale]/(navbar)/vip/reward.tsx

@@ -63,6 +63,14 @@ const RewardBox: React.FC<Props> = ({ cashbackInfo, data }) => {
                 <div className={styles.rewardItem}>
                     <div>VIP Cashback {currentGrade?.cashback}%</div>
                     <img className="my-[.1rem] w-[100%]" src="/vip/gift.webp" alt="" />
+                    <div
+                        onClick={() => {
+                            router.push("/affiliate");
+                        }}
+                        className="absolute right-[.05rem] top-[.3rem] flex h-[.24rem] w-[.24rem] items-center justify-center rounded-[50%] bg-[#fff] text-[.18rem] font-bold text-[#000]"
+                    >
+                        ?
+                    </div>
                     <div
                         className={clsx(styles.claimBtn, {
                             [styles.disabled]: