From bf1e0ec53cd39c0eb2ce47c979dd8a40fc2a0f6e Mon Sep 17 00:00:00 2001 From: zhangjianjun Date: Sat, 28 Mar 2026 17:58:51 +0800 Subject: [PATCH] ud --- .../layout/ParagraphSection/index.module.css | 4 ++- .../layout/ParagraphSection/index.tsx | 28 ++++++++++--------- .../layout/SwiperCardSection/index.tsx | 3 +- .../layout/TopTabsSection/index.module.css | 2 ++ .../layout/TopTabsSection/index.tsx | 1 + src/pages/Business/CommercialGroup.module.css | 2 +- src/pages/Business/InvestGroup.tsx | 4 +-- 7 files changed, 26 insertions(+), 18 deletions(-) diff --git a/src/components/layout/ParagraphSection/index.module.css b/src/components/layout/ParagraphSection/index.module.css index dc9894a..07b18c8 100644 --- a/src/components/layout/ParagraphSection/index.module.css +++ b/src/components/layout/ParagraphSection/index.module.css @@ -1,11 +1,13 @@ .paragraphSection { - padding: 6.25rem 16.25rem; + padding: 6.25rem 14vw; + padding: 6.25rem 0; background: rgba(255, 255, 255, 0.8); background-size: cover; background-position: center; background-repeat: repeat; } + .paragraphSectionContent { white-space: pre-line; diff --git a/src/components/layout/ParagraphSection/index.tsx b/src/components/layout/ParagraphSection/index.tsx index d48c781..7190592 100644 --- a/src/components/layout/ParagraphSection/index.tsx +++ b/src/components/layout/ParagraphSection/index.tsx @@ -12,21 +12,23 @@ type Data = { export default function ParagraphSection({ data, children }: { data: Data, children?: React.ReactNode }) { return (
-
-

{data.title} {data.content}

-
- {data.statsData && } - { - data.tags &&
- { - data.tags.map((tag) => ( -
{tag}
- )) - } +
+
+

{data.title} {data.content}

- } + {data.statsData && } + { + data.tags &&
+ { + data.tags.map((tag) => ( +
{tag}
+ )) + } +
+ } - {children} + {children} +
) } \ No newline at end of file diff --git a/src/components/layout/SwiperCardSection/index.tsx b/src/components/layout/SwiperCardSection/index.tsx index d73c696..548cd6c 100644 --- a/src/components/layout/SwiperCardSection/index.tsx +++ b/src/components/layout/SwiperCardSection/index.tsx @@ -83,7 +83,8 @@ export default function SwiperCardSection({ data }: { data: Data }) { className={`${styles.navBtn} ${styles.nextBtn}`} onClick={() => swiperRef?.slideNext()} > - + + {/* */} )} diff --git a/src/components/layout/TopTabsSection/index.module.css b/src/components/layout/TopTabsSection/index.module.css index bf4094b..750b7ac 100644 --- a/src/components/layout/TopTabsSection/index.module.css +++ b/src/components/layout/TopTabsSection/index.module.css @@ -113,6 +113,7 @@ .topTabsContentLeft { flex: 6; margin: auto 0; + width: 30.625rem; .topTabsContentLeftHead { margin-bottom: 1.875rem; @@ -168,6 +169,7 @@ text-align: justify; font-style: normal; text-transform: none; + white-space: pre-line; } } diff --git a/src/components/layout/TopTabsSection/index.tsx b/src/components/layout/TopTabsSection/index.tsx index b2c29f9..23e4bda 100644 --- a/src/components/layout/TopTabsSection/index.tsx +++ b/src/components/layout/TopTabsSection/index.tsx @@ -91,6 +91,7 @@ export default function TopTabsSection({ data, className }: { data: Data, classN

{/* {data.tabItems[activeIndex].contentText ?? data.tabItems[activeIndex].content} */} diff --git a/src/pages/Business/CommercialGroup.module.css b/src/pages/Business/CommercialGroup.module.css index fda9c6f..e7b9361 100644 --- a/src/pages/Business/CommercialGroup.module.css +++ b/src/pages/Business/CommercialGroup.module.css @@ -295,7 +295,7 @@ background: #14355C; border-color: #14355C; color: #FFFFFF; - border: .0625rem solid #FFFFFF; + border: none; } diff --git a/src/pages/Business/InvestGroup.tsx b/src/pages/Business/InvestGroup.tsx index fafce6f..3bb5c42 100644 --- a/src/pages/Business/InvestGroup.tsx +++ b/src/pages/Business/InvestGroup.tsx @@ -37,10 +37,10 @@ export default function InvestGroup() {

- {section2Data.items?.map((item: { title: string; content: string }, index: number) => ( + {section2Data.items?.map((item: { title: string; content: string; logo: string }, index: number) => (
-
{item.title}
+ logo
{item.content}