index.wxss 564 B

1234567891011121314151617181920212223242526272829
  1. .tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. background: white;
  7. display: flex;
  8. border-top: 1rpx solid rgba(0, 0, 0, 0.1);
  9. box-sizing: border-box;
  10. padding: 14rpx 0rpx;
  11. padding-bottom: env(safe-area-inset-bottom);
  12. }
  13. .tab-bar .tab-bar-item {
  14. flex: 1;
  15. text-align: center;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. flex-direction: column;
  20. padding-bottom: 10rpx;
  21. }
  22. .tab-bar .tab-bar-item image {
  23. width: 48rpx;
  24. height: 48rpx;
  25. }
  26. .tab-bar .tab-bar-item view {
  27. font-size: 24rpx;
  28. margin-top: 10rpx;
  29. }