index.less 653 B

1234567891011121314151617181920212223242526272829303132
  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. .tab-bar-item {
  13. flex: 1;
  14. text-align: center;
  15. display: flex;
  16. justify-content: center;
  17. align-items: center;
  18. flex-direction: column;
  19. padding-bottom: 10rpx;
  20. image {
  21. width: 48rpx;
  22. height: 48rpx;
  23. }
  24. view {
  25. font-size: 24rpx;
  26. margin-top: 10rpx;
  27. }
  28. }
  29. }