index.wxss 553 B

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