|
@@ -209,7 +209,7 @@ const Page = () => {
|
|
|
(curReward.current?.cur_pay || 0) >=
|
|
|
(curReward.current?.double_pay || 0)
|
|
|
}
|
|
|
- className="!min-w-[120px] !px-[12px] !py-[6px] !text-[12px]"
|
|
|
+ className="mt-[.1rem] !min-w-[120px] !px-[12px] !py-[6px] !text-[12px]"
|
|
|
>
|
|
|
check in
|
|
|
</CustomButton>
|
|
@@ -238,7 +238,7 @@ const Page = () => {
|
|
|
})}
|
|
|
<CustomButton
|
|
|
onClick={() => multClick({ ...contentProps })}
|
|
|
- className="!min-w-[120px] !px-[12px] !py-[6px] !text-[12px]"
|
|
|
+ className="mt-[.1rem] !min-w-[120px] !px-[12px] !py-[6px] !text-[12px]"
|
|
|
>
|
|
|
{(curReward.current?.cur_pay || 0) >=
|
|
|
(curReward.current?.double_pay || 0)
|
|
@@ -325,9 +325,11 @@ const Page = () => {
|
|
|
/>
|
|
|
);
|
|
|
}
|
|
|
- if (Date.now() > data.end_time * 1000) {
|
|
|
- text = "Expired";
|
|
|
- status = "disable2";
|
|
|
+ }
|
|
|
+ if ([5, 6].includes(data.type)) {
|
|
|
+ const res = data.reward.find((item) => item.amount > 0);
|
|
|
+ if (!res) {
|
|
|
+ text = "Upgrade VIP";
|
|
|
}
|
|
|
}
|
|
|
return (
|