全局表格字段居中显示

This commit is contained in:
2026-08-23 16:31:38 +08:00
parent 370cb615d0
commit cc623d5fdb
2 changed files with 12 additions and 9 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
/**
/**
* 通用css样式布局处理
* Copyright (c) 2019 roomroot
*/
@@ -93,13 +93,16 @@
}
.el-table {
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
th {
word-break: break-word;
background-color: #f8f8f9;
color: #515a6e;
height: 40px;
font-size: 13px;
text-align: center;
.cell {
text-align: center;
}
}
+1 -1
View File
@@ -434,7 +434,7 @@ export default {
th {
padding: 10px 20px;
text-align: left;
text-align: center;
font-weight: 600;
color: var(--edu-green-dark);
border-bottom: 1px solid rgba(0, 135, 90, 0.1);