index.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .tab-bar-container.data-v-379cacd1 {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. z-index: 999;
  7. display: flex;
  8. flex-direction: column;
  9. background: rgba(255, 255, 255, 0.98);
  10. -webkit-backdrop-filter: blur(10px);
  11. backdrop-filter: blur(10px);
  12. box-shadow: 0 -4rpx 30rpx rgba(0, 0, 0, 0.06);
  13. /* 确保底部安全区也被该背景色填充 */
  14. padding-bottom: env(safe-area-inset-bottom);
  15. }
  16. .tab-bar-content.data-v-379cacd1 {
  17. position: relative;
  18. z-index: 2;
  19. height: 100rpx;
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-around;
  23. }
  24. .tab-item.data-v-379cacd1 {
  25. flex: 1;
  26. display: flex;
  27. flex-direction: column;
  28. align-items: center;
  29. justify-content: center;
  30. height: 100%;
  31. }
  32. .tab-icon.data-v-379cacd1 {
  33. width: 52rpx;
  34. height: 52rpx;
  35. margin-bottom: 4rpx;
  36. display: block;
  37. }
  38. .tab-text.data-v-379cacd1 {
  39. font-size: 22rpx;
  40. color: #999;
  41. line-height: 1;
  42. }
  43. .tab-item.active .tab-text.data-v-379cacd1 {
  44. color: #C1001C;
  45. font-weight: 600;
  46. }
  47. .tab-item.active .tab-icon.data-v-379cacd1 {
  48. /* 去掉微动效,防止加载感延迟 */
  49. transform: none;
  50. }