fix(styles): 统一全站 el-table 表头文字颜色,修复 project-apply 表头色差问题
- 解决 project-apply 页面表头颜色在不同电脑显示不一致的问题 - 在 element-ui.scss 中新增高优先级规则,统一 el-table 表头文字颜色为 #374151 - 清理 project-apply.vue 中与全局样式冲突且无效的局部表头样式,保留字体加粗样式 - 修改选择器为 :deep(.el-table__header th .cell),确保样式生效且不影响背景色
This commit is contained in:
@@ -2155,9 +2155,7 @@ export default {
|
||||
padding: 12px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
||||
|
||||
:deep(.el-table__header th) {
|
||||
background: #f5f7fa;
|
||||
color: #303133;
|
||||
:deep(.el-table__header th .cell) {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -2201,9 +2199,7 @@ export default {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
|
||||
:deep(.el-table__header th) {
|
||||
background: #f5f7fa;
|
||||
color: #303133;
|
||||
:deep(.el-table__header th .cell) {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user