This commit is contained in:
zhangjianjun 2026-03-28 10:19:49 +08:00
parent ce9ec9b381
commit ee091347e1
7 changed files with 71 additions and 26 deletions

View File

@ -65,18 +65,30 @@
.twoColSectionContent { .twoColSectionContent {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
align-items: stretch;
margin-top: 3.75rem; margin-top: 3.75rem;
min-height: 50rem;
}
.twoColImageWrap {
display: flex;
flex-direction: column;
min-height: 0;
height: 100%;
align-self: stretch;
} }
.twoColImage { .twoColImage {
min-width: 0; min-width: 0;
flex: 1 1 auto;
min-height: 0;
height: 100%;
background: transparent; background: transparent;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-size: cover; background-size: cover;
width: 100%; width: 100%;
aspect-ratio: 962 / 800;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@ -89,8 +101,24 @@
} }
.twoColText { .twoColText {
padding: 6.25rem 16.25rem 0 5rem; /* padding: 6.25rem 16.25rem 0 5rem; */
background: #F0F2F4; background: #F0F2F4;
width: 100%;
display: flex;
flex-direction: column;
min-height: 0;
align-self: stretch;
}
.twoColTextContent {
width: 80%;
margin: 0 auto;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
padding: 2rem 0;
} }
.twoColTitle { .twoColTitle {
@ -104,7 +132,9 @@
font-size: 1.125rem; font-size: 1.125rem;
line-height: 1.8; line-height: 1.8;
color: #222; color: #222;
margin: 0 0 1rem; /* width: 100%; */
/* aspect-ratio: 962 / 800; */
overflow: hidden;
} }
.twoColDesc+.twoColDesc { .twoColDesc+.twoColDesc {
@ -112,7 +142,7 @@
} }
.btnPrimary { .btnPrimary {
margin-top: 6.25rem; /* margin-top: 6.25rem; */
display: inline-block; display: inline-block;
width: 6.5rem; width: 6.5rem;
height: 2.375rem; height: 2.375rem;
@ -291,10 +321,6 @@
gap: 2rem; gap: 2rem;
} }
.twoColText {
padding: 2rem;
}
.featuresGrid { .featuresGrid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
@ -326,13 +352,25 @@
flex-direction: column; flex-direction: column;
} }
.twoColImageWrap {
height: auto;
}
.twoColImage { .twoColImage {
flex: none;
height: auto;
aspect-ratio: 16/9; aspect-ratio: 16/9;
min-height: 12rem; min-height: 12rem;
} }
.twoColText { .twoColText {
padding: 1.5rem 1rem; height: auto;
/* padding: 1.5rem 1rem; */
}
.twoColTextContent {
flex: none;
padding: 1.5rem 0;
} }
.twoColTitle { .twoColTitle {

View File

@ -103,7 +103,11 @@ export default function BusinessCommercialGroup() {
> >
<TopTabs className={styles.twoColSectionTabs} data={section2Data} activeIndex={activeTabIndex} setActiveIndex={setActiveTabIndex} /> <TopTabs className={styles.twoColSectionTabs} data={section2Data} activeIndex={activeTabIndex} setActiveIndex={setActiveTabIndex} />
<div className={styles.twoColSectionContent}> <div className={styles.twoColSectionContent}>
<ScrollReveal preset="slideRight" duration={1}> <ScrollReveal
preset="slideRight"
duration={1}
className={styles.twoColImageWrap}
>
<div className={styles.twoColImage} style={{ <div className={styles.twoColImage} style={{
backgroundImage: `url(${section2Data.tabItems[activeTabIndex]?.sideImage as string})`, backgroundImage: `url(${section2Data.tabItems[activeTabIndex]?.sideImage as string})`,
}}> }}>
@ -111,6 +115,7 @@ export default function BusinessCommercialGroup() {
</ScrollReveal> </ScrollReveal>
<div className={styles.twoColText}> <div className={styles.twoColText}>
<div className={styles.twoColTextContent}>
<ScrollReveal preset="slideUp" delay={0.5} > <ScrollReveal preset="slideUp" delay={0.5} >
<p className={styles.twoColDesc} dangerouslySetInnerHTML={{ __html: section2Data.tabItems[activeTabIndex]?.content ?? "" }}></p> <p className={styles.twoColDesc} dangerouslySetInnerHTML={{ __html: section2Data.tabItems[activeTabIndex]?.content ?? "" }}></p>
</ScrollReveal> </ScrollReveal>
@ -122,6 +127,7 @@ export default function BusinessCommercialGroup() {
</Link> </Link>
</div> </div>
</div> </div>
</div>
</Section> </Section>

View File

@ -22,7 +22,7 @@ export default function AuditReport() {
/> />
<Section background="" maskBackground="#fff"> <Section background="" maskBackground="#fff">
<div className={styles.auditReport}> <div className={`${styles.auditReport} w-72-inner`}>
<p <p
className={styles.auditReportP} className={styles.auditReportP}
dangerouslySetInnerHTML={{ __html: content }} dangerouslySetInnerHTML={{ __html: content }}

View File

@ -19,7 +19,7 @@ export default function PrivacyPolicy() {
/> />
<Section background="" maskBackground="#fff"> <Section background="" maskBackground="#fff">
<p <p className="w-72-inner"
style={{ style={{
fontSize: "18px", fontSize: "18px",
lineHeight: "34px", lineHeight: "34px",

View File

@ -31,7 +31,7 @@ export default function Search() {
result: "个结果", result: "个结果",
} }
const [page, setPage] = useState(1); const [page, setPage] = useState(1);
const [size] = useState(2 * supportLocales.length); const [size] = useState(5 * supportLocales.length);
const [total, setTotal] = useState(0); const [total, setTotal] = useState(0);
const categoryId = String(categoryList?.find((item: any) => item.name.includes('集团发布'))?.id ?? ''); const categoryId = String(categoryList?.find((item: any) => item.name.includes('集团发布'))?.id ?? '');
@ -112,13 +112,13 @@ export default function Search() {
className={styles.searchBtn} className={styles.searchBtn}
onClick={handleSearch} onClick={handleSearch}
> >
{searchTips.search}: {searchTips.search}
</button> </button>
</div> </div>
</section> </section>
<Section background="" maskBackground="#fff"> <Section background="" maskBackground="#fff">
<div className={styles.searchItemList}> <div className={`${styles.searchItemList} w-72-inner`}>
{localSearchData.map((item) => ( {localSearchData.map((item) => (
<Link to={item.path ?? ''} key={item.id} className={styles.searchItem}> <Link to={item.path ?? ''} key={item.id} className={styles.searchItem}>
<div className={styles.searchItemTitleRow}> <div className={styles.searchItemTitleRow}>

View File

@ -25,7 +25,7 @@ export default function SiteMap() {
/> />
<Section background="" maskBackground="#fff"> <Section background="" maskBackground="#fff">
<div className={styles.siteMap}> <div className={`${styles.siteMap} w-72-inner`}>
<div className={styles.siteMapTitle}>{title}</div> <div className={styles.siteMapTitle}>{title}</div>
<div className={styles.siteMapItems}> <div className={styles.siteMapItems}>

View File

@ -19,7 +19,8 @@ export default function TermsOfUse() {
/> />
<Section background="" maskBackground="#fff"> <Section background="" maskBackground="#fff">
<p
<p className="w-72-inner"
style={{ style={{
fontSize: "1.125rem", fontSize: "1.125rem",
lineHeight: "2.125rem", lineHeight: "2.125rem",