index.wxss 736 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. height: 100rpx;
  7. background: white;
  8. display: flex;
  9. padding-bottom: env(safe-area-inset-bottom);
  10. z-index: 999999999999999;
  11. }
  12. .tab-bar-border {
  13. background-color: rgba(0, 0, 0, 0.33);
  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. padding: 10rpx 0;
  24. text-align: center;
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. flex-direction: column;
  29. }
  30. .tab-bar-item image {
  31. width: 48rpx;
  32. height: 48rpx;
  33. margin-bottom: 6rpx;
  34. position: relative;
  35. z-index: 99999999;
  36. }
  37. .tab-bar-item view {
  38. font-size: 20rpx;
  39. position: relative;
  40. z-index: 99999999;
  41. }