From af45b8eaaf0f212c8635e8a230887959adf015de Mon Sep 17 00:00:00 2001 From: Shigma Date: Mon, 3 Jun 2024 04:52:13 +0800 Subject: [PATCH] feat(manager): add h1 title and root menu --- .../client/components/layout/content.vue | 9 +++++++ plugins/manager/client/components/index.vue | 3 +++ plugins/manager/client/components/tree.vue | 24 +++++++++---------- plugins/manager/client/dialogs/group.vue | 9 +++---- plugins/manager/client/dialogs/remove.vue | 8 +++---- plugins/manager/client/dialogs/select.vue | 18 +++++++------- plugins/manager/client/index.ts | 18 +++++++------- plugins/manager/client/routes/main.vue | 1 + plugins/webui/src/index.ts | 3 ++- 9 files changed, 53 insertions(+), 40 deletions(-) diff --git a/packages/client/client/components/layout/content.vue b/packages/client/client/components/layout/content.vue index 93085de..b9c8fc1 100644 --- a/packages/client/client/components/layout/content.vue +++ b/packages/client/client/components/layout/content.vue @@ -27,6 +27,15 @@ @media screen and (max-width: 480px) { --content-padding: 1.5rem; } + + h1 { + font-size: 1.5rem; + margin: 2rem 0; + } + + h2 { + font-size: 1.25rem; + } } diff --git a/plugins/manager/client/components/index.vue b/plugins/manager/client/components/index.vue index 11657e5..b46158b 100644 --- a/plugins/manager/client/components/index.vue +++ b/plugins/manager/client/components/index.vue @@ -42,11 +42,13 @@ +

{{ currentEntry.name }}

此插件尚未安装。

diff --git a/plugins/manager/client/components/tree.vue b/plugins/manager/client/components/tree.vue index 621d7d8..9b41ad8 100644 --- a/plugins/manager/client/components/tree.vue +++ b/plugins/manager/client/components/tree.vue @@ -1,9 +1,15 @@