index.wxss 500 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* custom-tab-bar/index.wxss */
  2. .head {
  3. position: fixed;
  4. z-index: 1;
  5. width: 100%;
  6. height: 33px;
  7. line-height: 33px;
  8. background-color: #fff;
  9. top: 0;
  10. display: flex;
  11. }
  12. .item {
  13. flex: 1;
  14. background-color: #fff;
  15. text-align: center;
  16. box-sizing: border-box;
  17. }
  18. .text {
  19. color: #646566;
  20. height: 2em;
  21. line-height: 2em;
  22. font-size: 14px;
  23. display: inline-block;
  24. }
  25. .line {
  26. width: 4em;
  27. height: 5rpx;
  28. margin: 0 auto;
  29. background-color: #1989fa;
  30. }
  31. .act {
  32. color: #1989fa;
  33. }