根据需求修改el-tab的默认样式
样式代码:
<style lang="scss" scoped>
:deep(.el-tabs--card > .el-tabs__header){
border-bottom: none
}
:deep(.el-tabs--card > .el-tabs__header .el-tabs__nav){
background-color: #fff;
border-bottom: 1px solid #ebeef5;
}
</style>
效果图:
默认样式:
修改后的样式: