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>