index.module.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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-image.png') no-repeat top center;
  8. background-size: 100% 214px;
  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-dropdown-menu__bar {
  23. background-color: transparent;
  24. box-shadow: none;
  25. padding-right: 15px;
  26. }
  27. .van-dropdown-menu__title {
  28. padding-left: 0;
  29. }
  30. .van-dropdown-menu__title:after {
  31. border-color: transparent transparent rgba(0, 0, 0, 0.4)
  32. rgba(0, 0, 0, 0.4);
  33. }
  34. .van-dropdown-item__content {
  35. border-radius: 0px 0px 20px 20px;
  36. }
  37. .van-haptics-feedback:active {
  38. opacity: 1 !important;
  39. }
  40. }
  41. .dropdownMenuSub {
  42. :global {
  43. .van-popup {
  44. box-sizing: border-box;
  45. padding: 12px;
  46. }
  47. .van-cell {
  48. padding: 0;
  49. height: 50px;
  50. line-height: 50px;
  51. color: #333333;
  52. &:after {
  53. display: none;
  54. }
  55. &.van-dropdown-item__option--active {
  56. background-color: rgba(254, 36, 81, 0.08);
  57. border-radius: 10px;
  58. color: #fe2451;
  59. }
  60. .van-cell__title {
  61. font-weight: 400;
  62. font-size: 16px;
  63. text-align: center;
  64. }
  65. .van-cell__value {
  66. display: none;
  67. }
  68. }
  69. }
  70. }
  71. .titleActive {
  72. color: #fe2451;
  73. :global(.van-ellipsis) {
  74. max-width: 62px;
  75. }
  76. }
  77. }
  78. .bgImg {
  79. position: fixed;
  80. top: 0;
  81. left: 0;
  82. width: 100%;
  83. height: 214px;
  84. // object-fit: cover;
  85. z-index: -1;
  86. }
  87. .alumnList {
  88. min-height: 40vh;
  89. :global {
  90. .van-list__loading {
  91. display: none;
  92. }
  93. }
  94. }
  95. .courseItem.courseItem1 {
  96. background: initial;
  97. border: initial;
  98. padding: 0 10px 20px;
  99. :global {
  100. .courseItem:nth-child(1) {
  101. margin-top: 10px;
  102. }
  103. .courseItem:nth-child(2) {
  104. margin-top: 10px;
  105. }
  106. .courseItem:nth-child(3) {
  107. margin-top: 10px;
  108. }
  109. }
  110. }