perf: plan tip (#2513)

This commit is contained in:
Archer
2024-08-26 10:43:52 +08:00
committed by GitHub
parent c1d08c0ccc
commit 22a0f6bcfa
6 changed files with 43 additions and 22 deletions

View File

@@ -9,7 +9,9 @@ import {
Th,
Td,
TableContainer,
ModalCloseButton
ModalCloseButton,
HStack,
Box
} from '@chakra-ui/react';
import MyModal from '@fastgpt/web/components/common/MyModal';
import { useTranslation } from 'next-i18next';
@@ -45,7 +47,7 @@ const StandDetailModal = ({ onClose }: { onClose: () => void }) => {
<Th>{t('common:support.standard.type')}</Th>
<Th>{t('common:support.standard.storage')}</Th>
<Th>{t('common:support.standard.AI Bonus Points')}</Th>
<Th>{t('common:support.standard.Start Time')}</Th>
<Th>{t('user:bill.valid_time')}</Th>
<Th>{t('common:support.standard.Expired Time')}</Th>
</Tr>
</Thead>
@@ -98,6 +100,10 @@ const StandDetailModal = ({ onClose }: { onClose: () => void }) => {
</Table>
<Loading loading={isLoading} fixed={false} />
</TableContainer>
<HStack mt={4} color={'primary.600'}>
<MyIcon name={'infoRounded'} w={'1rem'} />
<Box fontSize={'sm'}>{t('user:bill.standard_valid_tip')}</Box>
</HStack>
</ModalBody>
<ModalFooter></ModalFooter>
</MyModal>