update pay function

This commit is contained in:
2025-11-20 08:02:34 +08:00
parent 27cdf0aecd
commit d5a55c4e02
2 changed files with 10 additions and 7 deletions

View File

@@ -634,11 +634,14 @@ export default function SubscriptionContentNew() {
<Text color="white" fontSize="lg" fontWeight="bold">
: {user.subscription_type === 'max' ? 'Max 旗舰版' : 'Pro 专业版'}
</Text>
<Text color="rgba(255, 255, 255, 0.6)" fontSize="xs">
{user.billing_cycle === 'monthly' ? '月付' :
user.billing_cycle === 'quarterly' ? '付' :
user.billing_cycle === 'semiannual' ? '半年付' : '年付'}
</Text>
{user.billing_cycle && (
<Text color="rgba(255, 255, 255, 0.6)" fontSize="xs">
{user.billing_cycle === 'monthly' ? '付' :
user.billing_cycle === 'quarterly' ? '付' :
user.billing_cycle === 'semiannual' ? '半年付' :
user.billing_cycle === 'yearly' ? '年付' : user.billing_cycle}
</Text>
)}
</VStack>
</HStack>
<Badge