From 0b3f4c84295449b795a597d3a4f203372d75d59f Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Wed, 29 Oct 2025 17:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sourcingNeed/index.vue | 182 +++++++++++++++++++++++++++---- 1 file changed, 163 insertions(+), 19 deletions(-) diff --git a/src/views/sourcingNeed/index.vue b/src/views/sourcingNeed/index.vue index 20f4efe2..141f4541 100644 --- a/src/views/sourcingNeed/index.vue +++ b/src/views/sourcingNeed/index.vue @@ -6,8 +6,9 @@ ref="searchFormRef" :model="searchParams" > + - + - + - + - + - + - - - - + 查询 - 重置 - 重置 + + + + + + + + + + { isRepublish = true @@ -88,17 +96,14 @@ > 需求新建 - - - + + + @@ -190,13 +195,16 @@ - + + + + td.el-table__cell { + background-color: #CCF1E9 !important; + } + } +} +.dialog-table { + border-radius: 6px; + overflow: hidden; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + + ::v-deep .el-table { + border-radius: 6px; + overflow: hidden; + + // 启用斑马纹 + &.el-table--striped .el-table__body { + tr.el-table__row--striped td { + background-color: #F6FBFA !important; + } + } + + .el-table__header { + background: #E9F0EE; + + th { + background: #E9F0EE !important; + color: #606266; + font-weight: 600; + height: 45px; + font-size: 14px; + border-bottom: 2px solid #e4e7ed; + } + } + + .el-table__body { + tr { + transition: all 0.2s ease; + + &:hover { + background-color: #f8f9fa; + } + + td { + padding: 12px 8px; + font-size: 13px; + border-bottom: 1px solid #f0f2f5; + } + } + } + + &.el-table--striped .el-table__body tr.el-table__row:hover>td.el-table__cell { + background-color: #CCF1E9 !important; + } + + // 表格边框优化 + &::before { + display: none; + } + + &::after { + display: none; + } + } +}