From 1c829f9177eab675b22be4d20ef2761ed1bbb423 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 15 九月 2026 16:15:48 +0800
Subject: [PATCH] refactor(layout): 调整布局样式并优化轮播卡片组件
---
src/layout/components/AppMain.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 1e7a78b..8d4604a 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -38,8 +38,8 @@
<style lang="scss" scoped>
.app-main {
- /* 50= navbar 50 */
- min-height: calc(100vh - 50px);
+ /* 60 = navbar */
+ min-height: calc(100vh - 60px);
width: 100%;
position: relative;
overflow: hidden;
@@ -52,17 +52,17 @@
}
.fixed-header + .app-main {
- padding-top: 50px;
+ padding-top: 60px;
}
.hasTagsView {
.app-main {
- /* 84 = navbar + tags-view = 50 + 34 */
- min-height: calc(100vh - 84px);
+ /* 100 = navbar + tags-view = 60 + 40 */
+ min-height: calc(100vh - 100px);
}
.fixed-header + .app-main {
- padding-top: 84px;
+ padding-top: 100px;
}
}
</style>
--
Gitblit v1.9.3