index.module.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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('../../images/bg.png') no-repeat top center;
  8. background-size: 100% 346px;
  9. }
  10. .van-search__content {
  11. background: rgba(255, 255, 255, 0.5) !important;
  12. input::placeholder {
  13. color: rgba(0, 0, 0, 0.4) !important;
  14. }
  15. input {
  16. color: rgba(0, 0, 0, 0.4) !important;
  17. }
  18. .van-field__clear {
  19. color: rgba(0, 0, 0, 0.4) !important;
  20. }
  21. }
  22. .van-search {
  23. // padding-bottom: 0;
  24. align-items: flex-start;
  25. }
  26. .van-dropdown-menu__bar {
  27. background-color: transparent;
  28. box-shadow: none;
  29. padding-right: 15px;
  30. padding-bottom: 10px;
  31. height: 36px;
  32. }
  33. .van-dropdown-menu__title {
  34. padding-left: 0;
  35. color: #131415;
  36. &:after {
  37. border-color: transparent transparent rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);
  38. }
  39. &.van-dropdown-menu__title--active {
  40. color: #fe2451;
  41. &:after {
  42. border-color: transparent transparent #fe2451 #fe2451;
  43. }
  44. }
  45. }
  46. .van-dropdown-menu__title:after {
  47. border-color: transparent transparent rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);
  48. }
  49. .van-dropdown-item__content {
  50. border-radius: 0px 0px 20px 20px;
  51. }
  52. .van-haptics-feedback:active {
  53. opacity: 1 !important;
  54. }
  55. }
  56. .dropdownMenuSub {
  57. :global {
  58. .van-popup {
  59. box-sizing: border-box;
  60. padding: 12px;
  61. }
  62. .van-cell {
  63. padding: 0;
  64. height: 50px;
  65. line-height: 50px;
  66. color: #333333;
  67. &:after {
  68. display: none;
  69. }
  70. &.van-dropdown-item__option--active {
  71. background-color: rgba(254, 36, 81, 0.08);
  72. border-radius: 10px;
  73. color: #fe2451;
  74. .van-cell__title {
  75. font-weight: 600;
  76. }
  77. }
  78. .van-cell__title {
  79. font-weight: 400;
  80. font-size: 16px;
  81. text-align: center;
  82. }
  83. .van-cell__value {
  84. display: none;
  85. }
  86. }
  87. }
  88. }
  89. .titleActive {
  90. :global(.van-ellipsis) {
  91. max-width: 62px;
  92. }
  93. }
  94. }
  95. .search {
  96. :global {
  97. .van-search {
  98. padding-top: 4px;
  99. }
  100. }
  101. }
  102. .bgImg {
  103. position: fixed;
  104. top: 0;
  105. left: 0;
  106. width: 100%;
  107. height: 346px;
  108. // object-fit: cover;
  109. z-index: -1;
  110. }
  111. .alumnList {
  112. min-height: 40vh;
  113. :global {
  114. .van-list__loading {
  115. display: none;
  116. }
  117. }
  118. .courseItem {
  119. background: initial;
  120. border: initial;
  121. padding: 0 4px 20px;
  122. :global {
  123. .courseItem:nth-child(1) {
  124. margin-top: 6px !important;
  125. }
  126. .courseItem:nth-child(2) {
  127. margin-top: 6px !important;
  128. }
  129. .courseItem:nth-child(3) {
  130. margin-top: 6px !important;
  131. }
  132. }
  133. }
  134. }