mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
fix
This commit is contained in:
parent
baf87473a4
commit
02dad3c462
|
|
@ -26,8 +26,7 @@ export const BillSchema = z.object({
|
|||
standSubLevel: z.enum(StandardSubLevelEnum).optional().meta({ description: '订阅等级' }),
|
||||
month: z.number().optional().meta({ description: '月数' }),
|
||||
datasetSize: z.number().optional().meta({ description: '数据集大小' }),
|
||||
extraPoints: z.number().optional().meta({ description: '额外积分' }),
|
||||
activityBonusPoints: z.number().optional().meta({ description: '活动赠送积分' })
|
||||
extraPoints: z.number().optional().meta({ description: '额外积分' })
|
||||
})
|
||||
.meta({ description: '元数据' }),
|
||||
refundData: z
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ export type PointsPackageItem = {
|
|||
month: number;
|
||||
price: number;
|
||||
activityBonusPoints?: number;
|
||||
activityExpirationTime?: string;
|
||||
};
|
||||
|
||||
export type SubPlanType = {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ import {
|
|||
ModalCloseButton
|
||||
} from '@chakra-ui/react';
|
||||
|
||||
// LocalStorage key for tracking closed ads
|
||||
const CLOSED_AD_KEY = 'activity_ad_closed';
|
||||
const CLOSED_AD_DURATION = 24 * 60 * 60 * 1000; // 24 hours
|
||||
|
||||
|
|
|
|||
|
|
@ -84,15 +84,10 @@ const StandardPlanContentList = ({
|
|||
<Flex alignItems={'center'}>
|
||||
{planContent.annualBonusPoints ? (
|
||||
<>
|
||||
<Text
|
||||
fontWeight={'medium'}
|
||||
color={'myGray.600'}
|
||||
textDecoration={'line-through'}
|
||||
mr={1}
|
||||
>
|
||||
<Text fontWeight={'bold'} color={'myGray.600'} textDecoration={'line-through'} mr={1}>
|
||||
{planContent.totalPoints}
|
||||
</Text>
|
||||
<Text fontWeight={'medium'} color={'#DF531E'}>
|
||||
<Text fontWeight={'bold'} color={'#DF531E'}>
|
||||
{planContent.totalPoints + planContent.annualBonusPoints}
|
||||
</Text>
|
||||
<Text color={'myGray.600'} ml={1}>
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ const ExtraPlan = ({ onPaySuccess }: { onPaySuccess?: () => void }) => {
|
|||
left={'36%'}
|
||||
width={'55px'}
|
||||
height={'64px'}
|
||||
zIndex={1111}
|
||||
zIndex={0}
|
||||
bgImage={'url(/imgs/system/extraSnowflake1.svg)'}
|
||||
backgroundSize="100% 100%"
|
||||
backgroundRepeat="no-repeat"
|
||||
|
|
|
|||
Loading…
Reference in New Issue