index.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .home {
  2. &-tabbar {
  3. background: var(--tabbar-background) !important;
  4. margin-top: auto;
  5. .g-icon {
  6. color: var(--tabbar-icon);
  7. &.active {
  8. color: var(--tabbar-icon-active);
  9. // 图标动画
  10. &:before,
  11. img {
  12. animation: icon-scale 300ms;
  13. }
  14. }
  15. &--market {
  16. &:before {
  17. content: var(--icon-mall);
  18. }
  19. &.active:before {
  20. content: var(--icon-mall-filled);
  21. }
  22. }
  23. &--order {
  24. &:before {
  25. content: var(--icon-cart);
  26. }
  27. &.active:before {
  28. content: var(--icon-cart-filled);
  29. }
  30. }
  31. &--mine {
  32. &:before {
  33. content: var(--icon-mine);
  34. }
  35. &.active:before {
  36. content: var(--icon-mine-filled);
  37. }
  38. }
  39. }
  40. }
  41. }