index.wxss 631 B

12345678910111213141516171819202122232425262728293031323334
  1. /* custom-tab-bar/index.js.wxss */
  2. .tab-bar {
  3. position: fixed;
  4. bottom: 0;
  5. left: 0;
  6. right: 0;
  7. height: 120rpx;
  8. background: white;
  9. display: flex;
  10. width: 750rpx;
  11. z-index: 10000;
  12. border-top: 2rpx solid #F1F1F1;
  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. .current{
  24. font-size: 50rpx;
  25. font-weight: 700;
  26. color: #B608D0;
  27. border-bottom: 4px solid #B608D0;
  28. }
  29. .others{
  30. font-size: 50rpx;
  31. font-weight: 700;
  32. color: #000;
  33. border-bottom: 4px solid #FFF;
  34. }