index.wxss 884 B

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