diff --git a/src/option/base/cargo-type.js b/src/option/base/cargo-type.js index d47b951..9d713c9 100644 --- a/src/option/base/cargo-type.js +++ b/src/option/base/cargo-type.js @@ -35,7 +35,7 @@ export const getCargoTypeOption = ctx => ({ updateBtnText: '提交', searchShow: true, searchIcon: false, - searchLabelWidth: 80, + searchLabelWidth: 50, searchMenuSpan: 24, searchIndex: 8, searchMenuPosition: 'right', diff --git a/src/views/base/cargo-type.vue b/src/views/base/cargo-type.vue index 77a4d8f..d521b36 100644 --- a/src/views/base/cargo-type.vue +++ b/src/views/base/cargo-type.vue @@ -611,13 +611,18 @@ 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: 44px; + + .el-table__cell { + padding: 6px 0; + } } :deep(.el-table__body tr:nth-child(even) > td.el-table__cell) {