历史会话

main
wangyunfei 1 day ago
parent 30e430deb4
commit 02aa1993f7

@ -354,21 +354,19 @@ function ChatConversation() {
</div> </div>
{/* 模型切换 */} {/* 模型切换 */}
<div {/* <Select
defaultValue="智能定性" defaultValue="智能定性"
// icon={<RobotOutlined />}
style={{ style={{
minWidth: 120, maxWidth: 200, marginRight: 8 minWidth: 120, maxWidth: 200, marginRight: 8
}} }}
// onchange={handleChange} onchange={handleChange}
// options={[ options={[
// { value: "智能定性", label: "智能定性" }, { value: "智能定性", label: "智能定性" },
// // { value: "GPT-5 mini", label: "GPT-5 mini" }, // { value: "GPT-5 mini", label: "GPT-5 mini" },
// // { value: "Claude Sonnet 4", label: "Claude Sonnet 4" }, // { value: "Claude Sonnet 4", label: "Claude Sonnet 4" },
// // { value: "Kimi Senior", label: "Kimi Senior" }, // { value: "Kimi Senior", label: "Kimi Senior" },
// ]} ]}>
> </Select> */}
</div>
{/* 上传文件 */} {/* 上传文件 */}
<Upload className='ds-uploading'> <Upload className='ds-uploading'>

@ -204,7 +204,6 @@ const TopNavBar = (props) => {
<Col xs={12} sm={12} md={12} lg={12} xl={12} className={styles.tabBarLeft}> <Col xs={12} sm={12} md={12} lg={12} xl={12} className={styles.tabBarLeft}>
{/* <img src={Logo} alt='logo' className={styles.leftLogo} /> */} {/* <img src={Logo} alt='logo' className={styles.leftLogo} /> */}
<div style={{ fontSize: '1.2em', color: 'white', fontWeight: 'bold' }}>AI文档审阅系统</div> <div style={{ fontSize: '1.2em', color: 'white', fontWeight: 'bold' }}>AI文档审阅系统</div>
{/* <Menu mode='horizontal' className={styles.leftMenu} selectedKeys={[activeKey]} items={menuItems} onClick={value => setRouteActive(value)} /> */} {/* <Menu mode='horizontal' className={styles.leftMenu} selectedKeys={[activeKey]} items={menuItems} onClick={value => setRouteActive(value)} /> */}
</Col> </Col>
@ -228,7 +227,10 @@ const TopNavBar = (props) => {
{/* 修改当路由为智能对话页时渲染历史会话组件renderPageContent其它路由不变 */} {/* 修改当路由为智能对话页时渲染历史会话组件renderPageContent其它路由不变 */}
<div className={styles.contentMain} style={{ height: 'auto', backgroundColor: 'inherit' }}> <div className={styles.contentMain} style={{ height: 'auto', backgroundColor: 'inherit' }}>
<Outlet /> <Outlet />
</div>
<div className={styles.contentHistory}>
{renderPageContent('conversation', conversationConversations, conversationExpanded)} {renderPageContent('conversation', conversationConversations, conversationExpanded)}
</div> </div>
{/* 底部版权信息 */} {/* 底部版权信息 */}
<div className='footerCopyright' style={{ <div className='footerCopyright' style={{

@ -1,6 +1,7 @@
.layoutContainer { .layoutContainer {
height: 100%; height: 100%;
background-color: #f0f2f5; background-color: #f0f2f5;
position: relative;
.tabBarHeader { .tabBarHeader {
background-color: #fff; background-color: #fff;
@ -53,4 +54,14 @@
// height: calc(100% - 46px); // height: calc(100% - 46px);
overflow-y: hidden; overflow-y: hidden;
} }
.contentHistory {
height: 40%;
overflow-y: auto;
overflow-x: hidden;
background: transparent;
position: absolute;
top: 65%;
left: 10%;
}
} }

@ -603,8 +603,8 @@
.pageExpandedContent { .pageExpandedContent {
margin: 4px 14px 4px 12px; margin: 4px 14px 4px 12px;
padding: 6px 10px 8px 10px; padding: 6px 10px 8px 10px;
width: 12vw; width: 10.5vw;
background: #fff; background: transparent;
display: flex; display: flex;
border: 1px solid #e5e5e5; // 新增外边框 border: 1px solid #e5e5e5; // 新增外边框
border-radius: 6px; border-radius: 6px;
@ -687,6 +687,7 @@
&:hover { &:hover {
background: #f0f0f0; background: #f0f0f0;
width: 9vw;
.conversationActions { .conversationActions {
opacity: 1; opacity: 1;
@ -696,10 +697,12 @@
&.active { &.active {
background: #e6f7ff; background: #e6f7ff;
border-color: #91d5ff; border-color: #91d5ff;
width: 9vw;
.conversationTitle .titleText { .conversationTitle .titleText {
color: #1890ff; color: #1890ff;
font-weight: 500; font-weight: 500;
// width: 9vw;
} }
} }

Loading…
Cancel
Save