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(() => {