第三个页

This commit is contained in:
2026-02-27 14:20:35 +08:00
parent 3475dbae15
commit d11855f356
6 changed files with 114 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@@ -4,8 +4,8 @@
// 字体 // 字体
@font-hero: clamp(22px, 2.7vw, 72px); // 首页大标题 @font-hero: clamp(22px, 2.7vw, 72px); // 首页大标题
@font-title: clamp(24px, 2.2vw, 52px); // 各页标题 @font-title: clamp(24px, 2.6vw, 52px); // 各页标题
@font-desc: clamp(13px, 1.3vw, 30px); // 描述文字 @font-desc: clamp(13px, 1.1vw, 30px); // 描述文字
@font-nav: clamp(12px, 1vw, 18px); // 导航文字 @font-nav: clamp(12px, 1vw, 18px); // 导航文字
@font-btn: clamp(12px, 1vw, 18px); // 按钮文字 @font-btn: clamp(12px, 1vw, 18px); // 按钮文字
@font-small: clamp(11px, 0.65vw, 15px); // 小字 @font-small: clamp(11px, 0.65vw, 15px); // 小字

View File

@@ -90,6 +90,17 @@ defineExpose({ currentIndex, goTo })
z-index: 100; z-index: 100;
} }
@media (max-width: 768px) {
.fullpage-dots {
right: unset;
top: unset;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
flex-direction: row;
}
}
.dot { .dot {
width: 10px; width: 10px;
height: 10px; height: 10px;

View File

@@ -2,16 +2,22 @@
<section class="page page-advantage"> <section class="page page-advantage">
<div class="content-wrapper"> <div class="content-wrapper">
<div class="image-side"> <div class="image-side">
<div class="phone-placeholder"><span>手机截图</span></div> <img src="/src/assets/images/three-phone.png" class="phone-img" />
</div> </div>
<div class="text-side"> <div class="text-side">
<h2 class="section-title"> <h2 class="section-title">
Every opening is an<br /> Every opening is an<br />
unknown encounter unknown encounter.
</h2> </h2>
<div class="section-card">
<p class="section-desc"> <p class="section-desc">
每一次开启都是一场未知的邂逅探索全新的交互体验让沟通充满惊喜与期待 Every moment you open it, you embark on a poetic encounter with the unknown, and meet the unexpected beauty.
</p> </p>
<div class="hero-buttons">
<a href="#"><img src="/src/assets/images/android.png" class="btn-img" /></a>
<a href="#"><img src="/src/assets/images/appStore.png" class="btn-img" /></a>
</div>
</div>
</div> </div>
</div> </div>
<div class="deco deco-1">💎</div> <div class="deco deco-1">💎</div>
@@ -54,21 +60,49 @@
line-height: 1.25; line-height: 1.25;
margin-bottom: clamp(12px, 1.2vh, 28px); margin-bottom: clamp(12px, 1.2vh, 28px);
color: #1a1a1a; color: #1a1a1a;
margin-left: -25%;
} }
.section-card{
width: clamp(400px, 32vw, 1600px);;
height: clamp(200px, 16vw, 800px);
background: #FFFFFF;
box-shadow: 0px 39px 113px 0px rgba(2,190,172,0.2);
border-radius: 2px 100px 2px 2px;
padding: 10% ;
margin-left: -38%;
.section-desc {
font-size: @font-desc; font-size: @font-desc;
line-height: 1.8; line-height: 1.8;
color: #888; color: #888;
max-width: clamp(260px, 22vw, 480px);
} }
.hero-buttons {
display: flex;
gap: clamp(10px, 3vw, 35px);
margin-top: 20px;
}
.btn-img {
height: clamp(36px, 6.6vh, 120px);
width: auto;
display: block;
transition: transform 0.3s;
&:hover {
transform: translateY(-2px);
}
}
.image-side { .image-side {
flex: 1; flex: 1;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.phone-img {
height: clamp(320px, 75vh, 800px);
width: auto;
display: block;
}
.phone-placeholder { .phone-placeholder {
width: @phone-w-main; width: @phone-w-main;
height: @phone-h-main; height: @phone-h-main;
@@ -106,5 +140,10 @@
.section-title { text-align: center; } .section-title { text-align: center; }
.section-desc { text-align: center; } .section-desc { text-align: center; }
.phone-placeholder { width: 180px; height: 333px; } .phone-placeholder { width: 180px; height: 333px; }
.phone-img {
height: clamp(320px, 50vh, 800px);
width: auto;
display: block;
}
} }
</style> </style>

View File

@@ -248,5 +248,14 @@
.phone-center { width: 140px; height: 260px; } .phone-center { width: 140px; height: 260px; }
.phone-left, .phone-right { width: 110px; height: 210px; } .phone-left, .phone-right { width: 110px; height: 210px; }
.deco { display: none; } .deco { display: none; }
.phone-main {
height: clamp(330px, 58vh, 780px);
width: auto;
}
.hero-content {
text-align: center;
margin-bottom: clamp(16px, 6vh, 60px);
}
} }
</style> </style>

View File

@@ -49,6 +49,9 @@
padding: 10vh 6vw 12vh 6vw; padding: 10vh 6vw 12vh 6vw;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
@media (max-width: 768px) {
padding: 12vh 4vw 8vh 4vw;
}
} }
.card { .card {
@@ -171,12 +174,49 @@ bottom: -200%;
@media (max-width: 768px) { @media (max-width: 768px) {
.content-wrapper { .content-wrapper {
flex-direction: column; flex-direction: column;
gap: 32px; align-items: center;
justify-content: center;
gap: 24px;
padding: 0 24px; padding: 0 24px;
padding-top: 0;
margin-top: -20vh;
position: relative;
z-index: 2;
}
.text-side {
max-width: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.title-wrap { display: block; width: 100%; text-align: center; }
.btns-wrap { display: block; width: 100%; text-align: center; }
.section-title { text-align: center; font-size: clamp(24px, 6vw, 40px); }
.section-desc { text-align: center; margin-bottom: clamp(12px, 3vh, 32px); }
.download-btns { justify-content: center; }
.deco-1 { width: clamp(28px, 8vw, 60px); right: -5%; }
.deco-2 { display: none; }
.deco-3 { display: none; }
.two-phone {
display: block;
height: clamp(160px, 38vh, 320px);
right: 50%;
transform: translateX(50%);
bottom: 5%;
z-index: 1;
}
.card {
width: 100%;
height: 100%;
background: #02BEAC;
border-radius: clamp(16px, 2vw, 40px);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
} }
.section-title { text-align: center; }
.section-desc { text-align: center; }
.phone-placeholder { width: 180px; height: 333px; }
} }
</style> </style>