tabbar.wxss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .tabbar_box{
  2. display: flex;
  3. flex-direction: row;
  4. justify-content: space-around;
  5. position: fixed;
  6. left: 0;
  7. z-index: 999;
  8. width: 100%;
  9. height: 100rpx;
  10. box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  11. }
  12. .tabbar_box.iphoneX-height{
  13. padding-bottom: 66rpx;
  14. }
  15. .middle-wrapper{
  16. position: absolute;
  17. right: 310rpx;
  18. bottom: 0;
  19. background-color: rgb(121, 27, 27);
  20. width: 120rpx;
  21. height: 120rpx;
  22. border-radius: 50%;
  23. border-top: 2rpx solid #f2f2f3;
  24. }
  25. .middle-wrapper.iphoneX-height{
  26. bottom: 66rpx;
  27. }
  28. .tabbar_nav{
  29. flex: 1;
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. align-items: center;
  34. font-size: 20rpx;
  35. height: 100%;
  36. padding:5px 0px 5px 0px;
  37. position: relative;
  38. }
  39. .tabbar_icon{
  40. width: 40rpx;
  41. height: 40rpx;
  42. padding-bottom: 5rpx;
  43. }
  44. .special-wrapper{
  45. position: absolute;
  46. /* left: 77rpx; */
  47. top: -36rpx;
  48. width: 96rpx;
  49. height: 96rpx;
  50. border-radius: 50%;
  51. border-top: 2rpx solid #f2f2f3;
  52. background-color: #fff;
  53. text-align: center;
  54. box-sizing: border-box;
  55. padding: 6rpx;
  56. }
  57. .special-wrapper .tabbar_icon{
  58. width: 85rpx;
  59. height: 85rpx;
  60. }
  61. .special-text-wrapper{
  62. width: 56rpx;
  63. height: 56rpx;
  64. }
  65. .tabtext{
  66. padding-bottom: 20rpx;
  67. }
  68. element.style {
  69. position: absolute;
  70. top: -2px;
  71. right: -13px;
  72. }
  73. .weui-badge {
  74. display: inline-block;
  75. padding: .15em .4em;
  76. min-width: .66666667em;
  77. border-radius: 18px;
  78. background-color: red;
  79. color: #fff;
  80. line-height: 1.2;
  81. text-align: center;
  82. font-size: 0.7058823529411765rem;
  83. vertical-align: middle;
  84. }