瀏覽代碼

Merge branch 'feature-year0506' of bcwin/site_front into v1.4

year 2 月之前
父節點
當前提交
e7e3877dfa
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 4 4
      src/app/[locale]/(TabBar)/promo/style.module.scss
  2. 1 1
      src/components/Footer/index.tsx

+ 4 - 4
src/app/[locale]/(TabBar)/promo/style.module.scss

@@ -309,8 +309,8 @@
     }
     .categoryItemNum {
         position: absolute;
-        right: 0.05rem;
-        top: 0.05rem;
+        right: 0;
+        top: 0;
         background: #ff0000;
         width: 0.17rem;
         height: 0.17rem;
@@ -327,8 +327,8 @@
     position: relative;
     .promoItemNum {
         position: absolute;
-        left: 0.2rem;
-        top: 0.2rem;
+        left: 0.13rem;
+        top: 0.1rem;
         background: #ff0000;
         width: 0.1rem;
         height: 0.1rem;

+ 1 - 1
src/components/Footer/index.tsx

@@ -185,7 +185,7 @@ const Footer: FC = () => {
                                         </Badge>
                                     )}
                                     {index == 3 && !!promotion_count && (
-                                        <div className="absolute -top-[0px] right-[4px] flex h-[.16rem] w-[.16rem] items-center justify-center rounded-[50%] bg-[#ff0000] text-[.1rem] text-[#fff]">
+                                        <div className="absolute -top-[0px] right-[18px] flex h-[.16rem] w-[.16rem] items-center justify-center rounded-[50%] bg-[#ff0000] text-[.1rem] text-[#fff]">
                                             {promotion_count > 99 ? `99+` : promotion_count}
                                         </div>
                                     )}