Merge remote-tracking branch 'websoft/master'

This commit is contained in:
2026-07-31 01:31:44 +08:00
4 changed files with 40 additions and 16 deletions

View File

@@ -600,10 +600,6 @@ export default {
background: transparent;
}
:deep(.el-card) {
box-shadow: none;
}
// <20><>除 basic-container 卡片内层 el-card 的 padding规范 4.4
:deep(.basic-container__card) > .el-card__body {
padding: 0;
@@ -611,15 +607,37 @@ export default {
// 搜索栏 label 收窄(覆盖 Avue 内置 min-width:160px
:deep(.avue-crud__search) .el-form-item_label {
min-width: 80px !important;
width: 80px !important;
min-width: 50px !important;
width: 50px !important;
}
:deep(.el-table) {
--el-table-border-color: #eff1f7;
--el-table-row-hover-bg-color: #f5f7fa;
--el-table-row-height: 40px;
// 表头加高
.el-table__header-wrapper .el-table__cell {
padding: 10px 0;
}
// 数据行保持紧凑
.el-table__body .el-table__cell {
padding: 6px 0;
}
}
// 底部空白区域自适应:表格 body 不再强制撑满计算高度
:deep(.avue-crud .el-table__body-wrapper) {
max-height: none !important;
height: auto !important;
}
// 同步让外层表格容器也自适应
//:deep(.avue-crud .el-table) {
// height: auto !important;
//}
:deep(.el-table__body tr:nth-child(even) > td.el-table__cell) {
background: #fafafa;
}