index.wxss 519 B

12345678910111213141516171819202122232425262728293031
  1. /* custom-tab-bar/index.js.wxss */
  2. .tab-bar {
  3. position: fixed;
  4. bottom: 0;
  5. left: 0;
  6. right: 0;
  7. height: 96rpx;
  8. background: white;
  9. display: flex;
  10. width: 750rpx;
  11. z-index: 10000;
  12. padding-bottom: env(safe-area-inset-bottom);
  13. }
  14. .tab-bar-item {
  15. width: 375rpx;
  16. text-align: center;
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. flex-direction: column;
  21. }
  22. .tab-bar-item image {
  23. width: 27px;
  24. height: 27px;
  25. }
  26. .tab-bar-item view {
  27. font-size: 10px;
  28. }