From 0907a104cff6ecc92b9fd8aabc0d78cf5359b53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Mon, 24 Aug 2026 02:13:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E:=20=E8=B5=84=E6=96=99?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=A2=9E=E5=BC=BA+=E5=89=AA=E8=B4=B4?= =?UTF-8?q?=E6=9D=BF+=E6=A1=86=E9=80=89=E5=A4=9A=E9=80=89+=E6=9C=AA?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=87=AA=E5=8A=A8=E6=9A=82=E5=AD=98+?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=8D=A0=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 163 +++++++++++- src/components/HomePage.vue | 41 +++ src/components/editor/ElementView.vue | 32 +-- src/components/editor/PropsPanel.vue | 71 +++++- src/components/modals/ImportModal.vue | 60 ++++- src/composables/useEditor.ts | 121 ++++++++- src/core/importer.ts | 14 +- src/core/store.ts | 351 +++++++++++++++++++++++--- src/core/types.ts | 2 + src/styles/editor.css | 21 ++ 10 files changed, 788 insertions(+), 88 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1d3c799..4136ff3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,8 +2,10 @@ App.vue — 根组件:编辑/演示模式切换、工具栏、三栏布局、弹窗 ===================================================================== --> @@ -205,7 +353,6 @@ onUnmounted(() => { @present="onPresent" @open-library="libraryVisible = true" @open-settings="settingsVisible = true" - @open-ai="openAi" @save="onSave" @open-templates="templateVisible = true" @export-json="onExportJson" @@ -267,6 +414,7 @@ onUnmounted(() => { @toast="toast" /> {
{{ toastText }}
+ + +
+
+ 📥 + 松开导入文件 + .json 直接导入 · 图片/文档进入资料导入 +
+
diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index 9b02588..1cfc97f 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -3,6 +3,7 @@ ===================================================================== -->