From 1bf2d719f6682616a909e062b33c6df18da8b293 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期三, 06 四月 2022 09:35:32 +0800 Subject: [PATCH] 背景色 --- src/views/safetyproduction/new.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue index 1b9717b..4ddc4e8 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" @@ -441,7 +443,7 @@ } .box-left { width: 20%; - min-height: 800px; + min-height: 850px; background-color: white; border-radius: 5px; } @@ -453,6 +455,8 @@ width: 79%; background-color: white; border-radius: 5px; + height: 850px; + overflow-y:overlay; } .title { font-size: 16px; @@ -474,4 +478,7 @@ background-color: #034ea2; border: 1px solid #034ea2; } +.box-right /deep/ .el-table__expanded-cell{ + background-color: #fff !important; +} </style> -- Gitblit v1.9.2