index.scss 4.9 KB

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