index.scss 11 KB

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