index.wxss 578 B

1234567891011121314151617181920212223242526272829303132
  1. .tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. background: #fff;
  7. display: flex;
  8. padding-top:5px;
  9. padding-bottom: calc(5px + constant(safe-area-inset-bottom));
  10. padding-bottom: calc(5px + env(safe-area-inset-bottom));
  11. box-shadow: 0px -3px 6px rgba(203, 203, 203, 0.16);
  12. z-index:50;
  13. }
  14. .tab-bar-item {
  15. flex: 1;
  16. text-align: center;
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. flex-direction: column;
  21. }
  22. .tab-bar-item .icon {
  23. width: 22px;
  24. height: 22px;
  25. }
  26. .tab-bar-item .text {
  27. font-size: 10px;
  28. margin-top:3px;
  29. }