fix: 前端页面架构重构初版

This commit is contained in:
Gsh
2025-12-28 22:42:17 +08:00
parent c649ad31c2
commit e4621d9049
53 changed files with 6098 additions and 845 deletions

View File

@@ -1,4 +1,4 @@
export type LayoutType = | 'vertical' | 'blankPage';
export type LayoutType = 'default' | 'vertical' | 'blankPage' | 'blankPage';
// 仿豆包折叠逻辑
export type CollapseType
@@ -25,7 +25,7 @@ export interface DesignConfigState {
// 是否折叠菜单
isCollapse: boolean;
// 安全区是否被悬停
isSafeAreaHover: boolean;
isCollapseConversationList: boolean;
// 跟踪是否首次激活悬停
hasActivatedHover: boolean;
}
@@ -65,15 +65,13 @@ const design: DesignConfigState = {
// 需要自定义路由动画可以把 Main 组件样式代码注释放开从新对话切换到带id的路由时会执行这个动画样式
pageAnimateType: 'zoom-fade',
// 布局模式 (纵向vertical | ... | 自己定义)
layout: 'vertical',
layout: 'default',
// 折叠类型
collapseType: 'followSystem',
// 是否折叠菜单
// 是否折叠对话记录菜单
isCollapse: false,
// 安全区是否被悬停
isSafeAreaHover: false,
// 跟踪是否首次激活悬停
hasActivatedHover: false,
// 是否折叠对话记录菜单
isCollapseConversationList: false,
};
export default design;