From 1421865d5c75f0669050d456fffbdfb779537ef0 Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sun, 1 Sep 2024 17:11:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E7=BD=91=E5=9D=80?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=EF=BC=8C=E6=94=AF=E6=8C=81=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 18 ++++ src/views/NavView/NavView.vue | 196 ++++++++++++++++++++++++++++++++-- 2 files changed, 206 insertions(+), 8 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8b881c4..18fedac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -189,6 +189,11 @@ html { border-bottom: 1px solid var(--color-border); font-size: 18px; font-weight: bold; + + .placeholder { + flex-grow: 1; + width: 0; + } } .app-view-content { @@ -209,4 +214,17 @@ html { } } } + +// -- Naive UI -- + +.n-drawer--right-placement { + .n-drawer-body { + height: 0; + } + + .n-drawer-body-content-wrapper { + padding: 20px !important; + line-height: 1; + } +} diff --git a/src/views/NavView/NavView.vue b/src/views/NavView/NavView.vue index f61eba8..8e880a8 100644 --- a/src/views/NavView/NavView.vue +++ b/src/views/NavView/NavView.vue @@ -1,10 +1,27 @@