This commit is contained in:
zhangjianjun 2026-04-14 18:15:02 +08:00
parent 569f6bf15d
commit 29516c9a1e
16 changed files with 24 additions and 23 deletions

View File

@ -30,7 +30,7 @@ ul, li {
.App-header { .App-header {
background-color: #282c34; background-color: #282c34;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
@ -106,7 +106,7 @@ body {
.layout { .layout {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
} }
.layout-header { .layout-header {

View File

@ -1,7 +1,7 @@
/* Hero */ /* Hero */
.hero { .hero {
position: relative; position: relative;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
padding-bottom: 3.125rem; padding-bottom: 3.125rem;

View File

@ -1,6 +1,6 @@
.screenOpen { .screenOpen {
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -21,7 +21,7 @@
.screenOpenBackground { .screenOpenBackground {
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -3,7 +3,7 @@
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
/* height: 67.5rem; */ /* height: 67.5rem; */
/* height: calc(100vh / var(--zoom-compensation, 1)); */ /* height: 100dvh; */
padding: 6.25rem 0; padding: 6.25rem 0;
background-size: cover; background-size: cover;
background-position: center; background-position: center;

View File

@ -1,6 +1,6 @@
.jobPage { .jobPage {
width: 100%; width: 100%;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
padding: 7.5rem 6.25rem; padding: 7.5rem 6.25rem;
.jobPageHeaderLine { .jobPageHeaderLine {

View File

@ -6,7 +6,7 @@
overflow-anchor: none; overflow-anchor: none;
/* padding: 0 13.54vw; */ /* padding: 0 13.54vw; */
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
} }
.rowAccordionBgContainer { .rowAccordionBgContainer {
position: absolute; position: absolute;

View File

@ -1,5 +1,5 @@
.swiperCardSection { .swiperCardSection {
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
padding: 6.25rem 13.54vw; padding: 6.25rem 13.54vw;
background: #D8D8D8; background: #D8D8D8;
background-size: cover; background-size: cover;
@ -24,7 +24,7 @@
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
left: -5.625rem; left: -90px;
z-index: 99; z-index: 99;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -33,7 +33,7 @@
.nextBtn { .nextBtn {
left: auto; left: auto;
right: -5.625rem; right: -90px;
} }
.swiperCardList { .swiperCardList {

View File

@ -1,8 +1,7 @@
.topTabsSection { .topTabsSection {
padding: 6.25rem 0 0 0; padding: 6.25rem 0 0 0;
padding: 6.25rem 13.54vw 0 13.54vw; padding: 6.25rem 13.54vw;
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1));
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -19,6 +19,8 @@ html {
@media screen and (max-width: 1440px) { @media screen and (max-width: 1440px) {
html { html {
--design-rem-base: 14px; --design-rem-base: 14px;
font-size: 10px;
} }
} }

View File

@ -1,7 +1,7 @@
/* Section block - full-width with background */ /* Section block - full-width with background */
.section { .section {
position: relative; position: relative;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
display: flex; display: flex;

View File

@ -1,7 +1,7 @@
.section { .section {
background: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.6);
border-radius: 0; border-radius: 0;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
width: 100%; width: 100%;
padding: 6.25rem 13.54vw; padding: 6.25rem 13.54vw;
display: flex; display: flex;
@ -109,7 +109,7 @@
.sectionFounder { .sectionFounder {
padding: 6.25rem 0 9.375rem; padding: 6.25rem 0 9.375rem;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -7,7 +7,7 @@
rgba(200, 200, 205, 0.3) .125rem, rgba(200, 200, 205, 0.3) .125rem,
rgba(200, 200, 205, 0.3) .25rem rgba(200, 200, 205, 0.3) .25rem
); );
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
width: 100%; width: 100%;
padding: 6.25rem 0; padding: 6.25rem 0;
padding-bottom: 9.375rem; padding-bottom: 9.375rem;

View File

@ -163,7 +163,7 @@
/* Features Section */ /* Features Section */
.featuresHero { .featuresHero {
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -252,7 +252,7 @@
} }
.propertyServices { .propertyServices {
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
color: #fff; color: #fff;
padding: 0 13.54vw; padding: 0 13.54vw;
} }

View File

@ -111,7 +111,7 @@
.industryFoster { .industryFoster {
width: 100%; width: 100%;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
display: flex; display: flex;
align-items: center; align-items: center;
position: relative; position: relative;

View File

@ -1,7 +1,7 @@
/* Hero */ /* Hero */
.hero { .hero {
position: relative; position: relative;
min-height: calc(100vh / var(--zoom-compensation, 1)); min-height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
} }
@ -41,7 +41,7 @@
/* Commercial */ /* Commercial */
.commercial { .commercial {
position: relative; position: relative;
height: calc(100vh / var(--zoom-compensation, 1)); height: 100dvh;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
display: flex; display: flex;

View File

@ -126,7 +126,7 @@ export default function Sustainability() {
<ColumnXGrids items={columnXGridsData} /> <ColumnXGrids items={columnXGridsData} />
</ParagraphSection> </ParagraphSection>
)} )}
{section3Data && ( {section3Data && section3Data.hide !== true && (
<Section <Section
title={section3Data.title} title={section3Data.title}
background={section3Data.backgroundImage ?? ""} background={section3Data.backgroundImage ?? ""}