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