index.scss 8.6 KB

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