From 614a31c404c5717d4ce77ca24492fc74dddb1631 Mon Sep 17 00:00:00 2001 From: guoju0808 Date: Wed, 26 Aug 2026 11:40:40 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=20filter-for?= =?UTF-8?q?m=20=E4=BF=9D=E6=8C=81=E6=A8=AA=E5=90=91=E5=B8=83=E5=B1=80=20(l?= =?UTF-8?q?abel=20=E5=B7=A6=20+=20input=20=E5=8F=B3,=20=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E5=A0=86=E5=8F=A0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ry-vue3/src/views/manager/Projects.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/ry-vue3/src/views/manager/Projects.vue b/ry-vue3/src/views/manager/Projects.vue index c447221..f8834e1 100644 --- a/ry-vue3/src/views/manager/Projects.vue +++ b/ry-vue3/src/views/manager/Projects.vue @@ -792,7 +792,7 @@ watch(() => route.path + (route.query._t || ''), () => load()) height: 30px !important; } - /* filter-form: 强制单列堆叠 (覆盖 inline style="width:260px" 等) */ + /* filter-form: label 与输入框保持横向 (label 左, input 右, 跟桌面一致) */ .filter-form { display: flex !important; flex-direction: column !important; @@ -800,22 +800,27 @@ watch(() => route.path + (route.query._t || ''), () => load()) gap: 10px !important; } .filter-form :deep(.el-form-item) { - display: block !important; + display: flex !important; + align-items: center !important; margin-right: 0 !important; margin-bottom: 0 !important; } .filter-form :deep(.el-form-item__label) { float: none !important; width: auto !important; - text-align: left !important; - padding: 0 0 4px !important; + min-width: 80px !important; + text-align: right !important; + padding: 0 8px 0 0 !important; font-size: 13px !important; - color: var(--el-text-color-secondary) !important; - line-height: 1.5 !important; + color: var(--el-text-color-regular) !important; + line-height: 32px !important; + height: 32px !important; } .filter-form :deep(.el-form-item__content) { margin-left: 0 !important; - line-height: 1.6 !important; + line-height: 32px !important; + flex: 1 !important; + min-width: 0 !important; } /* 强制所有控件全宽, 覆盖 inline 260px / 140px / 120px */ .filter-form :deep(.el-select),