Explorar o código

fix: 增加停服通知

ansoni hai 5 meses
pai
achega
76c3e4f644
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 1 0
      messages/en.json
  2. 2 1
      src/app/[locale]/providers.tsx

+ 1 - 0
messages/en.json

@@ -465,6 +465,7 @@
     "deposit": "Depósito",
     "affiliated": "affiliated",
     "exports":"Esportes",
+    "promocoes": "Promoções",
     "profile": "Perfil"
   },
 

+ 2 - 1
src/app/[locale]/providers.tsx

@@ -83,6 +83,7 @@ const getStopServiceApi = () => {
             data: { renter_id: "10000" },
         })
         .then((res) => {
+            return true;
             return res.data.able ?? false;
         });
 };
@@ -99,7 +100,7 @@ const StopServiceClient = () => {
             {isSuspension && (
                 <div
                     className={
-                        "absolute left-0 right-0 top-[60px] z-10 bg-[#fff] p-[20px]" +
+                        "absolute left-0 right-0 top-[0.4rem] z-[99999] bg-[#fff] p-[20px]" +
                         " text-[14px] text-[#000]"
                     }
                 >