index.scss 9.2 KB

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