story#5314 二手车系统的优化需求

This commit is contained in:
2025-04-11 09:28:56 +08:00
parent 4a70d881b8
commit e56de7ff8b

View File

@ -448,17 +448,28 @@ export default {
} }
} }
.filterWrap { .filterWrap {
width: 100%; width: calc(100% - 5px);
padding-right: 5px;
display: flex; display: flex;
justify-content: space-around; /*justify-content: space-around;*/
overflow-x: auto; /* 允许横向滚动 */
white-space: nowrap; /* 防止子元素换行 */
padding-bottom: 10px; padding-bottom: 10px;
-webkit-overflow-scrolling: touch; /* 在iOS上平滑滚动 */
scrollbar-width: none; /* Firefox */
padding-bottom: 10px;
&::-webkit-scrollbar {
display: none; /* Chrome/Safari */
}
.customSel { .customSel {
width: 60px; flex: 0 0 auto; /* 防止子元素被压缩 */
width: 80px;
height: 25px; height: 25px;
background: #F5F5F5; background: #F5F5F5;
border-radius: 4px; border-radius: 4px;
font-size: 10px; font-size: 10px;
color: #323233; color: #323233;
margin-left: 5px;
::v-deep .el-input__inner{ ::v-deep .el-input__inner{
padding: 0 2px; padding: 0 2px;
height: 25px; height: 25px;