改变 element的el-tabs默认选中项 文字颜色
.el-tabs__item {
color: #000 !important;
}
.el-tabs__item.is-active {
color: red !important;
}
改变 element的el-tabs默认选中项 背景颜色问题
.el-tabs__item:hover {
color: #000;
}
.el-tabs__item.is-active {
color: #fff;
background-color: #c81623;
}
注意点:一定要在App.vue里设置才生效,在当前页面.vue里设置不生效!