From 592d205d87e8f42dd7467913abb4e86168d5fdaf Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Tue, 31 Mar 2026 18:42:16 +0800 Subject: [PATCH] ud --- src/components/layout/ParagraphSection/index.tsx | 4 ++-- src/pages/Social/Foundation.module.css | 6 ++++++ src/pages/Social/Foundation.tsx | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/layout/ParagraphSection/index.tsx b/src/components/layout/ParagraphSection/index.tsx index 7190592..f98aa8c 100644 --- a/src/components/layout/ParagraphSection/index.tsx +++ b/src/components/layout/ParagraphSection/index.tsx @@ -9,9 +9,9 @@ type Data = { tags?: string[]; } -export default function ParagraphSection({ data, children }: { data: Data, children?: React.ReactNode }) { +export default function ParagraphSection({ data, children, className }: { data: Data, children?: React.ReactNode, className?: string }) { return ( -
+

{data.title} {data.content}

diff --git a/src/pages/Social/Foundation.module.css b/src/pages/Social/Foundation.module.css index fc4a2d2..66e8e85 100644 --- a/src/pages/Social/Foundation.module.css +++ b/src/pages/Social/Foundation.module.css @@ -1,7 +1,13 @@ .topTabsSection { padding: 0 !important; + height: 94vh; } +.topTabsSectionP { + padding-bottom: 0 !important; +} + + /* 公益传播 */ .publicWelfareDataItems { /* 2列 */ diff --git a/src/pages/Social/Foundation.tsx b/src/pages/Social/Foundation.tsx index 0dbc021..26229f5 100644 --- a/src/pages/Social/Foundation.tsx +++ b/src/pages/Social/Foundation.tsx @@ -79,7 +79,7 @@ export default function Foundation() { /> {section1Data && ( - +
{section1Data.tabItems && }