From a569fc9522b98cddd112a86812a519ff0df9cd6f Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Sun, 14 Jan 2024 15:56:34 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=20tooltip=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renderer/src/assets/styles/bl-tip.scss | 2 +- .../src/assets/styles/bl-tooltip.scss | 4 + .../src/renderer/src/components/AppHeader.vue | 10 +- .../src/views/article/EditorTools.vue | 255 +++++++++++++++--- .../renderer/src/views/index/AsideUpload.vue | 4 +- 5 files changed, 235 insertions(+), 40 deletions(-) diff --git a/blossom-editor/src/renderer/src/assets/styles/bl-tip.scss b/blossom-editor/src/renderer/src/assets/styles/bl-tip.scss index 76a547b..c29bf91 100644 --- a/blossom-editor/src/renderer/src/assets/styles/bl-tip.scss +++ b/blossom-editor/src/renderer/src/assets/styles/bl-tip.scss @@ -58,4 +58,4 @@ &-bottom:hover:after { margin-top: 9px; } -} \ No newline at end of file +} diff --git a/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss b/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss index f3a53a2..fad6b73 100644 --- a/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss +++ b/blossom-editor/src/renderer/src/assets/styles/bl-tooltip.scss @@ -117,3 +117,7 @@ } } } + +.el-popper.is-small { + padding: 0 8px; +} diff --git a/blossom-editor/src/renderer/src/components/AppHeader.vue b/blossom-editor/src/renderer/src/components/AppHeader.vue index ebce614..09ea455 100644 --- a/blossom-editor/src/renderer/src/components/AppHeader.vue +++ b/blossom-editor/src/renderer/src/components/AppHeader.vue @@ -36,17 +36,19 @@ ref="ButtonRef" v-click-outside="onClickOutside"> -
+ +
+
- +
- +
- +
diff --git a/blossom-editor/src/renderer/src/views/article/EditorTools.vue b/blossom-editor/src/renderer/src/views/article/EditorTools.vue index e6eccb9..e1c2679 100644 --- a/blossom-editor/src/renderer/src/views/article/EditorTools.vue +++ b/blossom-editor/src/renderer/src/views/article/EditorTools.vue @@ -3,51 +3,240 @@
-
-
-
+ +
+
+ +
+
+ +
+
-
-
-
-
-
-
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
- -
- -
- -
-
-
-
-
+ + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
-
-
- + +
+
+ +
+
+ + +
-
+ +
+
diff --git a/blossom-editor/src/renderer/src/views/index/AsideUpload.vue b/blossom-editor/src/renderer/src/views/index/AsideUpload.vue index 392e5b6..22d2488 100644 --- a/blossom-editor/src/renderer/src/views/index/AsideUpload.vue +++ b/blossom-editor/src/renderer/src/views/index/AsideUpload.vue @@ -1,7 +1,7 @@