This commit is contained in:
aaron 2025-02-28 22:08:14 +08:00
parent f49c8cdd1b
commit 0bf6f27c46

View File

@ -84,7 +84,7 @@ export default {
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 30px 20px 50px;
padding: 20px 15px 30px;
background: linear-gradient(to bottom, #FFCC00, #FFFFFF);
position: relative;
overflow: hidden;
@ -96,21 +96,21 @@ export default {
background-color: #FFFFFF;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
padding: 30px 20px;
margin-top: 50px;
padding: 20px 15px;
margin-top: 30px;
position: relative;
z-index: 1;
}
.step-item {
padding: 20px 0;
padding: 12px 0;
}
.step-number {
font-size: 24px;
font-size: 20px;
font-weight: bold;
color: #FFCC00;
margin-bottom: 15px;
margin-bottom: 10px;
text-align: center;
}
@ -121,44 +121,44 @@ export default {
}
.step-title {
font-size: 18px;
font-size: 16px;
font-weight: bold;
color: #333333;
}
.step-arrow {
margin: 0 15px;
font-size: 20px;
margin: 0 10px;
font-size: 18px;
color: #FFCC00;
}
.step-description {
font-size: 16px;
font-size: 14px;
color: #999999;
}
.step-divider {
height: 1px;
background: linear-gradient(to right, transparent, #EEEEEE, transparent);
margin: 0 20px;
margin: 0 15px;
}
.logo-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
margin-top: 30px;
}
.logo-bee {
width: 60px;
height: 60px;
margin-bottom: 10px;
width: 35px;
height: 35px;
margin-bottom: 5px;
object-fit: contain;
}
.logo-text {
width: 120px;
width: 85px;
height: auto;
object-fit: contain;
}
@ -166,33 +166,122 @@ export default {
/* 响应式调整 */
@media (max-width: 480px) {
.steps-card {
padding: 20px 15px;
padding: 15px 10px;
}
.step-item {
padding: 10px 0;
}
.step-number {
font-size: 20px;
font-size: 18px;
margin-bottom: 8px;
}
.step-title {
font-size: 16px;
font-size: 15px;
}
.step-arrow {
margin: 0 10px;
font-size: 18px;
margin: 0 8px;
font-size: 16px;
}
.step-description {
font-size: 14px;
font-size: 13px;
}
.logo-bee {
width: 50px;
height: 50px;
width: 30px;
height: 30px;
}
.logo-text {
width: 100px;
width: 70px;
}
}
/* 添加额外的媒体查询,针对特别小的屏幕 */
@media (max-height: 640px) {
.how-to-use-container {
padding: 15px 10px 20px;
}
.steps-card {
margin-top: 15px;
padding: 10px 8px;
}
.step-item {
padding: 8px 0;
}
.step-number {
font-size: 16px;
margin-bottom: 5px;
}
.step-title {
font-size: 14px;
}
.step-arrow {
margin: 0 5px;
font-size: 14px;
}
.step-description {
font-size: 12px;
}
.logo-container {
margin-top: 15px;
}
.logo-bee {
width: 25px;
height: 25px;
margin-bottom: 3px;
}
.logo-text {
width: 60px;
}
}
/* 添加针对超小屏幕的媒体查询 */
@media (max-height: 568px) {
/* iPhone 5/SE 等超小屏幕 */
.logo-bee {
width: 22px;
height: 22px;
margin-bottom: 2px;
}
.logo-text {
width: 50px;
}
.step-item {
padding: 6px 0;
}
.step-number {
font-size: 15px;
margin-bottom: 4px;
}
.step-title {
font-size: 13px;
}
.step-arrow {
margin: 0 4px;
font-size: 13px;
}
.step-description {
font-size: 11px;
}
}
</style>