style(cargo-type): 调整按钮样式及表格行高与单元格内边距
- 将查看按钮类型由 primary 改为 success - 将删除按钮类型由 primary 改为 danger - 将表格行高从 44px 调整为 40px - 调整表格单元格内边距从 6px 变为 1px
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
<template #menu="{ row, index }">
|
<template #menu="{ row, index }">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="success"
|
||||||
text
|
text
|
||||||
v-if="permission.cargo_type_view"
|
v-if="permission.cargo_type_view"
|
||||||
@click="$refs.crud.rowView(row, index)"
|
@click="$refs.crud.rowView(row, index)"
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="danger"
|
||||||
text
|
text
|
||||||
v-if="permission.cargo_type_delete"
|
v-if="permission.cargo_type_delete"
|
||||||
@click="rowDel(row)"
|
@click="rowDel(row)"
|
||||||
@@ -618,10 +618,10 @@ export default {
|
|||||||
:deep(.el-table) {
|
:deep(.el-table) {
|
||||||
--el-table-border-color: #eff1f7;
|
--el-table-border-color: #eff1f7;
|
||||||
--el-table-row-hover-bg-color: #f5f7fa;
|
--el-table-row-hover-bg-color: #f5f7fa;
|
||||||
--el-table-row-height: 44px;
|
--el-table-row-height: 40px;
|
||||||
|
|
||||||
.el-table__cell {
|
.el-table__cell {
|
||||||
padding: 6px 0;
|
padding: 1px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user