From 3373abe563096eef18a631fc1c3125bee642a825 Mon Sep 17 00:00:00 2001 From: cfq Date: Wed, 28 Jan 2026 18:48:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E6=B7=BB=E5=8A=A0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E5=B9=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在编辑器点击图片时显示全屏预览弹窗 - 支持通过鼠标滚轮缩放预览图片(0.1-5倍) - 使用Teleport将弹窗渲染到body避免样式冲突 - 添加淡入动画和关闭按钮提升用户体验 --- src/components/LivePreviewEditor.vue | 116 ++++++++++++++++++++++++++- 1 file changed, 114 insertions(+), 2 deletions(-) diff --git a/src/components/LivePreviewEditor.vue b/src/components/LivePreviewEditor.vue index 307b42a..ad9fe66 100644 --- a/src/components/LivePreviewEditor.vue +++ b/src/components/LivePreviewEditor.vue @@ -1,12 +1,29 @@