tab-bar.wxss 1001 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-tab-bar {
  29. width: 100%;
  30. height: 48px;
  31. background-color: #fff;
  32. display: flex;
  33. flex-wrap: nowrap;
  34. align-items: center;
  35. position: relative;
  36. font-size: 16px;
  37. }
  38. .t-tab-bar--border::before {
  39. position: absolute;
  40. box-sizing: border-box;
  41. content: ' ';
  42. pointer-events: none;
  43. right: 0;
  44. left: 0;
  45. top: 0;
  46. border-top: 1px solid #e6e6e6;
  47. transform: scaleY(0.5);
  48. }
  49. .t-tab-bar--fixed {
  50. position: fixed;
  51. left: 0;
  52. bottom: 0;
  53. }
  54. .t-tab-bar--safe {
  55. padding-bottom: constant(safe-area-inset-bottom);
  56. padding-bottom: env(safe-area-inset-bottom);
  57. }
  58. .t-tab-bar t-tab-bar-item:first-child::before {
  59. border: unset;
  60. }