index.wxss 589 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. z-index: 30000000;
  11. }
  12. .tab-bar-border {
  13. background: #F0F2F6;
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. width: 100%;
  18. height: 1px;
  19. transform: scaleY(0.5);
  20. }
  21. .tab-bar-item {
  22. flex: 1;
  23. text-align: center;
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. flex-direction: column;
  28. }
  29. .tab-bar-item cover-image {
  30. width: 27px;
  31. height: 27px;
  32. }
  33. .tab-bar-item cover-view {
  34. font-size: 10px;
  35. }