第三页优化
This commit is contained in:
BIN
src/assets/images/three-douhao.png
Normal file
BIN
src/assets/images/three-douhao.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
@@ -10,6 +10,7 @@
|
|||||||
unknown encounter.
|
unknown encounter.
|
||||||
</h2>
|
</h2>
|
||||||
<div class="section-card">
|
<div class="section-card">
|
||||||
|
<img src="/src/assets/images/three-douhao.png" class="douhao-img">
|
||||||
<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.
|
Every moment you open it, you embark on a poetic encounter with the unknown, and meet the unexpected beauty.
|
||||||
</p>
|
</p>
|
||||||
@@ -63,7 +64,7 @@
|
|||||||
margin-left: -25%;
|
margin-left: -25%;
|
||||||
}
|
}
|
||||||
.section-card{
|
.section-card{
|
||||||
|
position: relative;
|
||||||
width: clamp(400px, 32vw, 1600px);;
|
width: clamp(400px, 32vw, 1600px);;
|
||||||
height: clamp(200px, 16vw, 800px);
|
height: clamp(200px, 16vw, 800px);
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
@@ -75,7 +76,16 @@
|
|||||||
font-size: @font-desc;
|
font-size: @font-desc;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
|
||||||
|
.douhao-img{
|
||||||
|
position: absolute;
|
||||||
|
height: 20%;
|
||||||
|
left: 40%;
|
||||||
|
top: 15%;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.hero-buttons {
|
.hero-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: clamp(10px, 3vw, 35px);
|
gap: clamp(10px, 3vw, 35px);
|
||||||
@@ -134,16 +144,56 @@
|
|||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
gap: 32px;
|
align-items: center;
|
||||||
padding: 0 24px;
|
justify-content: center;
|
||||||
|
gap: 20px;
|
||||||
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
.section-title { text-align: center; }
|
|
||||||
.section-desc { text-align: center; }
|
.text-side {
|
||||||
.phone-placeholder { width: 180px; height: 333px; }
|
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 {
|
.phone-img {
|
||||||
height: clamp(320px, 50vh, 800px);
|
height: clamp(220px, 38vh, 420px);
|
||||||
width: auto;
|
width: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.deco {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -17,10 +17,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<img src="/src/assets/images/bg-top-phone.png" class="phone-main" />
|
<img src="/src/assets/images/bg-top-phone.png" class="phone-main" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="deco deco-coin1">🪙</div>
|
<div class="deco deco-coin1">🎁</div>
|
||||||
<div class="deco deco-coin2">🏆</div>
|
<div class="deco deco-coin2">🏆</div>
|
||||||
<div class="deco deco-star1">✨</div>
|
<div class="deco deco-star1">✨</div>
|
||||||
<div class="deco deco-star2">⭐</div> -->
|
<div class="deco deco-star2">⭐</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user