tabbar.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .tabbar_box {
  2. display: flex;
  3. flex-direction: row;
  4. justify-content: space-around;
  5. z-index: 999;
  6. width: 95%;
  7. height: 90rpx;
  8. position: fixed;
  9. bottom: 0;
  10. left: 0;
  11. width: 100%;
  12. /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  13. border-top-left-radius: 30rpx;
  14. border-top-right-radius: 30rpx; */
  15. }
  16. .tabbar_box.iphoneX-height {
  17. padding-bottom: 66rpx;
  18. }
  19. .middle-wrapper {
  20. position: absolute;
  21. right: 310rpx;
  22. bottom: 0;
  23. background-color: #fff;
  24. width: 120rpx;
  25. height: 120rpx;
  26. border-radius: 50%;
  27. border-top: 2rpx solid #f2f2f3;
  28. }
  29. .middle-wrapper.iphoneX-height {
  30. bottom: 66rpx;
  31. }
  32. .tabbar_nav {
  33. /* flex: 1; */
  34. display: flex;
  35. flex-direction: column;
  36. justify-content: center;
  37. align-items: center;
  38. font-size: 20rpx;
  39. height: 100%;
  40. position: relative;
  41. }
  42. .longTab {
  43. width: 75% !important;
  44. /* transition: all .5s; */
  45. }
  46. .shortTab {
  47. width: 25% !important;
  48. /* transition: all .5s; */
  49. }
  50. .tabbar_icon {
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .special-wrapper {
  55. position: absolute;
  56. /* left: 77rpx; */
  57. top: -28rpx;
  58. width: 106rpx;
  59. height: 106rpx;
  60. border-radius: 50%;
  61. border-top: 2rpx solid #f2f2f3;
  62. /* background-color: #fff; */
  63. text-align: center;
  64. box-sizing: border-box;
  65. /* padding: 6rpx; */
  66. }
  67. .special-wrapper .tabbar_icon {
  68. width: 100rpx;
  69. height: 100rpx;
  70. }
  71. .special-text-wrapper {
  72. width: 56rpx;
  73. height: 56rpx;
  74. }
  75. .redDot {
  76. width: 10rpx;
  77. height: 10rpx;
  78. background: #FD3636;
  79. opacity: 1;
  80. position: absolute;
  81. bottom: 34rpx;
  82. right: 50rpx;
  83. }
  84. /* 弹窗内容 */
  85. .content {
  86. color: #999999;
  87. font-size: 28rpx;
  88. padding: 30rpx 0;
  89. text-align: center;
  90. line-height: 50rpx;
  91. }
  92. .btnStyle {
  93. border: 1px solid var(--themeColor) !important;
  94. border-radius: 40rpx;
  95. font-size: 26rpx;
  96. width: 40%;
  97. }