index.scss 8.6 KB

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