From 6672cb36747a9b6cbd31706617658e76b35922eb Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Thu, 13 Aug 2026 10:58:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(community):=20gvs-page-top=20=E7=B1=BB?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B6=E9=83=A8=E9=97=B4=E8=B7=9D=E2=80=94?= =?UTF-8?q?=E2=80=94.gvs-container=20=E7=9A=84=20padding=20=E6=9B=BE?= =?UTF-8?q?=E8=A6=86=E7=9B=96=20tailwind=20pt-10=20=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=97=B4=E8=B7=9D=E4=BB=8E=E6=9C=AA=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/community.css | 6 ++++++ src/views/community/CommunityHomeView.vue | 2 +- src/views/community/CommunityNewPostView.vue | 2 +- src/views/community/CommunityPostView.vue | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/assets/community.css b/src/assets/community.css index 5176500..5661a9e 100644 --- a/src/assets/community.css +++ b/src/assets/community.css @@ -34,6 +34,12 @@ padding: 0 16px; } +/* 页面顶部/底部间距(本文件内后定义,覆盖 .gvs-container 的 padding) */ +.gvs-community .gvs-page-top { + padding-top: 40px; + padding-bottom: 40px; +} + /* ---------- 3. Hero 横幅 ---------- */ .gvs-hero { background: linear-gradient(120deg, #0d1b2a 0%, #123c5e 60%, #0064c8 130%); diff --git a/src/views/community/CommunityHomeView.vue b/src/views/community/CommunityHomeView.vue index 436df8e..b91b190 100644 --- a/src/views/community/CommunityHomeView.vue +++ b/src/views/community/CommunityHomeView.vue @@ -26,7 +26,7 @@ -
+
探索板块
diff --git a/src/views/community/CommunityNewPostView.vue b/src/views/community/CommunityNewPostView.vue index 2cd7cfd..fcaa898 100644 --- a/src/views/community/CommunityNewPostView.vue +++ b/src/views/community/CommunityNewPostView.vue @@ -1,6 +1,6 @@