This commit is contained in:
archer
2023-06-11 19:18:40 +08:00
parent 6b6da76ac1
commit 623018f408
25 changed files with 236 additions and 162 deletions

View File

@@ -158,11 +158,11 @@ const PcSliderBar = ({
cursor={'pointer'}
transition={'background-color .2s ease-in'}
_hover={{
backgroundImage: ['', theme.active.hoverBlueGradient]
backgroundImage: ['', theme.lgColor.hoverBlueGradient]
}}
{...(item._id === chatId
? {
backgroundImage: `${theme.active.activeBlueGradient}`
backgroundImage: `${theme.lgColor.activeBlueGradient}`
}
: {
bg: item.top ? 'myGray.200' : ''

View File

@@ -78,7 +78,7 @@ const PhoneSliderBar = ({
{/* 新对话 */}
<Button
w={'50%'}
variant={'outline'}
variant={'base'}
colorScheme={'white'}
mb={2}
leftIcon={<AddIcon />}

View File

@@ -749,7 +749,7 @@ const Chat = ({ modelId, chatId }: { modelId: string; chatId: string }) => {
size={'xs'}
fontWeight={'normal'}
colorScheme={'gray'}
variant={'outline'}
variant={'base'}
px={[2, 4]}
onClick={() => setShowSystemPrompt(item.systemPrompt || '')}
>
@@ -762,7 +762,7 @@ const Chat = ({ modelId, chatId }: { modelId: string; chatId: string }) => {
size={'xs'}
fontWeight={'normal'}
colorScheme={'gray'}
variant={'outline'}
variant={'base'}
px={[2, 4]}
onClick={() => setShowHistoryQuote(item._id)}
>

View File

@@ -828,7 +828,7 @@ const Chat = ({ shareId, historyId }: { shareId: string; historyId: string }) =>
</Flex>
</ModalBody>
<ModalFooter>
<Button variant={'outline'} mr={3} onClick={onClosePassword}>
<Button variant={'base'} mr={3} onClick={onClosePassword}>
</Button>
<Button onClick={loadChatInfo}></Button>