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; }