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/new.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index 9a8f99a..5173eec 100644
--- a/src/views/safetyproduction/new.vue
+++ b/src/views/safetyproduction/new.vue
@@ -69,7 +69,9 @@
type="expand"
>
<template slot-scope="scope">
- <el-table :data="scope.row.deductionList" :cell-style="{background:'#fff',color:'#606266'}">
+ <el-table border :data="scope.row.deductionList"
+ :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}"
+ >
<el-table-column
prop="name"
align="center"
@@ -476,4 +478,7 @@
background-color: #034ea2;
border: 1px solid #034ea2;
}
+/deep/ .el-table__expanded-cell{
+ background-color: #fff !important;
+}
</style>
--
Gitblit v1.9.2