This commit is contained in:
liushuai
2020-02-20 08:50:53 +08:00
parent 32ca9275e0
commit ab082f5742
5 changed files with 369 additions and 22 deletions

View File

@@ -129,7 +129,7 @@
@current-change="handleCurrentChange"/>
</div>
</el-card>
<el-card>
<el-card v-show="groupName!=='MX'">
<el-table
:data="tableData10"
:cell-class-name="cell"
@@ -472,13 +472,13 @@ export default {
methods: {
cell({ row, column, rowIndex, columnIndex }) {
if (row.对比类型 === 1 && columnIndex === 2) {
return 'rgb196'
return 'ContrastMaterial1'
}
if (row.对比类型 === 3 && columnIndex === 1) {
return 'rgb196'
return 'ContrastMaterial1'
}
if (row.对比类型 === 4 && columnIndex === 3) {
return 'rgb196'
return 'ContrastMaterial1'
}
},
async fetchData() {
@@ -784,9 +784,9 @@ export default {
.el-table .warning-row {
background: red;
}
/*.rgb196{*/
/* background: palevioletred !important;*/
/*}*/
.ContrastMaterial1{
background: palevioletred !important;
}
</style>
<style scoped>