From e4f9d8f02740a322d65f807061e6b6febcd0fcc7 Mon Sep 17 00:00:00 2001 From: taozi <9108791@qq.com> Date: Thu, 23 Sep 2021 10:33:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=BB=E5=B8=83=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=85=A8=E5=8F=8A=E6=93=8D=E4=BD=9C=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/theme/components/leftBar/panel.vue | 5 ++++- src/views/theme/container/index.vue | 7 ++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/theme/components/leftBar/panel.vue b/src/views/theme/components/leftBar/panel.vue index 3939cba..1542448 100644 --- a/src/views/theme/components/leftBar/panel.vue +++ b/src/views/theme/components/leftBar/panel.vue @@ -114,7 +114,7 @@ export default { .panelBox { width: 0px; - min-height: 100%; + height: 100%; display: flex; overflow: hidden; transition: 0.2s width ease; @@ -166,6 +166,9 @@ export default { border-left: 1px solid #f0f3f4; width: 186px; padding: 20px 0; + height: auto; + overflow-y: auto; + padding-bottom:40px; .itemBox { h3 { diff --git a/src/views/theme/container/index.vue b/src/views/theme/container/index.vue index b1bdb4c..91afb0f 100644 --- a/src/views/theme/container/index.vue +++ b/src/views/theme/container/index.vue @@ -146,7 +146,8 @@ export default { position: relative; display: flex; flex-direction: column; - height: 100%; + height:calc(100vh - 84px); + overflow: hidden; .topBox { height: 52px; @@ -188,7 +189,7 @@ export default { .bottomWarp { flex: 1; display: flex; - height: 0; + overflow:hidden } .leftBox { height: 100%; @@ -212,4 +213,4 @@ export default { overflow: auto; } } - \ No newline at end of file +