From 785b455176ddadd144169e4bac9c21c69835f722 Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Mon, 30 Mar 2026 18:52:04 +0800 Subject: [PATCH] ud --- src/components/Banner.module.css | 3 +-- src/components/layout/ParagraphSection/index.module.css | 2 +- src/components/layout/SwiperCardSection/index.module.css | 5 ++++- src/components/layout/TopTabsSection/index.module.css | 2 +- src/pages/About/Founder.module.css | 3 +++ src/pages/About/History.module.css | 3 +++ src/pages/About/History.tsx | 3 ++- src/pages/Business/InvestGroup.module.css | 4 ++-- src/pages/Home/Home.module.css | 8 ++++---- src/pages/Join/Culture.tsx | 2 +- src/pages/PropertyService/index.tsx | 9 --------- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/components/Banner.module.css b/src/components/Banner.module.css index 79bbc76..89b73d0 100644 --- a/src/components/Banner.module.css +++ b/src/components/Banner.module.css @@ -11,10 +11,9 @@ } .heroIcon { - width: 10rem; + /* width: 10rem; */ height: 10rem; object-fit: cover; - margin-left: -1.875rem; margin-bottom: -2.5rem; } diff --git a/src/components/layout/ParagraphSection/index.module.css b/src/components/layout/ParagraphSection/index.module.css index 07b18c8..c53b303 100644 --- a/src/components/layout/ParagraphSection/index.module.css +++ b/src/components/layout/ParagraphSection/index.module.css @@ -4,7 +4,7 @@ background: rgba(255, 255, 255, 0.8); background-size: cover; background-position: center; - background-repeat: repeat; + background-repeat: no-repeat; } diff --git a/src/components/layout/SwiperCardSection/index.module.css b/src/components/layout/SwiperCardSection/index.module.css index 70003a2..6232a69 100644 --- a/src/components/layout/SwiperCardSection/index.module.css +++ b/src/components/layout/SwiperCardSection/index.module.css @@ -4,7 +4,7 @@ background: #D8D8D8; background-size: cover; background-position: center; - background-repeat: repeat; + background-repeat: no-repeat; } .carouselWrapper { @@ -29,6 +29,9 @@ transform: translateY(-50%); left: -5.625rem; z-index: 99; + display: flex; + justify-content: center; + align-items: center; } .nextBtn { diff --git a/src/components/layout/TopTabsSection/index.module.css b/src/components/layout/TopTabsSection/index.module.css index 750b7ac..ed3e0d7 100644 --- a/src/components/layout/TopTabsSection/index.module.css +++ b/src/components/layout/TopTabsSection/index.module.css @@ -4,7 +4,7 @@ min-height: calc(100vh / var(--zoom-compensation, 1)); background-size: cover; background-position: center; - background-repeat: repeat; + background-repeat: no-repeat; } .topTabsTabs { diff --git a/src/pages/About/Founder.module.css b/src/pages/About/Founder.module.css index 98e0704..d45522a 100644 --- a/src/pages/About/Founder.module.css +++ b/src/pages/About/Founder.module.css @@ -110,6 +110,9 @@ .sectionFounder { padding: 6.25rem 0 9.375rem; min-height: calc(100vh / var(--zoom-compensation, 1)); + background-size: cover; + background-position: center; + background-repeat: no-repeat; } .founderIntroduction h2 { diff --git a/src/pages/About/History.module.css b/src/pages/About/History.module.css index 322a26e..e71aacd 100644 --- a/src/pages/About/History.module.css +++ b/src/pages/About/History.module.css @@ -13,6 +13,9 @@ padding-bottom: 9.375rem; display: flex; flex-direction: column; + background-size: cover; + background-position: center; + background-repeat: no-repeat; } .sectionInner { diff --git a/src/pages/About/History.tsx b/src/pages/About/History.tsx index 5ff6dce..153759c 100644 --- a/src/pages/About/History.tsx +++ b/src/pages/About/History.tsx @@ -14,6 +14,7 @@ export default function AboutHistory() { const history = appConfig?.about?.history; const banner = history?.banner; + const section1Data = history?.section1Data; const [year, setYear] = useState(null); const handleYearChange = (year: number | null) => { setYear(year); @@ -57,7 +58,7 @@ export default function AboutHistory() { backgroundImage={banner?.backgroundImage ?? "/images/bg-overview.png"} /> -
+
diff --git a/src/pages/Business/InvestGroup.module.css b/src/pages/Business/InvestGroup.module.css index 9564266..1608b32 100644 --- a/src/pages/Business/InvestGroup.module.css +++ b/src/pages/Business/InvestGroup.module.css @@ -5,7 +5,7 @@ background: rgba(0, 39, 83, 0.7); background-size: cover; background-position: center; - background-repeat: repeat; + background-repeat: no-repeat; .investGroupInner { margin: 0 auto; @@ -80,7 +80,7 @@ background: rgba(255, 255, 255, 0.6); background-size: cover; background-position: center; - background-repeat: repeat; + background-repeat: no-repeat; .equityInvestmentItems { /* 5列布局 */ diff --git a/src/pages/Home/Home.module.css b/src/pages/Home/Home.module.css index 8d20ea5..038007f 100644 --- a/src/pages/Home/Home.module.css +++ b/src/pages/Home/Home.module.css @@ -251,7 +251,7 @@ } .cardTitle { - font-size: 1.25rem; + font-size: 2.5rem; } .newsItemSnippet { @@ -285,18 +285,18 @@ .cardContent { position: relative; z-index: 1; - padding: 2rem; + padding: 0 5rem 4.25rem 5rem; color: #fff; } .cardTitle { - font-size: 1.5rem; + font-size: 2.5rem; font-weight: 600; margin: 0 0 0.75rem; } .cardDesc { - font-size: 0.875rem; + font-size: 1.25rem; line-height: 1.7; margin: 0; opacity: 0.95; diff --git a/src/pages/Join/Culture.tsx b/src/pages/Join/Culture.tsx index 707062b..5ca6f4f 100644 --- a/src/pages/Join/Culture.tsx +++ b/src/pages/Join/Culture.tsx @@ -53,7 +53,7 @@ export default function Culture() {
{section2Data.items?.map((item: { title: string; content?: string; icon?: string }, index: number) => ( diff --git a/src/pages/PropertyService/index.tsx b/src/pages/PropertyService/index.tsx index a643f21..27d5e97 100644 --- a/src/pages/PropertyService/index.tsx +++ b/src/pages/PropertyService/index.tsx @@ -18,15 +18,6 @@ export default function PropertyService() { const section4Data = data.section4Data; const swiperCardData = section2Data - ? { - title: section2Data.title, - cardItems: section2Data.cardItems?.map((c: { title: string; content: string; backgroundImage?: string }) => ({ - title: c.title, - content: c.content, - backgroundImage: c.backgroundImage, - })) ?? [], - } - : null; const rowAccordionData = section3Data ? {