From ae18af1bf30a5cb5af84e1e2175b5893391254a6 Mon Sep 17 00:00:00 2001 From: Jz0ojiang Date: Sat, 5 Sep 2026 18:08:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?t11-topbar:=20=E5=B7=A5=E5=85=B7=E7=BB=84?= =?UTF-8?q?=E5=B1=85=E4=B8=AD=EF=BC=8C=E7=94=BB=E5=B8=83=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E6=94=B6=E8=BF=9B=E4=B8=8B=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TopBar 重排为「左留空 / 中工具组 / 右历史+导出」 - 新增画布编辑下拉(CanvasMenu):预设/分辨率/比例,逻辑照搬旧中间组 - 形状/背景按钮改成本体+角标组合,本体切工具、角标开下拉 - 形状按钮图标跟随当前形状(shapeMeta) - 文字工具光标:往 body 写 dataset.tool,样式规则留给 style.css --- src/components/TopBar.vue | 339 ++++++++++++++------------- src/components/topbar/CanvasMenu.vue | 144 +++++++++++- 2 files changed, 315 insertions(+), 168 deletions(-) diff --git a/src/components/TopBar.vue b/src/components/TopBar.vue index 7ee767a..eedff90 100644 --- a/src/components/TopBar.vue +++ b/src/components/TopBar.vue @@ -1,66 +1,64 @@ + + From f9e198c8b6b9ca0f5a6ba7d2cff7cb4fc3c56193 Mon Sep 17 00:00:00 2001 From: Jz0ojiang Date: Sat, 5 Sep 2026 18:12:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?t11-topbar:=20=E7=BB=84=E5=90=88=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=95=B4=E5=9D=97=E9=AB=98=E4=BA=AE=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=20title=20=E7=B2=BE=E7=AE=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TopBar.vue | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/components/TopBar.vue b/src/components/TopBar.vue index eedff90..569c6d6 100644 --- a/src/components/TopBar.vue +++ b/src/components/TopBar.vue @@ -149,7 +149,7 @@ async function scrollToExport() {