74 lines
1.1 KiB
Plaintext
74 lines
1.1 KiB
Plaintext
.c-tab-spacer {
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
height: calc(100rpx + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.c-tab-outer {
|
|
background: #fff;
|
|
border-top: 1rpx solid #e5e5e5;
|
|
bottom: 0;
|
|
left: 0;
|
|
position: fixed;
|
|
right: 0;
|
|
z-index: 99999;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
.c-tab-bar {
|
|
align-items: flex-end;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
min-height: 100rpx;
|
|
padding-top: 8rpx;
|
|
}
|
|
|
|
.c-tab-item {
|
|
align-items: center;
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
padding-bottom: 4rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.c-tab-ico {
|
|
height: 48rpx;
|
|
width: 48rpx;
|
|
}
|
|
|
|
.c-tab-txt {
|
|
color: #999;
|
|
font-size: 20rpx;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.c-tab-txt-on {
|
|
color: #9333ea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.c-tab-dot {
|
|
align-items: center;
|
|
background: #fa3534;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
height: 32rpx;
|
|
justify-content: center;
|
|
min-width: 32rpx;
|
|
padding: 0 6rpx;
|
|
position: absolute;
|
|
right: 18%;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
.c-tab-dot-t {
|
|
color: #fff;
|
|
font-size: 20rpx;
|
|
line-height: 1;
|
|
}
|