From 37ef302124a50298a0d190f3530cd1b1e01035a2 Mon Sep 17 00:00:00 2001 From: Zhao Zhao Shen Date: Wed, 12 Mar 2025 16:50:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=A0=B7=E5=BC=8F=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/Dashboard/index.vue | 4 ++-- src/views/layout/vueLayout.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Dashboard/index.vue b/src/views/Dashboard/index.vue index bd2107d..14f3621 100644 --- a/src/views/Dashboard/index.vue +++ b/src/views/Dashboard/index.vue @@ -970,7 +970,7 @@ onUnmounted(() => { flex-direction: column; align-items: center; background: #000028; - height: 100vh; + height: calc(100vh - 4rem); width: calc(100% + 1.5rem); overflow: hidden; color: white; @@ -1209,7 +1209,7 @@ onUnmounted(() => { /* 下部区域样式 */ .lower-section { width: 100%; - height: 20%; + height: 24%; /* 调整高度 */ display: flex; justify-content: center; diff --git a/src/views/layout/vueLayout.vue b/src/views/layout/vueLayout.vue index 669af91..9d3ecc4 100644 --- a/src/views/layout/vueLayout.vue +++ b/src/views/layout/vueLayout.vue @@ -410,7 +410,7 @@ ix-application { display: flex; flex-direction: column; background: #000028; - min-height: 100vh; + height: calc(100vh - 4rem); width: 100%; overflow-x: hidden; }