index.wxss 597 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. }
  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: 2px;
  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 image {
  29. width: 18px;
  30. height: 18px;
  31. margin-bottom: 16rpx;
  32. }
  33. .tab-bar-item view {
  34. font-size: 10px;
  35. }