update pay function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user