index.scss 6.7 KB

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