index.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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. flex-wrap: wrap;
  95. }
  96. .box_appoint {
  97. display: flex;
  98. align-items: center;
  99. justify-content: flex-end;
  100. .img {
  101. width: 32rpx;
  102. height: 32rpx;
  103. margin-right: 10rpx;
  104. }
  105. }
  106. .exam_word {
  107. font-size: 24rpx;
  108. font-weight: 500;
  109. // width: 144rpx;
  110. padding: 0rpx 20rpx;
  111. height: 56rpx;
  112. line-height: 51rpx;
  113. text-align: center;
  114. background: #FFFFFF;
  115. border-radius: 66rpx;
  116. margin-right: 18rpx;
  117. margin-bottom: 24rpx;
  118. }
  119. .ones {
  120. color: #484848;
  121. border: 2rpx solid #B9B9B9;
  122. }
  123. .intos {
  124. color: #498AFE;
  125. border: 2rpx solid #498AFE;
  126. }
  127. }
  128. .lefts {
  129. width: 204rpx;
  130. height: 120rpx;
  131. border-radius: 12rpx;
  132. margin-right: 48rpx;
  133. position: relative;
  134. top: 0;
  135. left: 0;
  136. .lefet_img {
  137. width: 100%;
  138. height: 100%;
  139. display: block;
  140. border-radius: 16rpx;
  141. }
  142. .live_icon {
  143. width: 65rpx;
  144. height: 35rpx;
  145. line-height: 35rpx;
  146. border-radius: 12rpx 0rpx 12rpx 0rpx;
  147. background-color: #FFB102;
  148. color: #fff;
  149. font-size: 20rpx;
  150. text-align: center;
  151. position: absolute;
  152. top: 0;
  153. left: 0;
  154. }
  155. }
  156. .rights {
  157. width: 380rpx;
  158. height: 120rpx;
  159. display: flex;
  160. flex-direction: column;
  161. justify-content: space-between;;
  162. .learn_progress {
  163. width: 100%;
  164. height: 100%;
  165. display: flex;
  166. align-items: center;
  167. justify-content: space-between;
  168. }
  169. .progress_up {
  170. font-size: 24rpx;
  171. color: #999999;
  172. width: 100%;
  173. .progress_bar {
  174. margin-top: 16rpx;
  175. }
  176. }
  177. .progress_down {
  178. // width: 100%;
  179. display: flex;
  180. justify-content: space-between;
  181. align-items: center;
  182. }
  183. .enter_into {
  184. width: 144rpx;
  185. height: 52rpx;
  186. line-height: 52rpx;
  187. background: #FFB102;
  188. border-radius: 16rpx;
  189. font-size: 26rpx;
  190. font-weight: 500;
  191. color: #FFFFFF;
  192. text-align: center;
  193. }
  194. }
  195. // 收藏集,做题记录
  196. .bottoms {
  197. display: flex;
  198. justify-content: space-between;
  199. margin-bottom: 32rpx;
  200. .item {
  201. width: 335rpx;
  202. &.collect {
  203. position: relative;
  204. font-size: 32rpx;
  205. color: #FFFFFF;
  206. height: 240rpx;
  207. border-radius: 24rpx;
  208. padding:32rpx;
  209. .text {
  210. position:relative;
  211. z-index: 10;
  212. font-size: 32rpx;
  213. font-weight: bold;
  214. color: #FFFFFF;
  215. }
  216. .img {
  217. position:absolute;
  218. left:0;
  219. top:0;
  220. width:100%;
  221. height:100%;
  222. }
  223. }
  224. &.list {
  225. .list-in {
  226. position:relative;
  227. width: 335rpx;
  228. height: 112rpx;
  229. background: #007AFF;
  230. border-radius: 24rpx;
  231. display: flex;
  232. align-items: center;
  233. font-size: 32rpx;
  234. color: #fff;
  235. &:first-of-type {
  236. margin-bottom:16rpx;
  237. }
  238. .text {
  239. padding-left:91rpx;
  240. position:relative;
  241. z-index: 10;
  242. font-size: 32rpx;
  243. font-weight: bold;
  244. color: #FFFFFF;
  245. }
  246. .img {
  247. position:absolute;
  248. left:0;
  249. top:0;
  250. width:100%;
  251. height:100%;
  252. }
  253. }
  254. }
  255. }
  256. }
  257. }
  258. .no_datas {
  259. margin-top: 70rpx;
  260. display: flex;
  261. flex-direction: column;
  262. align-items: center;
  263. // .courses {
  264. // width: 360rpx;
  265. // height: 349rpx;
  266. // }
  267. // .no_learns {
  268. // font-size: 32rpx;
  269. // color: #999;
  270. // margin: 46rpx 0rpx 56rpx;
  271. // }
  272. .empty_status {
  273. width: 160rpx;
  274. height: 160rpx;
  275. margin-bottom: 14rpx;
  276. margin-top: 300rpx;
  277. }
  278. .word_tip {
  279. font-size: 30rpx;
  280. color: #888691;
  281. margin-bottom: 56rpx;
  282. }
  283. .choose {
  284. width: 280rpx;
  285. height: 64rpx;
  286. line-height: 62rpx;
  287. border-radius: 32rpx;
  288. background-color: #007AFF;
  289. color: #fff;
  290. font-size: 30rpx;
  291. text-align: center;
  292. }
  293. }