index.less 277 B

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