index.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .app-tabbar {
  2. height : 1rem;
  3. background-color: #fff;
  4. &__wrapper {
  5. bottom : 0;
  6. display : flex;
  7. width : 100%;
  8. height : ~"calc(1rem - 1px)";
  9. border-top: 1px 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. [class^='g-icon'] {
  21. display : flex;
  22. flex-direction : column;
  23. justify-content: center;
  24. align-items : center;
  25. img {
  26. width : .44rem;
  27. height : .44rem;
  28. object-fit: contain;
  29. }
  30. span {
  31. font-size : .24rem;
  32. margin-top: .05rem;
  33. }
  34. &:before {
  35. width : .44rem;
  36. height : .44rem;
  37. font-size: .44rem;
  38. }
  39. }
  40. }
  41. }