49 lines
816 B
Plaintext
49 lines
816 B
Plaintext
.custom-tab-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 120rpx;
|
|
box-sizing: border-box;
|
|
background: #ffffff;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
border-top: 3rpx dashed #a0c4ff;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.tab-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10rpx 20rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.tab-icon-img {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
margin-bottom: 4rpx;
|
|
transition: transform 0.2s;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.tab-item.active .tab-icon-img {
|
|
transform: scale(1.15);
|
|
opacity: 1;
|
|
}
|
|
|
|
.tab-label {
|
|
font-size: 20rpx;
|
|
color: #b08d8d;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.tab-item.active .tab-label {
|
|
color: #ff9a9e;
|
|
font-weight: 600;
|
|
}
|