:deep(.ant-tabs-nav-list) {
width: 100%;
.ant-tabs-nav {
width: 100%;
border-bottom: 1px solid #E5E8EB;
position: relative;
&::after {
clear: both;
display: table;
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: 1px;
left: 0;
border-radius: 1px;
background: #E5E8EB;
}
}
.ant-tabs-tab {
width: 50%;
font-size: 20px;
font-weight: 400;
text-align: center;
margin: 0;
color: #000;
display: flex;
align-items: center;
justify-content: center;
}
.ant-tabs-tab-active {
font-weight: 500;
color: #F5222D;
}
.ant-tabs-bar {
margin-bottom: 30px;
}
}
ant-design-vue标签切换样式更改
最新推荐文章于 2024-03-20 16:27:54 发布