index.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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. .searchGroup {
  34. background-color: #f8f9fc;
  35. :global {
  36. .van-search {
  37. padding-top: 0;
  38. // padding-bottom: 0;
  39. padding-bottom: 12px;
  40. }
  41. }
  42. }
  43. .label {
  44. margin-right: 8px;
  45. font-size: 14px;
  46. color: #fff;
  47. &.searchs {
  48. color: #131415;
  49. }
  50. &.labelActive {
  51. :global {
  52. .iconfont-down {
  53. transform: rotate(180deg) translateY(1px);
  54. }
  55. }
  56. }
  57. :global {
  58. .van-list__loading,
  59. .van-list__finished-text,
  60. .van-list__error-text {
  61. width: 100%;
  62. }
  63. .iconfont-down {
  64. margin-left: 4px;
  65. }
  66. }
  67. }
  68. .woringHeader {
  69. display: flex;
  70. align-items: center;
  71. height: var(--van-nav-bar-height);
  72. .leftArrow {
  73. padding: 0 var(--k-padding-md);
  74. margin-right: 0;
  75. color: #fff;
  76. }
  77. .tabSection {
  78. // padding: 0 32px;
  79. flex: 1;
  80. display: flex;
  81. align-items: center;
  82. justify-content: space-between;
  83. --van-tab-font-size: 16px;
  84. --van-tabs-line-height: 28px;
  85. --van-tab-text-color: rgba(51, 51, 51, 0.5);
  86. --van-tab-active-text-color: #333333;
  87. --van-tabs-nav-background: transparent;
  88. --van-padding-xs: 0;
  89. .moreIcon {
  90. display: flex;
  91. align-items: center;
  92. position: relative;
  93. span {
  94. // padding-right: 4px;
  95. }
  96. }
  97. :global {
  98. .van-tabs__nav {
  99. background-color: transparent;
  100. }
  101. .van-tabs__line {
  102. display: inline-block;
  103. width: 30px;
  104. height: 7px;
  105. background: #2dc7aa;
  106. border-radius: 4px;
  107. bottom: 18px;
  108. }
  109. .van-tab {
  110. font-size: 16px;
  111. color: #ffffff;
  112. }
  113. .van-tab--active {
  114. font-weight: bold;
  115. }
  116. .van-tab__text {
  117. line-height: normal;
  118. }
  119. .van-tab--shrink {
  120. padding: 0 22px;
  121. z-index: 9;
  122. }
  123. }
  124. }
  125. }
  126. .alumnList {
  127. padding: 0 12px;
  128. border-radius: 10px 10px 8px 8px;
  129. background-color: #fff;
  130. margin: 0 0 14px;
  131. min-height: 200px;
  132. &.alumnListOnly {
  133. margin-top: 0;
  134. }
  135. }
  136. .bgImg {
  137. position: fixed;
  138. top: 0;
  139. left: 0;
  140. width: 100%;
  141. height: 214px;
  142. // object-fit: cover;
  143. z-index: -1;
  144. }
  145. .tagTabs {
  146. :global {
  147. .van-tabs__nav {
  148. background-color: transparent;
  149. padding: 0;
  150. }
  151. .van-tab {
  152. font-size: 16px;
  153. font-weight: bold;
  154. color: #fff;
  155. }
  156. .van-tab--shrink {
  157. padding: 0;
  158. margin: 15px;
  159. }
  160. .van-tab--active {
  161. color: #fff;
  162. &::after {
  163. content: ' ';
  164. display: inline-block;
  165. width: 96%;
  166. position: absolute;
  167. height: 7px;
  168. background: #2dc7aa;
  169. border-radius: 4px;
  170. bottom: -2px;
  171. left: 2%;
  172. transition: all ease 0.3s;
  173. }
  174. .van-tab__text {
  175. z-index: 1;
  176. }
  177. }
  178. .van-tabs__line {
  179. height: 0;
  180. // bottom: 30px;
  181. // height: 7px;
  182. // background: rgba(45, 199, 170, 0.5);
  183. // border-radius: 4px;
  184. }
  185. }
  186. }
  187. .fleg {
  188. display: flex;
  189. align-items: center;
  190. font-size: 14px;
  191. font-weight: 600;
  192. span {
  193. padding-top: 3px;
  194. }
  195. :global {
  196. .van-switch {
  197. margin-right: 5px;
  198. border-color: rgba(255, 255, 255, 0.3);
  199. // background: rgba(255, 255, 255, 0.2);
  200. background: rgba(158, 198, 250, 1);
  201. }
  202. .van-switch__node {
  203. background: rgba(255, 255, 255, 0.51);
  204. // background: rgba(158, 198, 250, 1);
  205. }
  206. .van-switch--on {
  207. // background: rgba(255, 255, 255, 0.8);
  208. background: rgba(98, 196, 171, 1);
  209. .van-switch__node {
  210. background: rgba(255, 255, 255, 1);
  211. }
  212. }
  213. }
  214. }
  215. .popupContainer {
  216. // max-height: 504px;
  217. // overflow-x: hidden;
  218. // overflow-y: auto;
  219. .popupTitle {
  220. position: sticky;
  221. z-index: 1;
  222. top: 0;
  223. text-align: center;
  224. font-weight: 600;
  225. font-size: 18px;
  226. color: #333333;
  227. line-height: 24px;
  228. padding: 18px 0 12px;
  229. }
  230. .popupSearchList {
  231. min-height: 30vh;
  232. max-height: 50vh;
  233. overflow: hidden auto;
  234. }
  235. .popupSection {
  236. padding: 0 16px 18px;
  237. .title {
  238. display: flex;
  239. justify-content: space-between;
  240. padding-bottom: 10px;
  241. span {
  242. display: flex;
  243. align-items: center;
  244. font-weight: 600;
  245. font-size: 15px;
  246. color: #333333;
  247. line-height: 18px;
  248. &::before {
  249. content: '';
  250. display: inline-block;
  251. width: 3px;
  252. height: 12px;
  253. background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%);
  254. border-radius: 2px;
  255. margin-right: 4px;
  256. }
  257. }
  258. }
  259. .timeCount {
  260. display: flex;
  261. align-items: center;
  262. p {
  263. margin-left: 10px;
  264. flex: 1;
  265. background: #f8f8f8;
  266. border: 1px solid #f8f8f8;
  267. border-radius: 4px;
  268. font-size: 13px;
  269. color: #999999;
  270. line-height: 18px;
  271. text-align: center;
  272. padding: 6px 0;
  273. &:first-child {
  274. margin-left: 0;
  275. }
  276. &.active {
  277. background: #e9fff8;
  278. border-radius: 4px;
  279. border: 1px solid #2dc7aa;
  280. color: #2dc7aa;
  281. }
  282. }
  283. }
  284. .timeSubject {
  285. flex-wrap: wrap;
  286. margin-left: -5px;
  287. margin-right: -5px;
  288. p {
  289. width: calc(25% - 10px);
  290. padding: 6px 3px;
  291. margin: 0 5px;
  292. flex: none;
  293. overflow: hidden;
  294. white-space: nowrap;
  295. text-overflow: ellipsis;
  296. margin-bottom: 9px;
  297. box-sizing: border-box;
  298. &:first-child {
  299. margin-left: 5px;
  300. }
  301. }
  302. }
  303. }
  304. .popupBottom {
  305. position: sticky;
  306. z-index: 1;
  307. bottom: 0;
  308. border-top: 1px solid #f2f2f2;
  309. padding: 20px 13px 30px;
  310. display: flex;
  311. align-items: center;
  312. :global {
  313. .van-button {
  314. font-size: 16px;
  315. }
  316. .van-button + .van-button {
  317. margin-left: 15px;
  318. }
  319. }
  320. }
  321. }