iview,table组件选中颜色怎么修改
找到了
.ivu-table-row-highlight td, .ivu-table-stripe .ivu-table-body tr.ivu-table-row-highlight:nth-child(2n) td, .ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-highlight:nth-child(2n) td, tr.ivu-table-row-highlight.ivu-table-row-hover td{
background-color:#BFEFFF;
}
tr.ivu-table-row-hover td{
background-color: #BFEFFF;
}
有个比较简单的办法,找到那行 css 优先级设的更高一点就可以了。
比如官网的这个样式