tabbar.wxss 699 Bytes
/* components/tabbar.wxss */

.tabbar {
  height: 102rpx;
  line-height: 102rpx;
  box-sizing: border-box;
  border-bottom: 1rpx solid #EEEEEE;
}
.flex{
  display: flex;
}

.tabbar-item {
  float: left;
  margin-right: 80rpx;
  font-size: 28rpx;
  color: #333;
}
.flex .tabbar-item{
  flex: 1;
  text-align: center;
  margin-right: 0;
}
.tabbar-item:last-of-type{
  margin-right: 0;
}
.tabbar-item.active {
  color: #05BAA0;
  position: relative;
  font-weight: bold;
}

.tabbar-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80rpx;
  height: 4rpx;
  background-color: #05BAA0;
}