diff --git a/public/images/bg-overview.png b/public/images/bg-overview.png index 34baec0..ac2403c 100644 Binary files a/public/images/bg-overview.png and b/public/images/bg-overview.png differ diff --git a/src/components/layout/HonorGrids/index.module.css b/src/components/layout/HonorGrids/index.module.css index 1d2229a..663d3a7 100644 --- a/src/components/layout/HonorGrids/index.module.css +++ b/src/components/layout/HonorGrids/index.module.css @@ -41,15 +41,23 @@ } .honorGridsItemLargeTitle { font-weight: 600; - font-size: 1.25rem; + font-size: 30px; color: #222222; - line-height: 1.875rem; + line-height: 40px; + font-family: Source Han Sans, Source Han Sans; } .honorGridsItemTitle { font-size: 1.25rem; } + .honorGridsItemLargeTitleContent { + font-weight: 400; + font-size: 16px; + color: #222222; + line-height: 22px; + } + .honorGridsItemBgleft, .honorGridsItemBgright { width: 4.375rem; diff --git a/src/components/layout/HonorGrids/index.tsx b/src/components/layout/HonorGrids/index.tsx index f2e5b00..08525af 100644 --- a/src/components/layout/HonorGrids/index.tsx +++ b/src/components/layout/HonorGrids/index.tsx @@ -22,7 +22,7 @@ export default function HonorGrids({ data }: { data: Data }) { style={{ backgroundImage: "url(/images/icons/honor-left.png)" }} >
{item.largeTitle}
-
{item.title}
+
{item.title}
diff --git a/src/components/layout/ParagraphSection/index.module.css b/src/components/layout/ParagraphSection/index.module.css index c53b303..2323adc 100644 --- a/src/components/layout/ParagraphSection/index.module.css +++ b/src/components/layout/ParagraphSection/index.module.css @@ -10,6 +10,11 @@ .paragraphSectionContent { white-space: pre-line; + font-family: Source Han Sans, Source Han Sans; + font-weight: 400; + font-size: 18px; + color: #222222; + line-height: 36px; .paragraphSectionTitle { font-weight: bold; diff --git a/src/components/layout/RowAccordion/index.module.css b/src/components/layout/RowAccordion/index.module.css index 5465808..8400753 100644 --- a/src/components/layout/RowAccordion/index.module.css +++ b/src/components/layout/RowAccordion/index.module.css @@ -84,7 +84,7 @@ .contentItemTitle { /* height: 6.25rem; */ - font-weight: 500; + font-weight: 600; font-size: 1.5rem; color: #FFFFFF; transition: all var(--duration) ease-in-out; @@ -114,6 +114,7 @@ .contentItemContent { font-size: 1rem; /* margin-top: 2.5rem; */ + line-height: 34px; } .contentItemLinks { diff --git a/src/layouts/Footer.module.css b/src/layouts/Footer.module.css index 885c6ff..387c051 100644 --- a/src/layouts/Footer.module.css +++ b/src/layouts/Footer.module.css @@ -26,12 +26,22 @@ font-weight: 600; color: #222; margin-bottom: .25rem; + + font-family: Source Han Sans, Source Han Sans; + font-size: 16px; + color: #222222; + line-height: 22px; } .footerLink { font-size: .8125rem; color: #666; text-decoration: none; + font-family: Source Han Sans, Source Han Sans; + font-weight: 400; + font-size: 14px; + color: #666666; + line-height: 20px; } .footerLink:hover { @@ -188,4 +198,4 @@ .footerLowerInner { font-size: 0.75rem; } -} +} \ No newline at end of file diff --git a/src/layouts/Footer.tsx b/src/layouts/Footer.tsx index adb73c9..c088d87 100644 --- a/src/layouts/Footer.tsx +++ b/src/layouts/Footer.tsx @@ -1,9 +1,11 @@ -import { Link } from "react-router-dom"; +import { Link, useLocation } from "react-router-dom"; import styles from "./Footer.module.css"; import { useStore } from "@/store"; import type { NavItem, NavChild } from "@/type"; +import { useEffect, useState } from "react"; export default function Footer() { + const location = useLocation(); const appConfig = useStore((s) => s.appConfig); const footer = appConfig?.__global__?.footer; @@ -15,9 +17,15 @@ export default function Footer() { const icpNumber = footer?.icpNumber ?? "京ICP备05026114号-1"; const logo = appConfig?.__global__.company?.logo; + const [path, setPath] = useState(""); + useEffect(() => { + setPath(location.pathname); + }, [location]); return ( -