Преглед на файлове

fix: 6038 【bcwin网站】超过活动时间范围的红包雨,未实时刷新隐藏

Before преди 7 месеца
родител
ревизия
71a0c3cc06

+ 14 - 14
messages/br.json

@@ -328,21 +328,21 @@
   },
   "cashback": {
     "cashbackTitle": "Cashback",
-    "weekCashback": "Your Weekly Cashback",
-    "weekTips": "You'll win",
-    "weekAfterTips": "BRL in cashback playing this week.",
-    "afterTips": "Time of claim",
-    "beforeTips": "Period",
+    "weekCashback": "Seu Cashback de Semanal",
+    "weekTips": "Você ganhará ",
+    "weekAfterTips": " BRL em cashback jogando esta semana.",
+    "afterTips": "Tempo de reivindicação",
+    "beforeTips": "Periodo",
     "cashbackStatus": "VIP cashback statuses",
-    "receiveButton": "Require Now",
-    "rules": "TERMS AND RULES",
-    "rulesFirst": "1. The weekly cashback is given as a reward every week.",
-    "rulesSecond": "2. The period for which weekly cashback is calculated goes from Monday to Sunday at 11:59 p.m.",
-    "rulesThird": "3. Cashback application time: From Monday next week 06:00 to Friday 23:59, expires if not rescued",
-    "rulesFourth": "4. The number of real money losses multiplied by the % of reimbursement is the reimbursement/cashback of the week.",
-    "rulesFifth": "5. If you have not bet during the period in which the cashback was active or if your earnings of the last week or total earnings are greater than your losses, you will not receive cashback.",
-    "rulesSixth": "6. Cashback maximum per person per week: R$ 10000",
-    "rulesSeventh": "7. Cashback value can be extracted directly or used to continue playing"
+    "receiveButton": "Reivindicar Agora",
+    "rules": "TERMOS E REGRAS",
+    "rulesFirst": "0 cashback semanal é dado como recompensa todas as semanas",
+    "rulesSecond": "0 período sobre o qual é calculado o cashback semanal vai de segunda-feira às 00:00 a domingo às 23:59.",
+    "rulesThird": "Horário de solicitação do cashback: De segunda-feira da próxima semana 06:00 a sexta-feira 23:59, expirará se não for resgatado.",
+    "rulesFourth": "0 número de Perdas de dinheiro real multiplicado pela % de reembolso é o reembolso/cashback da semana.",
+    "rulesFifth": "Caso você não tenha apostado durante o período em que o cashback estava ativo ou se seus ganhos da última semana ou ganhos totais são maiores que suas perdas, você não receberá cashback.",
+    "rulesSixth": "Limite máximo de recompensa de cashback por pessoa por semana:RS 10000",
+    "rulesSeventh": "0 valor do cashback pode ser sacar diretamente ou utilizado para continuar jogando"
   },
   "packetsPopup": {
     "title": "Chuva de dinheiro",

+ 7 - 7
messages/en.json

@@ -335,13 +335,13 @@
     "cashbackStatus": "VIP cashback statuses",
     "receiveButton": "Require Now",
     "rules": "TERMS AND RULES",
-    "rulesFirst": "1. The weekly cashback is given as a reward every week.",
-    "rulesSecond": "2. The period for which weekly cashback is calculated goes from Monday to Sunday at 11:59 p.m.",
-    "rulesThird": "3. Cashback application time: From Monday next week 06:00 to Friday 23:59, expires if not rescued",
-    "rulesFourth": "4. The number of real money losses multiplied by the % of reimbursement is the reimbursement/cashback of the week.",
-    "rulesFifth": "5. If you have not bet during the period in which the cashback was active or if your earnings of the last week or total earnings are greater than your losses, you will not receive cashback.",
-    "rulesSixth": "6. Cashback maximum per person per week: R$ 10000",
-    "rulesSeventh": "7. Cashback value can be extracted directly or used to continue playing"
+    "rulesFirst": "The weekly cashback is given as a reward every week.",
+    "rulesSecond": "The period for which weekly cashback is calculated goes from Monday to Sunday at 11:59 p.m.",
+    "rulesThird": "Cashback application time: From Monday next week 06:00 to Friday 23:59, expires if not rescued",
+    "rulesFourth": "The number of real money losses multiplied by the % of reimbursement is the reimbursement/cashback of the week.",
+    "rulesFifth": "If you have not bet during the period in which the cashback was active or if your earnings of the last week or total earnings are greater than your losses, you will not receive cashback.",
+    "rulesSixth": "Cashback maximum per person per week: R$ 10000",
+    "rulesSeventh": "Cashback value can be extracted directly or used to continue playing"
   },
   "packetsPopup": {
     "title": "Money rain",

+ 1 - 1
src/app/[locale]/(TabBar)/[[...share]]/@actionWidget/Service.tsx

@@ -87,7 +87,7 @@ const ServiceWidget: FC<Props> = (props) => {
     };
     // 红包雨轮询
     const { data: packets, run } = useRequest<any[], any>(getRedPacketInfo, {
-        pollingInterval: 180000,
+        pollingInterval: 5000,
         pollingErrorRetryCount: 1,
         pollingWhenHidden: false,
     });

+ 2 - 2
src/app/[locale]/(navbar)/cashback/@cashbackInfo/Week.tsx

@@ -16,7 +16,7 @@ const Week = (props: Props) => {
         <Box className={"rounded-[0_0_20px_20px] bg-gradient-to-b from-[#fffed5] to-[#fffffe]"}>
             <div className={"flex"}>
                 <div className={"flex-1"}>
-                    <h1 className={"text-[0.18rem] font-black text-[#fb8910]"}>
+                    <h1 className={"text-[0.16rem] font-black text-[#fb8910]"}>
                         {t("weekCashback")}
                     </h1>
                     <p className={"text-[0.12rem]"}>
@@ -32,7 +32,7 @@ const Week = (props: Props) => {
                         height={100}
                         width={100}
                         alt="cashback"
-                        className={"ml-[0.08rem] w-[1.3rem]"}
+                        className={"ml-[0.08rem] w-[1.1rem]"}
                     />
                 </div>
             </div>

+ 1 - 1
src/app/[locale]/(navbar)/cashback/@cashbackInfo/components/Extract.tsx

@@ -50,7 +50,7 @@ const Extract = (props: Props) => {
                     <div className={`${styles.timelineMarker} before:bg-[#fbc110]`}></div>
                     <div className={styles.timelineContent}>
                         <span className={"text-[0.12rem] text-[#6c6c6c]"}>
-                            {timeFormat(cashbackInfo.last_period.start_time, local)} ~
+                            {timeFormat(cashbackInfo.last_period.start_time, local)} ~{" "}
                             {timeFormat(cashbackInfo.last_period.end_time, local)}
                         </span>
                     </div>

+ 5 - 1
src/app/[locale]/(navbar)/cashback/page.tsx

@@ -5,7 +5,11 @@ const page = async () => {
     return (
         <div className={"mt-[0.0694rem]"}>
             <h1 className={"font-bold text-primary-color"}>{t("rules")}</h1>
-            <ul className={"text-[0.11rem] leading-[0.18rem] text-[#fff]"}>
+            <ul
+                className={
+                    "list-decimal pl-[0.1389rem] text-[0.11rem] leading-[0.18rem] text-[#fff]"
+                }
+            >
                 <li>{t("rulesFirst")} </li>
                 <li>{t("rulesSecond")}</li>
                 <li>{t("rulesThird")}</li>