This commit is contained in:
imeepos
2026-01-28 15:57:40 +08:00
parent 7d73cfbc3e
commit efd4aba8c1
12 changed files with 676 additions and 262 deletions

View File

@@ -34,6 +34,10 @@ export interface PointsDrawerProps {
* 额外充值积分
*/
topUpPoints?: number
/**
* 充值回调
*/
onRecharge?: (amount: any) => void
}
export default function PointsDrawer({
@@ -42,6 +46,7 @@ export default function PointsDrawer({
totalPoints = 0,
subscriptionPoints = 0,
topUpPoints = 0,
onRecharge,
}: PointsDrawerProps) {
const { t } = useTranslation()
const insets = useSafeAreaInsets()