index.scss 930 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* #ifdef weapp */
  2. .tabbar{
  3. display: flex;
  4. position: fixed;
  5. bottom: 0;
  6. left: 0;
  7. right: 0;
  8. height: 103px;
  9. flex-direction: row;
  10. justify-content: space-around;
  11. background-color: #000;
  12. // background-color: #000;
  13. // background-color: red;
  14. padding-bottom: constant(safe-area-inset-bottom);
  15. /* 兼容 iOS < 11.2 */
  16. padding-bottom: env(safe-area-inset-bottom);
  17. border-top-color: rgba($color: #ffffff, $alpha: 0.2);
  18. border-top-width: 1px;
  19. border-top-style: solid;
  20. z-index: 100;
  21. }
  22. /* #endif */
  23. /* #ifdef rn */
  24. /* #endif */
  25. //未选中 18 40%
  26. //选中 20 100%
  27. .tabbar-item{
  28. color: rgba($color: #ffffff, $alpha: 0.4);
  29. font-size: 36px;
  30. // padding-top: 25px;
  31. display: flex;
  32. flex: 1;
  33. align-items: center;
  34. justify-content: center;
  35. font-weight: bold;
  36. }
  37. .tabbar-item-sel{
  38. color: #ffffff;
  39. font-size: 40px;
  40. font-weight: bold;
  41. }