index.module.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .sticky {
  2. :global(.van-sticky--fixed) {
  3. box-shadow: 10px 10px 10px var(--box-shadow-color);
  4. }
  5. :global {
  6. .van-sticky {
  7. background: url('./icons/bgImg.png') no-repeat top center;
  8. background-size: 100% 214px;
  9. }
  10. }
  11. }
  12. .listContainer {
  13. padding-top: 2px;
  14. height: 42px;
  15. display: flex;
  16. align-items: center;
  17. justify-content: center;
  18. background: #fff;
  19. font-size: 16px;
  20. font-weight: 600;
  21. color: #999999;
  22. line-height: 22px;
  23. .line {
  24. margin: 0 15px;
  25. width: 1px;
  26. height: 10px;
  27. background: #e8e8e8;
  28. }
  29. .active {
  30. color: #333333;
  31. }
  32. }
  33. .label {
  34. margin-right: 8px;
  35. font-size: 14px;
  36. color: #fff;
  37. :global {
  38. .van-list__loading,
  39. .van-list__finished-text,
  40. .van-list__error-text {
  41. width: 100%;
  42. }
  43. .iconfont-down {
  44. margin-left: 4px;
  45. }
  46. }
  47. }
  48. .alumnList {
  49. padding: 0 12px;
  50. border-radius: 18px;
  51. background-color: #fff;
  52. margin: 14px;
  53. }
  54. .bgImg {
  55. position: fixed;
  56. top: 0;
  57. left: 0;
  58. width: 100%;
  59. height: 214px;
  60. // object-fit: cover;
  61. z-index: -1;
  62. }
  63. .tagTabs {
  64. :global {
  65. .van-tabs__nav {
  66. background-color: transparent;
  67. padding: 0;
  68. }
  69. .van-tab {
  70. font-size: 16px;
  71. font-weight: bold;
  72. color: #fff;
  73. }
  74. .van-tab--shrink {
  75. padding: 0;
  76. margin: 15px;
  77. }
  78. .van-tab--active {
  79. color: #fff;
  80. &::after {
  81. content: ' ';
  82. display: inline-block;
  83. width: 96%;
  84. position: absolute;
  85. height: 7px;
  86. background: #2dc7aa;
  87. border-radius: 4px;
  88. bottom: -2px;
  89. left: 2%;
  90. transition: all ease 0.3s;
  91. }
  92. .van-tab__text {
  93. z-index: 1;
  94. }
  95. }
  96. .van-tabs__line {
  97. height: 0;
  98. // bottom: 30px;
  99. // height: 7px;
  100. // background: rgba(45, 199, 170, 0.5);
  101. // border-radius: 4px;
  102. }
  103. }
  104. }
  105. .fleg {
  106. display: flex;
  107. align-items: center;
  108. font-size: 14px;
  109. font-weight: 600;
  110. span {
  111. padding-top: 3px;
  112. }
  113. :global {
  114. .van-switch {
  115. margin-left: 9px;
  116. background: rgba(255, 255, 255, 0.2);
  117. }
  118. .van-switch__node {
  119. background: rgba(255, 255, 255, 0.51);
  120. }
  121. .van-switch--on {
  122. background: rgba(255, 255, 255, 0.8);
  123. .van-switch__node {
  124. background: rgba(255, 255, 255, 1);
  125. }
  126. }
  127. }
  128. }