index.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. @mixin threeDot {
  2. overflow: hidden;
  3. text-overflow: ellipsis;
  4. white-space: nowrap;
  5. }
  6. .had_courses{
  7. width: 100%;
  8. padding: 0rpx 24rpx 31rpx;
  9. }
  10. .my_courses {
  11. .titles {
  12. font-size: 32rpx;
  13. color: #333333;
  14. margin: 44rpx 0rpx 24rpx 43rpx;
  15. font-weight: bold;
  16. display: block;
  17. }
  18. .course_item {
  19. width: 100%;
  20. // height: 278rpx;
  21. background: #FFFFFF;
  22. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1,99,235,0.1000);
  23. border-radius: 24rpx;
  24. padding: 29rpx 29rpx 20rpx 24rpx;
  25. margin-bottom: 20rpx;
  26. .titlews {
  27. padding-bottom: 24rpx;
  28. }
  29. .cou_titles {
  30. margin-bottom: 12rpx;
  31. color: #333333;
  32. font-size: 32rpx;
  33. font-weight: bold;
  34. width: 100%;
  35. @include threeDot();
  36. }
  37. .learn_ranges {
  38. color: #666;
  39. font-size: 24rpx;
  40. .l_range {
  41. width: 20rpx;
  42. height: 24rpx;
  43. margin-right: 9rpx;
  44. }
  45. .l_time {
  46. color: #333;
  47. }
  48. }
  49. .c_downs {
  50. display: flex;
  51. align-items: center;
  52. // justify-content: flex-start;
  53. justify-content: space-between;
  54. padding-top: 24rpx;
  55. }
  56. // 状态
  57. .all_status {
  58. width: 654rpx;
  59. background: #F8F8F8;
  60. border-radius: 16rpx;
  61. }
  62. .class-warm {
  63. padding: 20rpx 24rpx;
  64. display: flex;
  65. align-items: flex-start;
  66. &__icon {
  67. margin-right: 10rpx;
  68. }
  69. &__text {
  70. .date {
  71. color: #FF3B30;
  72. font-size: 22rpx;
  73. font-weight: 400;
  74. // color: #969696;
  75. margin-bottom: 8rpx;
  76. }
  77. }
  78. }
  79. .box_progress {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. margin-top: 20rpx;
  84. // .disabled {
  85. // opacity: 0.6;
  86. // }
  87. }
  88. .study_btns {
  89. width: 100%;
  90. margin-top: 40rpx;
  91. display: flex;
  92. align-items: center;
  93. justify-content: flex-end;
  94. .exam_btns {
  95. // width: 64%;
  96. display: flex;
  97. justify-content: flex-end;
  98. align-items: center;
  99. }
  100. }
  101. .box_appoint {
  102. // width: 35%;
  103. display: flex;
  104. align-items: center;
  105. justify-content: flex-end;
  106. .img {
  107. width: 32rpx;
  108. height: 32rpx;
  109. margin-right: 10rpx;
  110. }
  111. }
  112. .exam_word {
  113. font-size: 24rpx;
  114. font-weight: 500;
  115. width: 144rpx;
  116. height: 56rpx;
  117. line-height: 56rpx;
  118. text-align: center;
  119. background: #FFFFFF;
  120. border-radius: 66rpx;
  121. margin-left: 32rpx;
  122. }
  123. .ones {
  124. color: #484848;
  125. border: 2rpx solid #B9B9B9;
  126. }
  127. .intos {
  128. color: #498AFE;
  129. border: 2rpx solid #498AFE;
  130. }
  131. }
  132. .lefts {
  133. width: 204rpx;
  134. height: 120rpx;
  135. border-radius: 12rpx;
  136. margin-right: 48rpx;
  137. position: relative;
  138. top: 0;
  139. left: 0;
  140. .lefet_img {
  141. width: 100%;
  142. height: 100%;
  143. display: block;
  144. border-radius: 16rpx;
  145. }
  146. .live_icon {
  147. width: 65rpx;
  148. height: 35rpx;
  149. line-height: 35rpx;
  150. border-radius: 12rpx 0rpx 12rpx 0rpx;
  151. background-color: #FFB102;
  152. color: #fff;
  153. font-size: 20rpx;
  154. text-align: center;
  155. position: absolute;
  156. top: 0;
  157. left: 0;
  158. }
  159. }
  160. .rights {
  161. width: 380rpx;
  162. height: 120rpx;
  163. display: flex;
  164. flex-direction: column;
  165. justify-content: space-between;;
  166. .learn_progress {
  167. width: 100%;
  168. height: 100%;
  169. display: flex;
  170. align-items: center;
  171. justify-content: space-between;
  172. }
  173. .progress_up {
  174. font-size: 24rpx;
  175. color: #999999;
  176. width: 100%;
  177. .progress_bar {
  178. margin-top: 16rpx;
  179. }
  180. }
  181. .progress_down {
  182. // width: 100%;
  183. display: flex;
  184. justify-content: space-between;
  185. align-items: center;
  186. }
  187. .enter_into {
  188. width: 144rpx;
  189. height: 52rpx;
  190. line-height: 52rpx;
  191. background: #FFB102;
  192. border-radius: 16rpx;
  193. font-size: 26rpx;
  194. font-weight: 500;
  195. color: #FFFFFF;
  196. text-align: center;
  197. }
  198. }
  199. // 收藏集,做题记录
  200. .bottoms {
  201. display: flex;
  202. justify-content: space-between;
  203. margin-bottom: 32rpx;
  204. .item {
  205. width: 335rpx;
  206. &.collect {
  207. position: relative;
  208. font-size: 32rpx;
  209. color: #FFFFFF;
  210. height: 240rpx;
  211. border-radius: 24rpx;
  212. padding:32rpx;
  213. .text {
  214. position:relative;
  215. z-index: 10;
  216. font-size: 32rpx;
  217. font-weight: bold;
  218. color: #FFFFFF;
  219. }
  220. .img {
  221. position:absolute;
  222. left:0;
  223. top:0;
  224. width:100%;
  225. height:100%;
  226. }
  227. }
  228. &.list {
  229. .list-in {
  230. position:relative;
  231. width: 335rpx;
  232. height: 112rpx;
  233. background: #007AFF;
  234. border-radius: 24rpx;
  235. display: flex;
  236. align-items: center;
  237. font-size: 32rpx;
  238. color: #fff;
  239. &:first-of-type {
  240. margin-bottom:16rpx;
  241. }
  242. .text {
  243. padding-left:91rpx;
  244. position:relative;
  245. z-index: 10;
  246. font-size: 32rpx;
  247. font-weight: bold;
  248. color: #FFFFFF;
  249. }
  250. .img {
  251. position:absolute;
  252. left:0;
  253. top:0;
  254. width:100%;
  255. height:100%;
  256. }
  257. }
  258. }
  259. }
  260. }
  261. }
  262. .no_datas {
  263. margin-top: 70rpx;
  264. display: flex;
  265. flex-direction: column;
  266. align-items: center;
  267. .courses {
  268. width: 360rpx;
  269. height: 349rpx;
  270. }
  271. .no_learns {
  272. font-size: 32rpx;
  273. color: #999;
  274. margin: 46rpx 0rpx 56rpx;
  275. }
  276. .choose {
  277. width: 280rpx;
  278. height: 64rpx;
  279. line-height: 64rpx;
  280. border-radius: 32rpx;
  281. background-color: #007AFF;
  282. color: #fff;
  283. font-size: 30rpx;
  284. text-align: center;
  285. }
  286. }