From e56de7ff8bcfc6980b5f126fece12c5dff31e753 Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Fri, 11 Apr 2025 09:28:56 +0800 Subject: [PATCH] =?UTF-8?q?story#5314=20=E4=BA=8C=E6=89=8B=E8=BD=A6?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=9A=84=E4=BC=98=E5=8C=96=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/indexList.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/secondHandCar/indexList.vue b/src/views/secondHandCar/indexList.vue index 44e089e4..66deb964 100644 --- a/src/views/secondHandCar/indexList.vue +++ b/src/views/secondHandCar/indexList.vue @@ -448,17 +448,28 @@ export default { } } .filterWrap { - width: 100%; + width: calc(100% - 5px); + padding-right: 5px; display: flex; - justify-content: space-around; + /*justify-content: space-around;*/ + overflow-x: auto; /* 允许横向滚动 */ + white-space: nowrap; /* 防止子元素换行 */ padding-bottom: 10px; + -webkit-overflow-scrolling: touch; /* 在iOS上平滑滚动 */ + scrollbar-width: none; /* Firefox */ + padding-bottom: 10px; + &::-webkit-scrollbar { + display: none; /* Chrome/Safari */ + } .customSel { - width: 60px; + flex: 0 0 auto; /* 防止子元素被压缩 */ + width: 80px; height: 25px; background: #F5F5F5; border-radius: 4px; font-size: 10px; color: #323233; + margin-left: 5px; ::v-deep .el-input__inner{ padding: 0 2px; height: 25px;