index.scss 9.2 KB

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