问星数据小程序

tabbar.wxss 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* components/tabbar/tabbar.wxss */
  2. .tabbar-box{
  3. position: fixed;
  4. bottom: 0;
  5. width: 100%;
  6. height: 110rpx;
  7. background-color: #fff;
  8. box-shadow: 0 -4rpx 14rpx rgba(194, 194, 194, 0.5);
  9. z-index: 99999;
  10. padding-bottom: 16rpx;
  11. }
  12. .ipx_button {
  13. height: 130rpx;
  14. }
  15. .tabbar-container{
  16. display: flex;
  17. justify-content: space-between;
  18. }
  19. .tabbar-container>view{
  20. width: 20%;
  21. text-align: center;
  22. padding-top: 16rpx;
  23. }
  24. .tabbar-container>view>text{
  25. display: block;
  26. margin-top: 4rpx;
  27. font-size: 22rpx;
  28. line-height: 20rpx;
  29. }
  30. .tabbar-image{
  31. display: inline-block;
  32. width: 46rpx;
  33. height: 46rpx;
  34. }
  35. .tabbar-container>view:nth-child(3) {
  36. margin-top: -54rpx;
  37. }
  38. .tabbar-container>view:nth-child(3) .image_box {
  39. width: 108rpx;
  40. background: #fff;
  41. border-radius: 50%;
  42. text-align: center;
  43. margin: auto;
  44. padding-top: 15rpx;
  45. }
  46. .tabbar-container>view:nth-child(3) image {
  47. width: 80rpx;
  48. height: 80rpx;
  49. }
  50. .center {
  51. width: 108rpx;
  52. height: 108rpx;
  53. border-radius: 50%;
  54. position: fixed;
  55. bottom: 40rpx;
  56. left: 0;
  57. right: 0;
  58. margin: auto;
  59. box-shadow: 0 -4rpx 14rpx rgba(194, 194, 194, 0.5);
  60. z-index: 1;
  61. }