index.module.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .coursewareGroup {
  2. margin: 0 13px 13px;
  3. border-radius: 10px;
  4. overflow: hidden;
  5. .top1 {
  6. padding: 12px;
  7. font-size: 12px;
  8. color: #777777 !important;
  9. }
  10. .top2 {
  11. font-size: 12px;
  12. color: #777777 !important;
  13. padding: 14px 12px 20px;
  14. }
  15. // .courseTime {
  16. // color: #777777;
  17. // }
  18. // .orchestraName {
  19. // color: #777777;
  20. // }
  21. .userLogo {
  22. width: 47px;
  23. height: 47px;
  24. border-radius: 50%;
  25. overflow: hidden;
  26. margin-right: 6px;
  27. }
  28. .courseName,
  29. .userName {
  30. max-width: 110px;
  31. }
  32. .userName {
  33. font-size: 16px;
  34. font-weight: 600;
  35. color: #333333;
  36. line-height: 22px;
  37. }
  38. .courseRange {
  39. font-size: 16px;
  40. font-family: DINA;
  41. font-weight: bold;
  42. color: #333333;
  43. line-height: 19px;
  44. span {
  45. color: #f44541;
  46. }
  47. }
  48. .courseName,
  49. .courseRangeTips {
  50. line-height: 1.2;
  51. padding-top: 2px;
  52. }
  53. }
  54. .exerciseRecord {
  55. :global {
  56. .van-haptics-feedback:active {
  57. opacity: 1;
  58. }
  59. }
  60. }
  61. .searchMore {
  62. line-height: 1.2 !important;
  63. :global {
  64. .van-dropdown-item {
  65. z-index: 99;
  66. }
  67. .van-dropdown-menu__bar {
  68. box-shadow: none;
  69. height: var(--van-nav-bar-height);
  70. }
  71. .van-dropdown-item__content {
  72. border-radius: 0 0 12px 12px;
  73. // padding-bottom: calc(var(--van-button-large-height) + 52px);
  74. max-height: 100%;
  75. }
  76. .van-button + .van-button {
  77. margin-left: 15px;
  78. }
  79. }
  80. .searchContainer {
  81. max-height: 400px;
  82. overflow-y: auto;
  83. box-sizing: border-box;
  84. padding-bottom: 16px;
  85. background: var(--van-popup-background);
  86. transition: var(--van-popup-transition);
  87. }
  88. .searchMoreGroup {
  89. display: flex;
  90. align-items: center;
  91. padding: 18px 13px;
  92. background-color: #fff;
  93. }
  94. .searchTitle {
  95. padding: 15px 13px 2px;
  96. font-size: 15px;
  97. font-weight: 600;
  98. color: #333333;
  99. line-height: 21px;
  100. text-align: left;
  101. }
  102. .searchTypeGroup {
  103. display: flex;
  104. align-items: center;
  105. padding: 0 13px;
  106. flex-wrap: wrap;
  107. justify-content: space-between;
  108. }
  109. .searchTypeFlex {
  110. .searchTypeItem {
  111. width: 49%;
  112. }
  113. }
  114. .searchTypeFlex1 {
  115. justify-content: flex-start;
  116. .searchTypeItem {
  117. width: 31%;
  118. &:nth-child(3n + 1) {
  119. margin-right: 2.333%;
  120. }
  121. &:nth-child(3n + 3) {
  122. margin-left: 2.333%;
  123. }
  124. }
  125. }
  126. .searchTypeFlex2 {
  127. .searchTypeItem {
  128. width: 45%;
  129. }
  130. }
  131. .searchTypeItemLine {
  132. margin-top: 10px;
  133. width: 16px;
  134. height: 1px;
  135. background: #d8d8d8;
  136. }
  137. .searchTypeItem {
  138. box-sizing: border-box;
  139. margin-top: 10px;
  140. height: 32px;
  141. line-height: 32px;
  142. background: #f6f6f6;
  143. border: 1px solid #f6f6f6;
  144. border-radius: 16px;
  145. font-size: 13px;
  146. color: #333333;
  147. padding: 0 7px;
  148. text-align: center;
  149. &.is-active {
  150. background: #fff5f2;
  151. border: 1px solid #ffb097;
  152. color: #f67146;
  153. }
  154. }
  155. }
  156. .searchPreview {
  157. margin: 0 13px;
  158. padding-bottom: 12px;
  159. padding-top: 12px;
  160. white-space: nowrap;
  161. overflow-y: auto;
  162. .searchPreviewItem {
  163. display: inline-flex;
  164. align-items: center;
  165. line-height: 28px;
  166. background: #f6f6f6;
  167. border-radius: 16px;
  168. margin-right: 8px;
  169. padding: 1px 10px 0;
  170. font-size: 13px;
  171. color: #333333;
  172. &:last-child {
  173. margin-right: 0;
  174. }
  175. .cross {
  176. font-size: 8px;
  177. margin-left: 6px;
  178. color: #aaaaaa;
  179. }
  180. }
  181. }