feat: 首页竖屏适配

- 首页Carousel高度根据屏幕宽度变化
- 首页推荐栏目卡片数量随屏幕宽度改变
This commit is contained in:
2025-11-01 15:32:15 +08:00
parent 06c30a7ea3
commit d076088747
3 changed files with 119 additions and 10 deletions

View File

@ -83,4 +83,10 @@
border-radius: 5px;
font-size: 14px;
}
@media (max-width: 768px) {
.homepage-carousel .el-carousel__item {
height: 50vw;
}
}
</style>