index.scss 5.0 KB

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