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