index.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. @mixin threeDot {
  2. overflow: hidden;
  3. text-overflow: ellipsis;
  4. white-space: nowrap;
  5. }
  6. .contents {
  7. width: 100%;
  8. // .diatance{
  9. // width: 100%;
  10. // height: 85rpx;
  11. // background-color: #007AFF;
  12. // display: flex;
  13. // align-items: center;
  14. // margin-top: 8rpx;
  15. // .clock {
  16. // width: 44rpx;
  17. // height: 41rpx;
  18. // margin: 0rpx 22rpx 0rpx 65rpx;
  19. // }
  20. // >text {
  21. // color: #fff;
  22. // font-size: 28rpx;
  23. // }
  24. // }
  25. }
  26. .had_courses {
  27. width: 100%;
  28. padding: 0 24rpx 31rpx;
  29. }
  30. .lives {
  31. width: 100%;
  32. padding-top: 20rpx;
  33. .live_item {
  34. position: relative;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. height: 150rpx;
  39. border-radius: 16rpx;
  40. padding: 14rpx 0rpx 0rpx 43rpx;
  41. margin-bottom: 15rpx;
  42. .my_bg {
  43. position: absolute;
  44. left: 0;
  45. top: 0;
  46. width: 100%;
  47. height: 100%;
  48. }
  49. .live_con {
  50. position: relative;
  51. z-index: 10;
  52. }
  53. .live_status {
  54. display: flex;
  55. align-items: center;
  56. .liv_icon {
  57. width: 32rpx;
  58. height: 23rpx;
  59. margin-right: 14rpx;
  60. }
  61. .status_s {
  62. font-size: 24rpx;
  63. font-weight: 500;
  64. color: #dbe3ff;
  65. width: 160rpx;
  66. margin-right: 20rpx;
  67. }
  68. .look_bt {
  69. height: 37rpx;
  70. line-height: 37rpx;
  71. font-size: 24rpx;
  72. padding: 0rpx 18rpx;
  73. text-align: center;
  74. color: #fff;
  75. border-radius: 19rpx;
  76. }
  77. .living {
  78. color: #9356de;
  79. background-color: #fff;
  80. }
  81. .curring {
  82. background-color: #ffb102;
  83. }
  84. .futuring {
  85. background-color: #007aff;
  86. }
  87. }
  88. .liv_time {
  89. font-size: 20rpx;
  90. color: #fff;
  91. margin-top: 17rpx;
  92. .timeR {
  93. margin-right: 15rpx;
  94. }
  95. }
  96. .liv_title {
  97. font-size: 28rpx;
  98. color: #fff;
  99. font-weight: bold;
  100. width: 100%;
  101. @include threeDot();
  102. }
  103. }
  104. }
  105. .my_courses {
  106. .titles {
  107. font-size: 32rpx;
  108. color: #333333;
  109. margin: 44rpx 0rpx 24rpx 43rpx;
  110. font-weight: bold;
  111. display: block;
  112. }
  113. .course_item {
  114. width: 100%;
  115. // height: 278rpx;
  116. background: #ffffff;
  117. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1, 99, 235, 0.1);
  118. border-radius: 24rpx;
  119. padding: 29rpx 29rpx 20rpx 24rpx;
  120. margin-bottom: 20rpx;
  121. .course_item_info {
  122. border-radius: 16rpx;
  123. background: #f8f8f8;
  124. padding: 24rpx 24rpx 10rpx;
  125. margin-top: 24rpx;
  126. view {
  127. margin-bottom: 10rpx;
  128. text {
  129. font-size: 24rpx;
  130. &:nth-of-type(1) {
  131. color: #969696;
  132. }
  133. &:nth-of-type(2) {
  134. color: #4b4b4b;
  135. }
  136. }
  137. .eb {
  138. color: #eb5757 !important;
  139. }
  140. }
  141. }
  142. .titlews {
  143. padding-bottom: 24rpx;
  144. }
  145. .cou_titles {
  146. color: #222222;
  147. font-size: 28rpx;
  148. font-weight: bold;
  149. width: 100%;
  150. }
  151. .learn_ranges {
  152. color: #666;
  153. font-size: 24rpx;
  154. .l_range {
  155. width: 20rpx;
  156. height: 24rpx;
  157. margin-right: 9rpx;
  158. }
  159. .l_time {
  160. color: #333;
  161. }
  162. }
  163. .c_downs {
  164. display: flex;
  165. align-items: center;
  166. padding-top: 24rpx;
  167. }
  168. // 状态
  169. .all_status {
  170. width: 654rpx;
  171. background: #f8f8f8;
  172. border-radius: 16rpx;
  173. }
  174. .class-warm {
  175. padding: 20rpx 24rpx;
  176. display: flex;
  177. align-items: flex-start;
  178. &__icon {
  179. margin-right: 10rpx;
  180. }
  181. &__text {
  182. .date {
  183. color: #ff3b30;
  184. font-size: 22rpx;
  185. font-weight: 400;
  186. // color: #969696;
  187. margin-bottom: 8rpx;
  188. }
  189. }
  190. }
  191. .box_progress {
  192. display: flex;
  193. justify-content: space-between;
  194. align-items: center;
  195. margin-top: 20rpx;
  196. // .disabled {
  197. // opacity: 0.6;
  198. // }
  199. }
  200. .study_btns {
  201. width: 100%;
  202. margin-top: 40rpx;
  203. display: flex;
  204. align-items: center;
  205. justify-content: flex-end;
  206. .exam_btns {
  207. // width: 64%;
  208. display: flex;
  209. justify-content: flex-end;
  210. align-items: center;
  211. }
  212. }
  213. .box_appoint {
  214. // width: 35%;
  215. display: flex;
  216. align-items: center;
  217. justify-content: flex-end;
  218. .img {
  219. width: 32rpx;
  220. height: 32rpx;
  221. margin-right: 10rpx;
  222. }
  223. }
  224. .exam_word {
  225. font-size: 24rpx;
  226. font-weight: 500;
  227. width: 144rpx;
  228. height: 56rpx;
  229. line-height: 56rpx;
  230. text-align: center;
  231. background: #ffffff;
  232. border-radius: 66rpx;
  233. margin-left: 32rpx;
  234. }
  235. .ones {
  236. color: #484848;
  237. border: 2rpx solid #b9b9b9;
  238. }
  239. .intos {
  240. color: #498afe;
  241. border: 2rpx solid #498afe;
  242. }
  243. }
  244. .lefts {
  245. width: 204rpx;
  246. height: 120rpx;
  247. border-radius: 12rpx;
  248. margin-right: 26rpx;
  249. position: relative;
  250. top: 0;
  251. left: 0;
  252. .lefet_img {
  253. width: 100%;
  254. height: 100%;
  255. display: block;
  256. border-radius: 16rpx;
  257. }
  258. .live_icon {
  259. width: 65rpx;
  260. height: 35rpx;
  261. line-height: 35rpx;
  262. border-radius: 12rpx 0rpx 12rpx 0rpx;
  263. background-color: #ffb102;
  264. color: #fff;
  265. font-size: 20rpx;
  266. text-align: center;
  267. position: absolute;
  268. top: 0;
  269. left: 0;
  270. }
  271. }
  272. .rights {
  273. width: 400rpx;
  274. height: 120rpx;
  275. display: flex;
  276. flex-direction: column;
  277. justify-content: space-between;
  278. .learn_progress {
  279. width: 100%;
  280. height: 100%;
  281. display: flex;
  282. align-items: center;
  283. justify-content: space-between;
  284. }
  285. .progress_up {
  286. width: 100%;
  287. .classHour {
  288. padding-top: 16rpx;
  289. font-size: 24rpx;
  290. color: #666666;
  291. }
  292. .scheduling {
  293. display: flex;
  294. align-items: center;
  295. }
  296. .sche_bar {
  297. font-size: 24rpx;
  298. color: #999999;
  299. margin-right: 20rpx;
  300. }
  301. .progress_bar {
  302. flex: 1;
  303. }
  304. }
  305. .progress_down {
  306. // width: 100%;
  307. display: flex;
  308. justify-content: space-between;
  309. align-items: center;
  310. }
  311. .enter_into {
  312. width: 144rpx;
  313. height: 52rpx;
  314. line-height: 52rpx;
  315. background: #ffb102;
  316. border-radius: 16rpx;
  317. font-size: 26rpx;
  318. font-weight: 500;
  319. color: #ffffff;
  320. text-align: center;
  321. }
  322. }
  323. // 收藏集,做题记录
  324. .bottoms {
  325. display: flex;
  326. justify-content: space-between;
  327. margin-bottom: 32rpx;
  328. .item {
  329. width: 335rpx;
  330. &.collect {
  331. position: relative;
  332. font-size: 32rpx;
  333. color: #ffffff;
  334. height: 240rpx;
  335. border-radius: 24rpx;
  336. padding: 32rpx;
  337. .text {
  338. position: relative;
  339. z-index: 10;
  340. font-size: 32rpx;
  341. font-weight: bold;
  342. color: #ffffff;
  343. }
  344. .img {
  345. position: absolute;
  346. left: 0;
  347. top: 0;
  348. width: 100%;
  349. height: 100%;
  350. }
  351. }
  352. &.list {
  353. .list-in {
  354. position: relative;
  355. width: 335rpx;
  356. height: 112rpx;
  357. background: #007aff;
  358. border-radius: 24rpx;
  359. display: flex;
  360. align-items: center;
  361. font-size: 32rpx;
  362. color: #fff;
  363. &:first-of-type {
  364. margin-bottom: 16rpx;
  365. }
  366. .text {
  367. padding-left: 91rpx;
  368. position: relative;
  369. z-index: 10;
  370. font-size: 32rpx;
  371. font-weight: bold;
  372. color: #ffffff;
  373. }
  374. .img {
  375. position: absolute;
  376. left: 0;
  377. top: 0;
  378. width: 100%;
  379. height: 100%;
  380. }
  381. }
  382. }
  383. }
  384. }
  385. }
  386. .no_datas {
  387. margin-top: 70rpx;
  388. display: flex;
  389. flex-direction: column;
  390. align-items: center;
  391. .courses {
  392. width: 360rpx;
  393. height: 349rpx;
  394. }
  395. .no_learns {
  396. font-size: 32rpx;
  397. color: #999;
  398. margin: 46rpx 0rpx 56rpx;
  399. }
  400. .choose {
  401. width: 280rpx;
  402. height: 64rpx;
  403. line-height: 62rpx;
  404. border-radius: 32rpx;
  405. background-color: #007aff;
  406. color: #fff;
  407. font-size: 30rpx;
  408. text-align: center;
  409. }
  410. }
  411. // 弹窗
  412. .popup_box {
  413. height: 700rpx;
  414. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  415. border-radius: 32rpx 32rpx 0rpx 0rpx;
  416. .line1 {
  417. width: 80rpx;
  418. height: 8rpx;
  419. background: #999999;
  420. border-radius: 4rpx;
  421. margin: 0 auto;
  422. margin-top: 15rpx;
  423. }
  424. .grade {
  425. height: 23rpx;
  426. font-size: 24rpx;
  427. color: #999999;
  428. margin: 0 auto;
  429. margin-top: 15rpx;
  430. text-align: center;
  431. }
  432. .confrim-btn {
  433. height: 98rpx;
  434. width: 100%;
  435. display: flex;
  436. align-items: center;
  437. justify-content: center;
  438. .okBtn {
  439. width: 200rpx;
  440. height: 64rpx;
  441. background: linear-gradient(0deg, #015eea, #00c0fa);
  442. border-radius: 32rpx;
  443. color: #ffffff;
  444. text-align: center;
  445. line-height: 64rpx;
  446. }
  447. }
  448. }
  449. .slot-content {
  450. padding: 0 20rpx;
  451. }
  452. .confirm-modal {
  453. .slot-content {
  454. padding: 0 20rpx;
  455. .content {
  456. color: red;
  457. .msg-list {
  458. .item {
  459. padding: 20rpx 0;
  460. &__left {
  461. color: #666;
  462. margin-right: 20rpx;
  463. }
  464. &__right {
  465. color: #333;
  466. }
  467. }
  468. }
  469. }
  470. }
  471. }
  472. // 预约考试弹窗
  473. .popuptest_box {
  474. width: 100%;
  475. height: 938rpx;
  476. padding: 56rpx 56rpx 0rpx;
  477. .check_head {
  478. height: 140rpx;
  479. border-bottom: 2rpx solid #f0f0f0;
  480. }
  481. .headers {
  482. width: 100%;
  483. display: flex;
  484. align-items: center;
  485. justify-content: space-between;
  486. .grade {
  487. font-size: 40rpx;
  488. font-weight: bold;
  489. color: #222222;
  490. }
  491. }
  492. .course_items {
  493. width: 100%;
  494. padding: 24rpx 0rpx 20rpx;
  495. display: flex;
  496. align-items: center;
  497. justify-content: space-between;
  498. border-bottom: 2rpx solid #f0f0f0;
  499. .course_lefts {
  500. width: 510rpx;
  501. }
  502. .course_title {
  503. font-size: 28rpx;
  504. font-weight: 500;
  505. color: #303030;
  506. }
  507. // .course_pros {
  508. // font-size: 22rpx;
  509. // color: #969696;
  510. // margin-top: 16rpx;
  511. // >text {
  512. // color: #4B4B4B;
  513. // }
  514. // }
  515. .course_rights {
  516. display: flex;
  517. flex-direction: column;
  518. align-items: center;
  519. // .cicles {
  520. // width: 32rpx;
  521. // height: 32rpx;
  522. // line-height: 26rpx;
  523. // text-align: center;
  524. // border-radius: 50%;
  525. // background-color: #D5E4FF;
  526. // }
  527. .intoStudy {
  528. width: 108rpx;
  529. height: 56rpx;
  530. line-height: 56rpx;
  531. text-align: center;
  532. background: #d5e4ff;
  533. border-radius: 66rpx;
  534. font-size: 24rpx;
  535. font-weight: 500;
  536. color: #498afe;
  537. }
  538. }
  539. }
  540. }