TabBar.wxss 990 Bytes
/* components/TabBar/TabBar.wxss */
.tab {
  background-color: #fff;
  height: 88rpx;
  box-sizing: border-box;
  display: grid;
  align-items: center;
  font-size: 28rpx;
  color: #5A5E66;
  position: relative;
}

.scroll {
  background-color: #fff;
  height: 88rpx;
  box-sizing: border-box;
  color: #999999;
  width: 100%;
  display: flex;
  line-height: 72rpx;
  font-size: 0;
}

.active {
  font-weight: 600;
  color: #347BFF;
  font-size: 32rpx;
}

.active-doc {
  position: absolute;
  bottom: 1rpx;
  height: 4rpx;
  border-radius: 2rpx 2rpx 0 0;
  transition: all .25s;
}

.tab .tab-item {
  text-align: center;
}

.scroll .tab-item {
  width: fit-content;
  min-width: 144rpx;
  height: 100%;
  flex-shrink: 0;
  font-size: 28rpx;
  text-align: center;
  position: relative;
  padding: 0 10rpx;
}

.scroll .active::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64rpx;
  height: 4rpx;
  background-color: #347BFF;
  content: '';
}