index.less 999 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .cat-tabbar {
  2. height: 100rpx;
  3. background-color: #fff;
  4. &__wrapper {
  5. bottom: 0;
  6. display: flex;
  7. width: 100%;
  8. height: ~"calc(100rpx - 1rpx)";
  9. border-top: 1rpx solid #eee;
  10. box-sizing: content-box;
  11. }
  12. &__item {
  13. flex: 1;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: center;
  17. align-items: center;
  18. height: inherit;
  19. cursor: pointer;
  20. .cat-icon {
  21. display: flex;
  22. flex-direction: column;
  23. justify-content: center;
  24. align-items: center;
  25. .image {
  26. width: 56rpx;
  27. height: 56rpx;
  28. object-fit: contain;
  29. }
  30. .text {
  31. font-size: 20rpx;
  32. margin-top: 5rpx;
  33. }
  34. &:before {
  35. width: 56rpx;
  36. height: 56rpx;
  37. font-size: 56rpx;
  38. }
  39. }
  40. }
  41. }