diff --git a/draggable-panels/.vscode/extensions.json b/draggable-panels/.vscode/extensions.json new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ b/draggable-panels/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/draggable-panels/config.json b/draggable-panels/config.json index 61ec1ae..4bfcb6a 100644 --- a/draggable-panels/config.json +++ b/draggable-panels/config.json @@ -7,11 +7,6 @@ "id": "0i69gg5", "title": "资源管理器", "content": "左侧面板内容1" - }, - { - "id": "9uc5qy1", - "title": "新窗口 2", - "content": "新窗口内容" } ], "activeTabId": "0i69gg5" @@ -20,22 +15,25 @@ "id": "center", "tabs": [ { - "id": "auteqok", - "title": "欢迎页", - "content": "中间面板内容1" + "id": "2emt1si", + "title": "文本编辑器", + "content": "新窗口内容", + "materialId": "TextEditor" }, { - "id": "c08lqdq", - "title": "新窗口 3", - "content": "新窗口内容" + "id": "mxfx11j", + "title": "树形展示器", + "content": "新窗口内容", + "materialId": "TreeViewer" }, { - "id": "c9nw7xj", - "title": "新窗口 3", - "content": "新窗口内容" + "id": "jln5iq9", + "title": "测试组件B", + "content": "新窗口内容", + "materialId": "TestWidget2" } ], - "activeTabId": "cibltif" + "activeTabId": "2emt1si" }, "rightPanel": { "id": "right", @@ -46,13 +44,20 @@ "content": "新窗口内容" }, { - "id": "cibltif", - "title": "新窗口 4", - "content": "新窗口内容" + "id": "vrh9bl2", + "title": "数据表格", + "content": "新窗口内容", + "materialId": "DataTable" + }, + { + "id": "y2iwzgl", + "title": "测试组件A", + "content": "新窗口内容", + "materialId": "TestWidget1" } ], "activeTabId": "ojaw0e3" } }, - "lastUpdated": "2025-12-20T11:47:26.835Z" + "lastUpdated": "2025-12-20T12:28:20.283Z" } \ No newline at end of file diff --git a/draggable-panels/src/components/Header.vue b/draggable-panels/src/components/Header.vue index 44b2ac9..a7bdd71 100644 --- a/draggable-panels/src/components/Header.vue +++ b/draggable-panels/src/components/Header.vue @@ -1,80 +1,179 @@ diff --git a/draggable-panels/src/components/MainLayout.vue b/draggable-panels/src/components/MainLayout.vue index df23080..e62b9a4 100644 --- a/draggable-panels/src/components/MainLayout.vue +++ b/draggable-panels/src/components/MainLayout.vue @@ -1,28 +1,54 @@