第三页优化

This commit is contained in:
2026-02-27 14:39:04 +08:00
parent d11855f356
commit 48723cdfcf
3 changed files with 62 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -10,6 +10,7 @@
unknown encounter.
</h2>
<div class="section-card">
<img src="/src/assets/images/three-douhao.png" class="douhao-img">
<p class="section-desc">
Every moment you open it, you embark on a poetic encounter with the unknown, and meet the unexpected beauty.
</p>
@@ -63,7 +64,7 @@
margin-left: -25%;
}
.section-card{
position: relative;
width: clamp(400px, 32vw, 1600px);;
height: clamp(200px, 16vw, 800px);
background: #FFFFFF;
@@ -75,7 +76,16 @@
font-size: @font-desc;
line-height: 1.8;
color: #888;
.douhao-img{
position: absolute;
height: 20%;
left: 40%;
top: 15%;
}
}
.hero-buttons {
display: flex;
gap: clamp(10px, 3vw, 35px);
@@ -134,16 +144,56 @@
@media (max-width: 768px) {
.content-wrapper {
flex-direction: column-reverse;
gap: 32px;
padding: 0 24px;
align-items: center;
justify-content: center;
gap: 20px;
padding: 0 20px;
}
.section-title { text-align: center; }
.section-desc { text-align: center; }
.phone-placeholder { width: 180px; height: 333px; }
.text-side {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.section-title {
text-align: center;
margin-left: 0;
font-size: clamp(24px, 6vw, 36px);
}
.section-card {
width: 100%;
max-width: 360px;
height: auto;
margin-left: 0;
padding: 20px;
border-radius: 16px 36px 16px 16px;
box-sizing: border-box;
}
.section-desc {
text-align: center;
}
.hero-buttons {
justify-content: center;
margin-top: 14px;
}
.btn-img {
height: clamp(34px, 6vh, 56px);
}
.phone-img {
height: clamp(320px, 50vh, 800px);
height: clamp(220px, 38vh, 420px);
width: auto;
display: block;
}
.deco {
display: none;
}
}
</style>

View File

@@ -17,10 +17,10 @@
</div>
<img src="/src/assets/images/bg-top-phone.png" class="phone-main" />
</div>
<!-- <div class="deco deco-coin1">🪙</div>
<div class="deco deco-coin1">🎁</div>
<div class="deco deco-coin2">🏆</div>
<div class="deco deco-star1"></div>
<div class="deco deco-star2"></div> -->
<div class="deco deco-star2"></div>
</div>
</section>
</template>