update pay function

This commit is contained in:
2025-11-22 07:15:03 +08:00
parent 077f8d9120
commit b9ed0f5449

View File

@@ -63,7 +63,6 @@ import { StepResultCard } from '@components/ChatBot/StepResultCard';
import { MarkdownWithCharts } from '@components/ChatBot/MarkdownWithCharts'; import { MarkdownWithCharts } from '@components/ChatBot/MarkdownWithCharts';
import { logger } from '@utils/logger'; import { logger } from '@utils/logger';
import axios from 'axios'; import axios from 'axios';
import HomeNavbar from '@components/Navbars/HomeNavbar';
/** /**
* Agent消息类型 * Agent消息类型
@@ -758,10 +757,7 @@ const AgentChatV4 = () => {
); );
return ( return (
<Box w="100%" h="100vh" bg={darkBg} display="flex" flexDirection="column"> <>
{/* 顶部导航栏 */}
<HomeNavbar />
{/* 全局样式:确保页面正确显示 */} {/* 全局样式:确保页面正确显示 */}
<Global <Global
styles={css` styles={css`
@@ -772,14 +768,14 @@ const AgentChatV4 = () => {
`} `}
/> />
{/* 主内容区域 */} {/* 主内容区域 - 使用calc减去导航栏高度避免内容被遮挡 */}
<Flex <Flex
flex="1"
w="100%" w="100%"
h="calc(100vh - 64px)" // 减去导航栏高度
bg={darkBg} bg={darkBg}
overflow="hidden"
position="relative" position="relative"
flexDirection="row" flexDirection="row"
overflow="hidden"
> >
<Box <Box
position="absolute" position="absolute"
@@ -1396,7 +1392,7 @@ const AgentChatV4 = () => {
</Box> </Box>
</Collapse> </Collapse>
</Flex> </Flex>
</Box> </>
); );
}; };