index.scss 5.0 KB

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