update pay function

This commit is contained in:
2025-11-21 23:59:31 +08:00
parent 1a845f54e9
commit c336be5cd7

View File

@@ -2,6 +2,7 @@
// Agent聊天页面 V4 - 黑金毛玻璃设计,带模型选择和工具选择
import React, { useState, useEffect, useRef } from 'react';
import { Global, css } from '@emotion/react';
import {
Box,
Flex,
@@ -699,14 +700,28 @@ const AgentChatV4 = () => {
);
return (
<Flex
w="100vw"
h="100vh"
bg={darkBg}
overflow="hidden"
position="relative"
flexDirection="row"
>
<>
{/* 全局样式:确保页面占满整个视口 */}
<Global
styles={css`
html, body, #root {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
}
`}
/>
<Flex
w="100vw"
h="100vh"
bg={darkBg}
overflow="hidden"
position="relative"
flexDirection="row"
>
<Box
position="absolute"
top="-50%"
@@ -1303,7 +1318,8 @@ const AgentChatV4 = () => {
</VStack>
</Box>
</Collapse>
</Flex>
</Flex>
</>
);
};