From 5eb46e3e9633a58fa547d92d4e7746bae1efdeee Mon Sep 17 00:00:00 2001 From: zxc <1171051090@qq.com> Date: Thu, 2 May 2024 15:23:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Button.vue | 1 + src/components/MoveablePanel.vue | 2 +- src/views/Editor/NotesPanel.vue | 15 +++- src/views/Editor/SearchPanel.vue | 2 +- src/views/Editor/Thumbnails/LayoutPool.vue | 71 ++++++++++++++----- src/views/Editor/Toolbar/SlideDesignPanel.vue | 21 +----- 6 files changed, 71 insertions(+), 41 deletions(-) diff --git a/src/components/Button.vue b/src/components/Button.vue index d1287058..499fe726 100644 --- a/src/components/Button.vue +++ b/src/components/Button.vue @@ -64,6 +64,7 @@ const handleClick = () => { line-height: 24px; padding: 0 7px; letter-spacing: 0; + font-size: 12px; } &.default { diff --git a/src/components/MoveablePanel.vue b/src/components/MoveablePanel.vue index 02aa473e..5ddab51b 100644 --- a/src/components/MoveablePanel.vue +++ b/src/components/MoveablePanel.vue @@ -209,7 +209,7 @@ const startResize = (e: MouseEvent) => { justify-content: center; align-items: center; color: #666; - font-size: 12px; + font-size: 13px; cursor: pointer; } .content { diff --git a/src/views/Editor/NotesPanel.vue b/src/views/Editor/NotesPanel.vue index f327e722..f787b6e7 100644 --- a/src/views/Editor/NotesPanel.vue +++ b/src/views/Editor/NotesPanel.vue @@ -67,7 +67,7 @@ @focus="replyNoteId = ''; activeNoteId = ''" />
@@ -314,9 +314,20 @@ const close = () => { margin-top: 10px; display: flex; + .btn { + display: flex; + justify-content: center; + align-items: center; + + &.icon { + font-size: 18px; + color: #666; + cursor: pointer; + } + } + .btn + .btn { margin-left: 8px; - flex-shrink: 0; } } } diff --git a/src/views/Editor/SearchPanel.vue b/src/views/Editor/SearchPanel.vue index 80b5a105..22b0fbd5 100644 --- a/src/views/Editor/SearchPanel.vue +++ b/src/views/Editor/SearchPanel.vue @@ -145,7 +145,7 @@ watch(type, () => { justify-content: center; align-items: center; color: #666; - font-size: 12px; + font-size: 13px; cursor: pointer; } \ No newline at end of file diff --git a/src/views/Editor/Thumbnails/LayoutPool.vue b/src/views/Editor/Thumbnails/LayoutPool.vue index 70d696a2..fa035929 100644 --- a/src/views/Editor/Thumbnails/LayoutPool.vue +++ b/src/views/Editor/Thumbnails/LayoutPool.vue @@ -1,14 +1,20 @@