index.scss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  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. }
  181. .box_appoint {
  182. display: flex;
  183. align-items: center;
  184. .img {
  185. width: 32rpx;
  186. height: 32rpx;
  187. margin-right: 10rpx;
  188. }
  189. .exam_word {
  190. font-size: 22rpx;
  191. color: #484848;
  192. }
  193. }
  194. }
  195. .lefts {
  196. width: 204rpx;
  197. height: 120rpx;
  198. border-radius: 12rpx;
  199. margin-right: 48rpx;
  200. position: relative;
  201. top: 0;
  202. left: 0;
  203. .lefet_img {
  204. width: 100%;
  205. height: 100%;
  206. display: block;
  207. border-radius: 16rpx;
  208. }
  209. .live_icon {
  210. width: 65rpx;
  211. height: 35rpx;
  212. line-height: 35rpx;
  213. border-radius: 12rpx 0rpx 12rpx 0rpx;
  214. background-color: #FFB102;
  215. color: #fff;
  216. font-size: 20rpx;
  217. text-align: center;
  218. position: absolute;
  219. top: 0;
  220. left: 0;
  221. }
  222. }
  223. .rights {
  224. width: 380rpx;
  225. height: 120rpx;
  226. display: flex;
  227. flex-direction: column;
  228. justify-content: space-between;;
  229. .learn_progress {
  230. width: 100%;
  231. height: 100%;
  232. display: flex;
  233. align-items: center;
  234. justify-content: space-between;
  235. }
  236. .progress_up {
  237. font-size: 24rpx;
  238. color: #999999;
  239. width: 50%;
  240. // .wk_icon {
  241. // width: 24rpx;
  242. // height: 24rpx;
  243. // margin-right: 8rpx;
  244. // }
  245. .progress_bar {
  246. margin-top: 16rpx;
  247. }
  248. }
  249. .progress_down {
  250. // width: 100%;
  251. display: flex;
  252. justify-content: space-between;
  253. align-items: center;
  254. }
  255. .enter_into {
  256. width: 144rpx;
  257. height: 52rpx;
  258. line-height: 52rpx;
  259. background: #FFB102;
  260. border-radius: 16rpx;
  261. font-size: 26rpx;
  262. font-weight: 500;
  263. color: #FFFFFF;
  264. text-align: center;
  265. }
  266. }
  267. // 收藏集,做题记录
  268. .bottoms {
  269. display: flex;
  270. justify-content: space-between;
  271. margin-bottom: 32rpx;
  272. .item {
  273. width: 335rpx;
  274. &.collect {
  275. position: relative;
  276. font-size: 32rpx;
  277. color: #FFFFFF;
  278. height: 240rpx;
  279. border-radius: 24rpx;
  280. padding:32rpx;
  281. .text {
  282. position:relative;
  283. z-index: 10;
  284. font-size: 32rpx;
  285. font-weight: bold;
  286. color: #FFFFFF;
  287. }
  288. .img {
  289. position:absolute;
  290. left:0;
  291. top:0;
  292. width:100%;
  293. height:100%;
  294. }
  295. }
  296. &.list {
  297. .list-in {
  298. position:relative;
  299. width: 335rpx;
  300. height: 112rpx;
  301. background: #007AFF;
  302. border-radius: 24rpx;
  303. display: flex;
  304. align-items: center;
  305. font-size: 32rpx;
  306. color: #fff;
  307. &:first-of-type {
  308. margin-bottom:16rpx;
  309. }
  310. .text {
  311. padding-left:91rpx;
  312. position:relative;
  313. z-index: 10;
  314. font-size: 32rpx;
  315. font-weight: bold;
  316. color: #FFFFFF;
  317. }
  318. .img {
  319. position:absolute;
  320. left:0;
  321. top:0;
  322. width:100%;
  323. height:100%;
  324. }
  325. }
  326. }
  327. }
  328. }
  329. }
  330. .no_datas {
  331. margin-top: 70rpx;
  332. display: flex;
  333. flex-direction: column;
  334. align-items: center;
  335. .courses {
  336. width: 360rpx;
  337. height: 349rpx;
  338. }
  339. .no_learns {
  340. font-size: 32rpx;
  341. color: #999;
  342. margin: 46rpx 0rpx 56rpx;
  343. }
  344. .choose {
  345. width: 280rpx;
  346. height: 64rpx;
  347. line-height: 64rpx;
  348. border-radius: 32rpx;
  349. background-color: #007AFF;
  350. color: #fff;
  351. font-size: 30rpx;
  352. text-align: center;
  353. }
  354. }
  355. // 弹窗
  356. .popup_box {
  357. height: 700rpx;
  358. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  359. border-radius: 32rpx 32rpx 0rpx 0rpx;
  360. .line1 {
  361. width: 80rpx;
  362. height: 8rpx;
  363. background: #999999;
  364. border-radius: 4rpx;
  365. margin: 0 auto;
  366. margin-top: 15rpx;
  367. }
  368. .grade {
  369. height: 23rpx;
  370. font-size: 24rpx;
  371. color: #999999;
  372. margin: 0 auto;
  373. margin-top: 15rpx;
  374. text-align: center;
  375. }
  376. .confrim-btn {
  377. height: 98rpx;
  378. width: 100%;
  379. display: flex;
  380. align-items: center;
  381. justify-content: center;
  382. .okBtn {
  383. width: 200rpx;
  384. height: 64rpx;
  385. background: linear-gradient(0deg, #015EEA, #00C0FA);
  386. border-radius: 32rpx;
  387. color: #FFFFFF;
  388. text-align: center;
  389. line-height: 64rpx;
  390. }
  391. }
  392. }
  393. .slot-content {
  394. padding: 0 20rpx;
  395. }
  396. .confirm-modal {
  397. .slot-content {
  398. padding:0 20rpx;
  399. .content {
  400. color:red;
  401. .msg-list {
  402. .item {
  403. padding:20rpx 0;
  404. &__left {
  405. color:#666;
  406. margin-right:20rpx;
  407. }
  408. &__right {
  409. color:#333;
  410. }
  411. }
  412. }
  413. }
  414. }
  415. }