index.acss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .navigator-index {
  2. display: block;
  3. height: initial;
  4. }
  5. /* components/navigator/index.wxss */
  6. .navigator-index .block {
  7. position: sticky;
  8. top: 0;
  9. z-index: 999999;
  10. }
  11. .navigator-index .bar {
  12. position: absolute;
  13. padding-left: 50rpx;
  14. width: 100%;
  15. }
  16. .navigator-index .flex {
  17. display: flex;
  18. align-items: center;
  19. }
  20. .navigator-index .white {
  21. color: white;
  22. }
  23. .navigator-index .black {
  24. color: black;
  25. }
  26. .navigator-index .black-arrow::before {
  27. content: "";
  28. display: inline-block;
  29. width: 16rpx;
  30. height: 16rpx;
  31. /* border-bottom: 3rpx solid black;
  32. border-left: 3rpx solid black; */
  33. border-bottom: 3rpx solid transparent;
  34. border-left: 3rpx solid transparent;
  35. transform: rotate(45deg);
  36. margin-right: 5rpx;
  37. }
  38. .navigator-index .white-arrow::before {
  39. content: "";
  40. display: inline-block;
  41. width: 16rpx;
  42. height: 16rpx;
  43. /* border-bottom: 3rpx solid white;
  44. border-left: 3rpx solid white; */
  45. border-bottom: 3rpx solid transparent;
  46. border-left: 3rpx solid transparent;
  47. transform: rotate(45deg);
  48. margin-right: 5rpx;
  49. }