diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 48f8306..64abb48 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -55,7 +55,7 @@ export type { BannerConfig } from "@/type"; type Props = { title: string; subtitle?: string; - desc?: string; + desc?: string | React.ReactNode; content?: string; largedesc?: string; titleSize?: "large" | "medium" | string; diff --git a/src/components/SineWaveTimeline/index.module.css b/src/components/SineWaveTimeline/index.module.css index 96adf84..857a932 100644 --- a/src/components/SineWaveTimeline/index.module.css +++ b/src/components/SineWaveTimeline/index.module.css @@ -33,13 +33,14 @@ } .dotOuter { - fill: #14355c; + fill: transparent; stroke: #2d4a7c; - stroke-width: 2; + /* stroke-width: 2; */ + /* border: 1px solid #14355C; */ } .dotInner { - fill: rgba(255, 255, 255, 0.9); + fill: #14355C; } .labelsOverlay { diff --git a/src/components/SineWaveTimeline/index.tsx b/src/components/SineWaveTimeline/index.tsx index 6884e59..3a8e3e1 100644 --- a/src/components/SineWaveTimeline/index.tsx +++ b/src/components/SineWaveTimeline/index.tsx @@ -152,14 +152,14 @@ export default function SineWaveTimeline({ items, height: propHeight = 400, refE d={bgPathD} className={styles.bgPath} fill="none" - strokeWidth="1" + strokeWidth="3" /> {/* 主正弦 */} {/* 峰谷圆点与垂直线 */} {points.map((point, i) => ( @@ -178,13 +178,13 @@ export default function SineWaveTimeline({ items, height: propHeight = 400, refE diff --git a/src/components/layout/SwiperCardSection/index.tsx b/src/components/layout/SwiperCardSection/index.tsx index 548cd6c..968b672 100644 --- a/src/components/layout/SwiperCardSection/index.tsx +++ b/src/components/layout/SwiperCardSection/index.tsx @@ -49,7 +49,7 @@ export default function SwiperCardSection({ data }: { data: Data }) { className={styles.navBtn} onClick={() => swiperRef?.slidePrev()} > - + )} swiperRef?.slideNext()} > - - {/* */} + )} diff --git a/src/pages/Home/Home.module.css b/src/pages/Home/Home.module.css index ca0578d..8d20ea5 100644 --- a/src/pages/Home/Home.module.css +++ b/src/pages/Home/Home.module.css @@ -307,6 +307,7 @@ background-image: linear-gradient(135deg, #1a2a4a 0%, #2d4a7c 100%); } + /* News */ .newsGrid { gap: 1.25rem; diff --git a/src/pages/Home/index.tsx b/src/pages/Home/index.tsx index 4cc749e..756ad9c 100644 --- a/src/pages/Home/index.tsx +++ b/src/pages/Home/index.tsx @@ -32,7 +32,7 @@ export default function Home() { {/* Hero */} {banner?.content}} backgroundImage={banner?.backgroundImage } />