From f1c60e95d801539ca09ef2f8219e7047a0bccb66 Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Wed, 1 Apr 2026 11:11:28 +0800 Subject: [PATCH] ud --- src/components/layout/TopTabsSection/index.module.css | 6 +++--- src/pages/Social/Foundation.module.css | 2 +- src/pages/Social/Foundation.tsx | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/layout/TopTabsSection/index.module.css b/src/components/layout/TopTabsSection/index.module.css index 37cc4b3..169ad09 100644 --- a/src/components/layout/TopTabsSection/index.module.css +++ b/src/components/layout/TopTabsSection/index.module.css @@ -107,12 +107,12 @@ } .topTabsContent { - /* padding-top: 9.375rem; */ + padding-top: 9.375rem; display: flex; - align-items: center; + /* align-items: center; */ gap: 5rem; flex-direction: row; - height: 92%; + /* height: 92%; */ } .topTabsContentLeft { diff --git a/src/pages/Social/Foundation.module.css b/src/pages/Social/Foundation.module.css index 66e8e85..f1d27f1 100644 --- a/src/pages/Social/Foundation.module.css +++ b/src/pages/Social/Foundation.module.css @@ -1,6 +1,6 @@ .topTabsSection { padding: 0 !important; - height: 94vh; + height: calc(100vh - 50px); } .topTabsSectionP { diff --git a/src/pages/Social/Foundation.tsx b/src/pages/Social/Foundation.tsx index 26229f5..220d607 100644 --- a/src/pages/Social/Foundation.tsx +++ b/src/pages/Social/Foundation.tsx @@ -60,7 +60,6 @@ export default function Foundation() { // category_id: String(categoryList?.find((item: any) => item.name.includes('社会责任报告'))?.id ?? '') }) const items = res.data.items.filter((item: any) => item.category_name.includes("信息公开")) - console.log("------items-----", items) setFileList(items) }, []) useEffect(() => {