ypzycp/components/tabBar/tabBar.acss

60 lines
825 B
Plaintext
Raw Normal View History

2022-01-17 10:27:44 +00:00
.nav-tabs {
width: 100%;
height: 132rpx;
2022-01-21 10:30:06 +00:00
padding: 0 3%;
2022-01-17 10:27:44 +00:00
display: flex;
align-items: center;
2022-01-21 10:30:06 +00:00
justify-content: space-between;
2022-01-17 10:27:44 +00:00
position: fixed;
bottom: 0;
background: #bec3c7;
}
.tab-list {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column-reverse;
}
.tab-text {
box-sizing: content-box;
width: 68rpx;
font-size: 32rpx;
line-height: 40rpx;
padding: 25rpx 38rpx;
color: #2e80b6;
}
.iconPath {
width:54rpx;
height: 54rpx;
}
.default {
width: 19%;
color: #eee;
font-size: 28rpx;
}
.active {
background: #FFFFFF;
font-weight: bold;
border-top: 2rpx solid #bf3a30;
}
/* tabbar切换选中的文字颜色 */
/* .active text {
color: #2697EB !important;
} */
.show {
display: block;
flex: 1;
}
.hidden {
display: none;
flex: 1;
}