import { Wallet } from "@/api/user";
import { percentage } from "@/utils/methods";
import { ProgressBar } from "antd-mobile";
import { useTranslations } from "next-intl";
const Progress = (props: { percent: number }) => {
const { percent } = props;
return (
);
};
export const WalletContent = (props: {
percentage: number;
type: string;
difference: number;
current: number;
}) => {
const { percentage, type, difference, current } = props;
const t = useTranslations("ProfilePage");
return (
{type}
R$
{current}
{t("modalBottomTips")}
{difference.toFixed(2)}
);
};
// 现金
export const BalanceContent = (props: { wallet: Wallet }) => {
const { wallet } = props;
const t = useTranslations("ProfilePage");
return (
<>
>
);
};
export const BonusContent = (props: { wallet: Wallet; handleAcquire?: any }) => {
const { wallet, handleAcquire } = props;
const t = useTranslations("ProfilePage");
return (
);
};
export const FreeContent = (props: { wallet: Wallet; handleAcquire?: any }) => {
const { wallet, handleAcquire } = props;
const t = useTranslations("ProfilePage");
return (
);
};
export const ReplayContent = (props: { wallet: Wallet; handleAcquire?: any }) => {
const { wallet, handleAcquire } = props;
const t = useTranslations("ProfilePage");
return (
);
};
// const WalletDescribeModal = () => {
// const [tipsStatus, setTipsStatus] = useState("Bonus");
// const tipsRef = useRef(null);
// const wallet: any = {};
// const t = useTranslations("ProfilePage");
//
// return (
//
//
// {t("modalTitle")}
//
// }
// >
// {/*现金*/}
// {tipsStatus === WalletEnum.Balance ? : null}
// {/* 彩金*/}
// {tipsStatus === WalletEnum.Bonus ? : null}
// {/* 免费币 */}
// {tipsStatus === WalletEnum.Free ? : null}
// {/* 重玩币 */}
// {tipsStatus === WalletEnum.Replay ? : null}
//
// );
// };
// export default WalletDescribeModal;