From 8dc1e8e11137beb5aad4852065d0c36c0d11b230 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Wed, 06 Apr 2022 09:32:20 +0800
Subject: [PATCH] 背景色
---
src/views/safetyproduction/gojudging.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue
index 12bdd3a..eb661a8 100644
--- a/src/views/safetyproduction/gojudging.vue
+++ b/src/views/safetyproduction/gojudging.vue
@@ -59,6 +59,8 @@
<template slot-scope="scope">
<el-table
:data="scope.row.selfDeductionList"
+ border
+ :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}"
>
<el-table-column prop="name" align="center" label="扣分项">
</el-table-column>
@@ -218,4 +220,7 @@
.titles {
font-size: 14px;
}
+/deep/ .el-table__expanded-cell{
+ background-color: #fff !important;
+}
</style>
--
Gitblit v1.9.2