update pay function
This commit is contained in:
@@ -1,40 +1,9 @@
|
|||||||
import {
|
|
||||||
Flex,
|
|
||||||
Container,
|
|
||||||
Breadcrumb,
|
|
||||||
BreadcrumbItem,
|
|
||||||
BreadcrumbLink,
|
|
||||||
Text
|
|
||||||
} from '@chakra-ui/react';
|
|
||||||
import { ChevronRightIcon } from '@chakra-ui/icons';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import SubscriptionContentNew from 'components/Subscription/SubscriptionContentNew';
|
import SubscriptionContentNew from 'components/Subscription/SubscriptionContentNew';
|
||||||
|
|
||||||
function Subscription() {
|
function Subscription() {
|
||||||
return (
|
return (
|
||||||
<Flex direction='column' bg='#0a0a0a' minH='100vh'>
|
<SubscriptionContentNew />
|
||||||
<Container maxW="container.xl" px={{ base: 4, md: 6 }} py={{ base: 4, md: 6 }}>
|
|
||||||
{/* 面包屑导航 */}
|
|
||||||
<Breadcrumb
|
|
||||||
spacing='8px'
|
|
||||||
separator={<ChevronRightIcon color='gray.500' />}
|
|
||||||
mb={6}
|
|
||||||
fontSize='sm'
|
|
||||||
>
|
|
||||||
<BreadcrumbItem>
|
|
||||||
<BreadcrumbLink href='/home' color='gray.400' _hover={{ color: '#D4AF37' }}>首页</BreadcrumbLink>
|
|
||||||
</BreadcrumbItem>
|
|
||||||
<BreadcrumbItem>
|
|
||||||
<BreadcrumbLink href='/home/pages/account' color='gray.400' _hover={{ color: '#D4AF37' }}>个人中心</BreadcrumbLink>
|
|
||||||
</BreadcrumbItem>
|
|
||||||
<BreadcrumbItem isCurrentPage>
|
|
||||||
<Text color='#D4AF37'>订阅管理</Text>
|
|
||||||
</BreadcrumbItem>
|
|
||||||
</Breadcrumb>
|
|
||||||
|
|
||||||
<SubscriptionContentNew />
|
|
||||||
</Container>
|
|
||||||
</Flex>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export const subscriptionConfig = {
|
|||||||
discountPercent: 0,
|
discountPercent: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
cycleKey: '3months',
|
cycleKey: 'quarterly',
|
||||||
label: '季付',
|
label: '季付',
|
||||||
months: 3,
|
months: 3,
|
||||||
price: 799,
|
price: 799,
|
||||||
@@ -51,7 +51,7 @@ export const subscriptionConfig = {
|
|||||||
discountPercent: 11,
|
discountPercent: 11,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
cycleKey: '6months',
|
cycleKey: 'semiannual',
|
||||||
label: '半年付',
|
label: '半年付',
|
||||||
months: 6,
|
months: 6,
|
||||||
price: 1499,
|
price: 1499,
|
||||||
@@ -104,7 +104,7 @@ export const subscriptionConfig = {
|
|||||||
discountPercent: 0,
|
discountPercent: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
cycleKey: '3months',
|
cycleKey: 'quarterly',
|
||||||
label: '季付',
|
label: '季付',
|
||||||
months: 3,
|
months: 3,
|
||||||
price: 1599,
|
price: 1599,
|
||||||
@@ -112,7 +112,7 @@ export const subscriptionConfig = {
|
|||||||
discountPercent: 11,
|
discountPercent: 11,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
cycleKey: '6months',
|
cycleKey: 'semiannual',
|
||||||
label: '半年付',
|
label: '半年付',
|
||||||
months: 6,
|
months: 6,
|
||||||
price: 2999,
|
price: 2999,
|
||||||
|
|||||||
Reference in New Issue
Block a user