diff --git a/frontend/src/frameworks/components/layout/AppShell.tsx b/frontend/src/frameworks/components/layout/AppShell.tsx index 7db89ba..d059a1b 100644 --- a/frontend/src/frameworks/components/layout/AppShell.tsx +++ b/frontend/src/frameworks/components/layout/AppShell.tsx @@ -2,68 +2,26 @@ import { Layout } from 'antd'; import { useUIStore } from '@/adapters/state/zustand/uiStore'; +import { TopToolbar } from './TopToolbar'; +import { LeftPanel } from './LeftPanel'; +import { CenterCanvas } from './CenterCanvas'; +import { RightPanel } from './RightPanel'; +import { BottomStatusBar } from './BottomStatusBar'; +import ImportModal from '@/frameworks/components/dataImport/ImportModal'; +import { ExportDialog } from '@/frameworks/components/export/ExportDialog'; +import { TemplateModal } from '@/frameworks/components/template/TemplateModal'; -const { Header, Sider, Content, Footer } = Layout; +const { Sider, Content } = Layout; export function AppShell() { const leftPanelCollapsed = useUIStore((s) => s.leftPanelCollapsed); const rightPanelCollapsed = useUIStore((s) => s.rightPanelCollapsed); - const toggleLeftPanel = useUIStore((s) => s.toggleLeftPanel); - const toggleRightPanel = useUIStore((s) => s.toggleRightPanel); return ( - {/* Top Toolbar - 48px */} -
-
- - DataViz Pro - -
- -
- - -
-
+ - {/* Left Panel - 280px collapsible */} -
-
- 数据 / 图表 / 字段 -
-

- 左面板内容区域 -

-
+
- {/* Center Canvas - flex grow */} -
-

- 将图表拖放到画布上 -

-
+
- {/* Right Panel - 320px collapsible */} -
-
- 数据绑定 / 样式 / 交互 -
-

- 右面板内容区域 -

-
+
- {/* Bottom Status Bar - 32px */} -
-
- 就绪 -
-
- 图表: 0 - 缩放: 100% -
-
+ + + {/* Modals */} + + +
); }