index.scss 9.0 KB

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