navBar.wxss 830 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* myComponents/navBar/navBar.wxss */
  2. @import "/static/iconfont/iconfont.wxss";
  3. .uni-pages{
  4. background-color: #ffffff;
  5. }
  6. .nav-bar-inner {
  7. height: 32px;
  8. display: flex;
  9. justify-content: space-between;
  10. align-items: center;
  11. padding: 0 8px;
  12. }
  13. .image-box {
  14. display: flex;
  15. justify-content: space-around;
  16. align-items: center;
  17. border: 1px solid #efefef;
  18. border-radius: 16px;
  19. background-color: rgba(#fff, 0.6);
  20. }
  21. .line {
  22. width: 1px;
  23. height: 26px;
  24. background-color: rgba(#fff, 0.3);
  25. }
  26. .image {
  27. width: 22px;
  28. height: 22px;
  29. }
  30. .title {
  31. color: #000;
  32. font-weight: 500;
  33. font-size: 28rpx;
  34. white-space: nowrap; /* 防止文本换行 */
  35. overflow: hidden; /* 隐藏超出容器的文本 */
  36. text-overflow: ellipsis; /* 显示省略号来表示文本被截断 */
  37. }
  38. .nav-bar-buttom {
  39. height: 10rpx;
  40. }