TabBar.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .placeholder.data-v-89ca1f91 {
  2. height: 140rpx;
  3. box-sizing: content-box;
  4. }
  5. .tab-bar-wrap.data-v-89ca1f91 {
  6. position: fixed;
  7. left: 0;
  8. right: 0;
  9. bottom: 0;
  10. z-index: 99;
  11. background-color: #ffffff;
  12. box-shadow: 0 -2rpx 16rpx 0 rgba(0, 0, 0, 0.08);
  13. }
  14. .tab-bar-wrap .tab-bar.data-v-89ca1f91 {
  15. display: flex;
  16. align-items: flex-end;
  17. justify-content: space-around;
  18. position: relative;
  19. padding-top: 20rpx;
  20. }
  21. .tab-bar-wrap .tab-bar .menu.data-v-89ca1f91 {
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. justify-content: center;
  26. flex: 1;
  27. padding: 0 40rpx;
  28. padding-bottom: 0;
  29. transition: all 0.3s ease;
  30. }
  31. .tab-bar-wrap .tab-bar .menu image.data-v-89ca1f91 {
  32. width: 48rpx;
  33. height: 48rpx;
  34. transition: transform 0.3s ease;
  35. }
  36. .tab-bar-wrap .tab-bar .menu .text.data-v-89ca1f91 {
  37. font-size: 22rpx;
  38. color: #999999;
  39. margin-top: 8rpx;
  40. transition: all 0.3s ease;
  41. font-weight: 400;
  42. }
  43. .tab-bar-wrap .tab-bar .menu .text.sele.data-v-89ca1f91 {
  44. color: #333333;
  45. font-weight: 500;
  46. }
  47. .tab-bar-wrap .tab-bar .menu.data-v-89ca1f91:active {
  48. opacity: 0.7;
  49. transform: scale(0.95);
  50. }
  51. .tab-bar-wrap .tab-bar .menu-center.data-v-89ca1f91 {
  52. display: flex;
  53. flex-direction: column;
  54. align-items: center;
  55. justify-content: center;
  56. position: absolute;
  57. bottom: -20rpx;
  58. margin: 0 40rpx;
  59. transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  60. background-color: #fff;
  61. border-radius: 50%;
  62. padding: 20rpx;
  63. }
  64. .tab-bar-wrap .tab-bar .menu-center .scan-btn.data-v-89ca1f91 {
  65. width: 110rpx;
  66. height: 110rpx;
  67. border-radius: 50%;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. margin-bottom: 6rpx;
  72. position: relative;
  73. transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  74. background: linear-gradient(35deg, #FCB73F 0%, #FC733D 100%);
  75. box-shadow: 0rpx 0rpx 11rpx 0rpx rgba(0, 0, 0, 0.16);
  76. }
  77. .tab-bar-wrap .tab-bar .menu-center .scan-btn image.data-v-89ca1f91 {
  78. width: 42rpx;
  79. height: 42rpx;
  80. filter: brightness(0) invert(1);
  81. transition: transform 0.3s ease;
  82. margin-bottom: 20rpx;
  83. }
  84. .tab-bar-wrap .tab-bar .menu-center .qrT-img.data-v-89ca1f91 {
  85. width: 85rpx;
  86. height: 22rpx;
  87. position: absolute;
  88. bottom: 36rpx;
  89. left: 50%;
  90. transform: translateX(-50%);
  91. }
  92. .tab-bar-wrap .tab-bar .menu-center .text-center.data-v-89ca1f91 {
  93. font-size: 22rpx;
  94. color: #ff8844;
  95. margin-top: 4rpx;
  96. font-weight: 500;
  97. transition: all 0.3s ease;
  98. }
  99. .tab-bar-wrap .tab-bar .menu-center.data-v-89ca1f91:active {
  100. transform: translateY(-35rpx) scale(0.92);
  101. }
  102. .tab-bar-wrap .tab-bar .menu-center:active .scan-btn.data-v-89ca1f91 {
  103. box-shadow: 0 4rpx 16rpx 0 rgba(255, 136, 68, 0.3), 0 1rpx 4rpx 0 rgba(255, 136, 68, 0.15);
  104. }
  105. .tab-bar-wrap .tab-bar .menu-center:active .scan-btn image.data-v-89ca1f91 {
  106. transform: scale(0.9);
  107. }