fix: 调整首页布局

- 调整首页文字布局
This commit is contained in:
2025-09-24 12:00:38 +08:00
parent dd05dc5175
commit e7d2b28cb4

View File

@ -23,7 +23,7 @@
</div> </div>
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
<section> <section class="homepage-section">
<h2>推荐产品</h2> <h2>推荐产品</h2>
<p> <p>
探索我们的精选产品满足您的各种需求无论是创新技术还是经典设计我们都为您提供优质选择 探索我们的精选产品满足您的各种需求无论是创新技术还是经典设计我们都为您提供优质选择
@ -73,7 +73,7 @@
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</section> </section>
<section> <section class="homepage-section">
<h2>推荐解决方案</h2> <h2>推荐解决方案</h2>
<p>了解我们的定制解决方案,帮助您优化业务流程,提高效率。</p> <p>了解我们的定制解决方案,帮助您优化业务流程,提高效率。</p>
<el-carousel <el-carousel
@ -251,6 +251,11 @@
font-size: 14px; font-size: 14px;
} }
.homepage-section {
max-width: 1200px;
margin: 0 auto;
}
.recommend-carousel :deep(.el-carousel__button) { .recommend-carousel :deep(.el-carousel__button) {
/* 指示器按钮样式 */ /* 指示器按钮样式 */
width: 8px; width: 8px;
@ -270,7 +275,6 @@
display: flex; display: flex;
gap: 1rem; gap: 1rem;
width: 100%; width: 100%;
max-width: 1200px;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
} }