From 4f7d066376a75cdae9ce7768d62280e42168eb9a Mon Sep 17 00:00:00 2001 From: "algerkc@qq.com" Date: Thu, 14 Dec 2023 17:56:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor(style):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=B8=BA=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/AppLayout.vue | 13 +++++++------ src/views/list/index.vue | 12 +++++------- src/views/search/index.vue | 12 ++++-------- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/src/layout/AppLayout.vue b/src/layout/AppLayout.vue index 33ffa1d..e30798a 100644 --- a/src/layout/AppLayout.vue +++ b/src/layout/AppLayout.vue @@ -8,7 +8,7 @@ - +
@@ -56,18 +56,19 @@ const menus = store.state.menus; .layout-main { @apply bg-black rounded-lg text-white shadow-xl flex-col relative; - height: 900px; - width: 1500px; + height: 100%; + width: 100%; overflow: hidden; - min-width: 1500px; .menu { width: 90px; } .main { @apply pt-6 pr-6 flex-1 box-border; + height: 100vh; &-content { @apply rounded-2xl; - height: 834px; + height: calc(100vh - 60px); + margin-bottom: 90px; } &-page { margin: 20px 0; diff --git a/src/views/list/index.vue b/src/views/list/index.vue index 5fc120b..74d585f 100644 --- a/src/views/list/index.vue +++ b/src/views/list/index.vue @@ -152,7 +152,7 @@ const handlePlay = (item: any) => {