index.less 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. box-shadow: rgba(0, 0, 0, 0.35) 0px 30rpx 20rpx 20rpx;
  13. .tab-bar-item {
  14. position: relative;
  15. flex: 1;
  16. text-align: center;
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. flex-direction: column;
  21. padding-bottom: 10rpx;
  22. .noticeTips {
  23. position: absolute;
  24. left: 146rpx;
  25. top: -12rpx;
  26. width: 28rpx;
  27. padding: 4rpx 0rpx;
  28. border-radius: 40rpx;
  29. color: white;
  30. font-size: 16rpx;
  31. text-align: center;
  32. background-color: #FF0000;
  33. }
  34. image {
  35. width: 48rpx;
  36. height: 48rpx;
  37. }
  38. view {
  39. font-size: 28rpx;
  40. margin-top: 10rpx;
  41. }
  42. }
  43. }