From 06756777eaee8b9f5e82688eef0dcbb4a66c09cc Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 21 Dec 2024 20:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/editor/CommandSideBar.vue | 57 +++++++++++++++--------- src/pages/ConfigurationPage.vue | 32 ++++++++++++- 2 files changed, 68 insertions(+), 21 deletions(-) diff --git a/src/components/editor/CommandSideBar.vue b/src/components/editor/CommandSideBar.vue index b10e2ed..7c8b020 100644 --- a/src/components/editor/CommandSideBar.vue +++ b/src/components/editor/CommandSideBar.vue @@ -57,6 +57,7 @@ @@ -89,6 +88,7 @@ @@ -251,6 +252,7 @@ hide-dropdown-icon stack-label label-color="primary" + popup-content-class="side-bar-popup-content" transition-show="jump-down" transition-hide="jump-up" borderless @@ -287,6 +289,7 @@ hide-dropdown-icon stack-label label-color="primary" + popup-content-class="side-bar-popup-content" transition-show="jump-down" transition-hide="jump-up" borderless @@ -312,15 +315,16 @@ @@ -631,4 +635,17 @@ export default { background: var(--q-primary); opacity: 0.85; } + +.side-bar-popup-content .q-item .q-icon { + font-size: 20px; +} + +.command-side-bar-content *, +.side-bar-popup-content .q-item__label { + font-size: 13px; +} + +.side-bar-popup-content .q-item__label--caption { + font-size: 12px; +} diff --git a/src/pages/ConfigurationPage.vue b/src/pages/ConfigurationPage.vue index ac360c0..f94c7c9 100644 --- a/src/pages/ConfigurationPage.vue +++ b/src/pages/ConfigurationPage.vue @@ -175,6 +175,7 @@ color="primary" label="分享中心" icon="groups" + class="share-btn" /> @@ -185,6 +186,7 @@ color="primary" label="新建" icon="add" + class="new-btn" />