liiistem-miniapp/custom-tab-bar/index.wxss

40 lines
661 B
Text
Raw Permalink Normal View History

2025-09-16 13:41:49 +08:00
.tabline {
position: relative;
}
.custom-tab-bar-wrapper {
display: flex;
align-items: center;
}
.text {
font-size: 28rpx;
padding-left: 10rpx;
}
.camera {
position: absolute;
left: 50%;
top: 20rpx;
border-radius: 20rpx;
height: 78rpx;
width: 176rpx;
background: linear-gradient(180deg, rgb(74, 137, 254) 0%, rgb(47, 103, 254) 100%);
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
font-size: 28rpx;
color: #fff;
}
.camera .txt{
display: flex;
align-items: center;
padding-left:10rpx;
white-space: nowrap;
}
.custom-tab-bar-wrapper.cur {
color: #2966f5;
}