index.wxss 586 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. height: 48px;
  7. background: white;
  8. display: flex;
  9. padding-bottom: env(safe-area-inset-bottom);
  10. }
  11. .tab-bar-border {
  12. background-color: rgba(0, 0, 0, 0.33);
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. width: 100%;
  17. height: 1px;
  18. transform: scaleY(0.5);
  19. }
  20. .tab-bar-item {
  21. flex: 1;
  22. text-align: center;
  23. display: flex;
  24. justify-content: center;
  25. align-items: center;
  26. flex-direction: column;
  27. }
  28. .tab-bar-item cover-image {
  29. width: 27px;
  30. height: 27px;
  31. }
  32. .tab-bar-item cover-view {
  33. font-size: 10px;
  34. }