This commit is contained in:
zhangjianjun 2026-03-30 18:52:04 +08:00
parent 4b93f2df71
commit 785b455176
11 changed files with 22 additions and 22 deletions

View File

@ -11,10 +11,9 @@
} }
.heroIcon { .heroIcon {
width: 10rem; /* width: 10rem; */
height: 10rem; height: 10rem;
object-fit: cover; object-fit: cover;
margin-left: -1.875rem;
margin-bottom: -2.5rem; margin-bottom: -2.5rem;
} }

View File

@ -4,7 +4,7 @@
background: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.8);
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
} }

View File

@ -4,7 +4,7 @@
background: #D8D8D8; background: #D8D8D8;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
} }
.carouselWrapper { .carouselWrapper {
@ -29,6 +29,9 @@
transform: translateY(-50%); transform: translateY(-50%);
left: -5.625rem; left: -5.625rem;
z-index: 99; z-index: 99;
display: flex;
justify-content: center;
align-items: center;
} }
.nextBtn { .nextBtn {

View File

@ -4,7 +4,7 @@
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: calc(100vh / var(--zoom-compensation, 1));
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
} }
.topTabsTabs { .topTabsTabs {

View File

@ -110,6 +110,9 @@
.sectionFounder { .sectionFounder {
padding: 6.25rem 0 9.375rem; padding: 6.25rem 0 9.375rem;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: calc(100vh / var(--zoom-compensation, 1));
background-size: cover;
background-position: center;
background-repeat: no-repeat;
} }
.founderIntroduction h2 { .founderIntroduction h2 {

View File

@ -13,6 +13,9 @@
padding-bottom: 9.375rem; padding-bottom: 9.375rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
} }
.sectionInner { .sectionInner {

View File

@ -14,6 +14,7 @@ export default function AboutHistory() {
const history = appConfig?.about?.history; const history = appConfig?.about?.history;
const banner = history?.banner; const banner = history?.banner;
const section1Data = history?.section1Data;
const [year, setYear] = useState<number | null>(null); const [year, setYear] = useState<number | null>(null);
const handleYearChange = (year: number | null) => { const handleYearChange = (year: number | null) => {
setYear(year); setYear(year);
@ -57,7 +58,7 @@ export default function AboutHistory() {
backgroundImage={banner?.backgroundImage ?? "/images/bg-overview.png"} backgroundImage={banner?.backgroundImage ?? "/images/bg-overview.png"}
/> />
<section className={styles.section}> <section className={styles.section} style={{backgroundImage: `url(${section1Data?.backgroundImage})`}}>
<div className={styles.sectionInner}> <div className={styles.sectionInner}>
<div className={styles.headRow}> <div className={styles.headRow}>
<YearPicker placeholder="年份" value={year} onChange={handleYearChange} /> <YearPicker placeholder="年份" value={year} onChange={handleYearChange} />

View File

@ -5,7 +5,7 @@
background: rgba(0, 39, 83, 0.7); background: rgba(0, 39, 83, 0.7);
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
.investGroupInner { .investGroupInner {
margin: 0 auto; margin: 0 auto;
@ -80,7 +80,7 @@
background: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.6);
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
.equityInvestmentItems { .equityInvestmentItems {
/* 5列布局 */ /* 5列布局 */

View File

@ -251,7 +251,7 @@
} }
.cardTitle { .cardTitle {
font-size: 1.25rem; font-size: 2.5rem;
} }
.newsItemSnippet { .newsItemSnippet {
@ -285,18 +285,18 @@
.cardContent { .cardContent {
position: relative; position: relative;
z-index: 1; z-index: 1;
padding: 2rem; padding: 0 5rem 4.25rem 5rem;
color: #fff; color: #fff;
} }
.cardTitle { .cardTitle {
font-size: 1.5rem; font-size: 2.5rem;
font-weight: 600; font-weight: 600;
margin: 0 0 0.75rem; margin: 0 0 0.75rem;
} }
.cardDesc { .cardDesc {
font-size: 0.875rem; font-size: 1.25rem;
line-height: 1.7; line-height: 1.7;
margin: 0; margin: 0;
opacity: 0.95; opacity: 0.95;

View File

@ -53,7 +53,7 @@ export default function Culture() {
<Section <Section
title={section2Data.title} title={section2Data.title}
background={section2Data.backgroundImage ?? ""} background={section2Data.backgroundImage ?? ""}
maskBackground="rgba(216,216,216,0.6)" maskBackground="transparent"
> >
<div className={`${styles.valuesItems}`} style={{ margin: "0 auto", width: "60%" }}> <div className={`${styles.valuesItems}`} style={{ margin: "0 auto", width: "60%" }}>
{section2Data.items?.map((item: { title: string; content?: string; icon?: string }, index: number) => ( {section2Data.items?.map((item: { title: string; content?: string; icon?: string }, index: number) => (

View File

@ -18,15 +18,6 @@ export default function PropertyService() {
const section4Data = data.section4Data; const section4Data = data.section4Data;
const swiperCardData = section2Data 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 const rowAccordionData = section3Data
? { ? {