glTab.wxss
442 Bytes
/* components/glTab/glTab.wxss */
.tab {
position: sticky;
top: 0;
left: 0;
z-index: 2;
background-color: #fff;
height: 88rpx;
box-shadow: 0 2rpx 4rpx 2rpx #E9E9E9;
box-sizing: border-box;
display: grid;
align-items: center;
font-size: 28rpx;
color: #A9A9A9;
}
.active-doc{
position: absolute;
bottom: 5rpx;
height: 4rpx;
transition: all .25s;
}
.tab .tab-item{
text-align: center;
}