From c7c94283c09e535f4e5f9d4542226e18fafd9ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Sun, 30 Aug 2026 03:32:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=20UI=20=E5=8E=BB=20AI=20?= =?UTF-8?q?=E5=91=B3=E2=80=94=E2=80=94SVG=20=E5=9B=BE=E6=A0=87=E4=BD=93?= =?UTF-8?q?=E7=B3=BB=E6=9B=BF=E4=BB=A3=20emoji/=E5=AD=97=E7=AC=A6=E5=9B=BE?= =?UTF-8?q?=E6=A0=87,=E9=A6=96=E9=A1=B5=E4=BA=A7=E5=93=81=E5=8C=96?= =?UTF-8?q?=E9=87=8D=E8=AE=BE=E8=AE=A1(=E6=96=87=E6=A1=A3=E7=BD=91?= =?UTF-8?q?=E6=A0=BC+=E5=8F=B3=E4=BE=A7=E6=96=B0=E5=BB=BA=E6=A0=8F),?= =?UTF-8?q?=E4=B8=BB=E8=89=B2=E7=BB=9F=E4=B8=80=20#5b5bd6,=E8=A1=A5?= =?UTF-8?q?=E9=94=AE=E7=9B=98=E7=84=A6=E7=82=B9=E5=8F=AF=E8=A7=81=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage.vue | 477 +++++++++++--------- src/components/common/FileDock.vue | 11 +- src/components/common/FilePreviewDrawer.vue | 5 +- src/components/common/Icon.vue | 92 ++++ src/components/editor/AddGrid.vue | 10 +- src/components/editor/AnnotationLayer.vue | 4 +- src/components/editor/Canvas.vue | 3 +- src/components/editor/ChartView.vue | 2 +- src/components/editor/ElementView.vue | 5 +- src/components/editor/PropsPanel.vue | 51 ++- src/components/editor/Toolbar.vue | 39 +- src/components/modals/ImportModal.vue | 50 +- src/components/modals/LibraryModal.vue | 74 ++- src/components/modals/PrintModal.vue | 5 +- src/components/modals/TemplateModal.vue | 13 +- src/styles/base.css | 14 +- src/styles/chat.css | 18 +- src/styles/editor.css | 6 +- 18 files changed, 543 insertions(+), 336 deletions(-) create mode 100644 src/components/common/Icon.vue diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue index e474487..eefa57b 100644 --- a/src/components/HomePage.vue +++ b/src/components/HomePage.vue @@ -1,18 +1,21 @@ @@ -17,7 +18,7 @@ const ICONS: Record = {
- 📎 附件 {{ attachmentState.list.value.length }} + 附件 {{ attachmentState.list.value.length }}
@@ -29,7 +30,7 @@ const ICONS: Record = { :title="`${att.name} · ${formatSize(att.size)}`" @click="openPreview(att.id)" > - {{ ICONS[att.kind] || '📎' }} + {{ att.name }} {{ formatSize(att.size) }}