|
@@ -16,7 +16,12 @@ const Page = () => {
|
|
|
const total = firstTarget?.condition?.length || 0;
|
|
|
useEffect(() => {
|
|
|
getFirstPayData();
|
|
|
+ // getShopData();
|
|
|
}, []);
|
|
|
+ // const getShopData = async () => {
|
|
|
+ // const res = await getShopInfoApi({ shop_id: 1 });
|
|
|
+ // console.log(res);
|
|
|
+ // };
|
|
|
|
|
|
return (
|
|
|
<div className={"p-[0.12rem]"}>
|
|
@@ -79,10 +84,10 @@ const Page = () => {
|
|
|
" px-[10px] font-semibold"
|
|
|
}
|
|
|
>
|
|
|
- <span>Tempos de recarga atuais:</span>
|
|
|
+ <span>Número atual de recargas:</span>
|
|
|
<span className="ml-[.1rem] text-[#11de68]">
|
|
|
{(firstTarget?.count_down ?? 0 > 0)
|
|
|
- ? `${firstTarget?.current_num ? total - (firstTarget?.current_num || 0) : 0}vez`
|
|
|
+ ? `${firstTarget?.current_num ? firstTarget?.current_num : 0}vez`
|
|
|
: "O evento terminou"}
|
|
|
</span>
|
|
|
</div>
|