index.less 258 B

123456789101112131415
  1. van-tabbar-item{
  2. // background-color: #B1181B;
  3. position: relative;
  4. view{
  5. font-size: 25rpx;
  6. text-align: center;
  7. margin-top: 3rpx;
  8. }
  9. .active{
  10. position: absolute;
  11. top: -20rpx;
  12. left: 50%;
  13. transform:translate(-50%,-50%)
  14. }
  15. }