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" > + - + - + - + - + - + - - - - + 查询 - 重置 - 重置 + + + + + + + + + + @@ -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; + } + } +}