index.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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. margin-bottom: 20rpx;
  120. .cou_titles {
  121. margin-bottom: 12rpx;
  122. color: #333333;
  123. font-size: 32rpx;
  124. font-weight: bold;
  125. width: 100%;
  126. @include threeDot();
  127. }
  128. .learn_ranges {
  129. color: #666;
  130. font-size: 24rpx;
  131. .l_range {
  132. width: 20rpx;
  133. height: 24rpx;
  134. margin-right: 9rpx;
  135. }
  136. .l_time {
  137. color: #333;
  138. }
  139. }
  140. .c_downs {
  141. display: flex;
  142. align-items: center;
  143. justify-content: space-between;
  144. margin-top: 24rpx;
  145. }
  146. }
  147. .lefts {
  148. width: 204rpx;
  149. height: 120rpx;
  150. border-radius: 12rpx;
  151. margin-right: 24rpx;
  152. position: relative;
  153. top: 0;
  154. left: 0;
  155. .lefet_img {
  156. width: 100%;
  157. height: 100%;
  158. display: block;
  159. border-radius: 16rpx;
  160. }
  161. .live_icon {
  162. width: 65rpx;
  163. height: 35rpx;
  164. line-height: 35rpx;
  165. border-radius: 12rpx 0rpx 12rpx 0rpx;
  166. background-color: #FFB102;
  167. color: #fff;
  168. font-size: 20rpx;
  169. text-align: center;
  170. position: absolute;
  171. top: 0;
  172. left: 0;
  173. }
  174. }
  175. .rights {
  176. width: 400rpx;
  177. height: 120rpx;
  178. display: flex;
  179. flex-direction: column;
  180. justify-content: space-between;;
  181. .learn_progress {
  182. width: 100%;
  183. height: 100%;
  184. display: flex;
  185. align-items: center;
  186. justify-content: space-between;
  187. }
  188. .progress_up {
  189. font-size: 24rpx;
  190. color: #999999;
  191. width: 50%;
  192. // .wk_icon {
  193. // width: 24rpx;
  194. // height: 24rpx;
  195. // margin-right: 8rpx;
  196. // }
  197. .progress_bar {
  198. margin-top: 16rpx;
  199. }
  200. }
  201. .progress_down {
  202. // width: 100%;
  203. display: flex;
  204. justify-content: space-between;
  205. align-items: center;
  206. }
  207. .enter_into {
  208. width: 144rpx;
  209. height: 52rpx;
  210. line-height: 52rpx;
  211. background: #FFB102;
  212. border-radius: 16rpx;
  213. font-size: 26rpx;
  214. font-weight: 500;
  215. color: #FFFFFF;
  216. text-align: center;
  217. }
  218. }
  219. // 收藏集,做题记录
  220. .bottoms {
  221. display: flex;
  222. justify-content: space-between;
  223. margin-bottom: 32rpx;
  224. .item {
  225. width: 335rpx;
  226. &.collect {
  227. position: relative;
  228. font-size: 32rpx;
  229. color: #FFFFFF;
  230. height: 240rpx;
  231. border-radius: 24rpx;
  232. padding:32rpx;
  233. .text {
  234. position:relative;
  235. z-index: 10;
  236. font-size: 32rpx;
  237. font-weight: bold;
  238. color: #FFFFFF;
  239. }
  240. .img {
  241. position:absolute;
  242. left:0;
  243. top:0;
  244. width:100%;
  245. height:100%;
  246. }
  247. }
  248. &.list {
  249. .list-in {
  250. position:relative;
  251. width: 335rpx;
  252. height: 112rpx;
  253. background: #007AFF;
  254. border-radius: 24rpx;
  255. display: flex;
  256. align-items: center;
  257. font-size: 32rpx;
  258. color: #fff;
  259. &:first-of-type {
  260. margin-bottom:16rpx;
  261. }
  262. .text {
  263. padding-left:91rpx;
  264. position:relative;
  265. z-index: 10;
  266. font-size: 32rpx;
  267. font-weight: bold;
  268. color: #FFFFFF;
  269. }
  270. .img {
  271. position:absolute;
  272. left:0;
  273. top:0;
  274. width:100%;
  275. height:100%;
  276. }
  277. }
  278. }
  279. }
  280. }
  281. }
  282. .no_datas {
  283. margin-top: 70rpx;
  284. display: flex;
  285. flex-direction: column;
  286. align-items: center;
  287. .courses {
  288. width: 360rpx;
  289. height: 349rpx;
  290. }
  291. .no_learns {
  292. font-size: 32rpx;
  293. color: #999;
  294. margin: 46rpx 0rpx 56rpx;
  295. }
  296. .choose {
  297. width: 280rpx;
  298. height: 64rpx;
  299. line-height: 64rpx;
  300. border-radius: 32rpx;
  301. background-color: #007AFF;
  302. color: #fff;
  303. font-size: 30rpx;
  304. text-align: center;
  305. }
  306. }
  307. // 弹窗
  308. .popup_box {
  309. height: 700rpx;
  310. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  311. border-radius: 32rpx 32rpx 0rpx 0rpx;
  312. .line1 {
  313. width: 80rpx;
  314. height: 8rpx;
  315. background: #999999;
  316. border-radius: 4rpx;
  317. margin: 0 auto;
  318. margin-top: 15rpx;
  319. }
  320. .grade {
  321. height: 23rpx;
  322. font-size: 24rpx;
  323. color: #999999;
  324. margin: 0 auto;
  325. margin-top: 15rpx;
  326. text-align: center;
  327. }
  328. .confrim-btn {
  329. height: 98rpx;
  330. width: 100%;
  331. display: flex;
  332. align-items: center;
  333. justify-content: center;
  334. .okBtn {
  335. width: 200rpx;
  336. height: 64rpx;
  337. background: linear-gradient(0deg, #015EEA, #00C0FA);
  338. border-radius: 32rpx;
  339. color: #FFFFFF;
  340. text-align: center;
  341. line-height: 64rpx;
  342. }
  343. }
  344. }
  345. .slot-content {
  346. padding: 0 20rpx;
  347. }
  348. .confirm-modal {
  349. .slot-content {
  350. padding:0 20rpx;
  351. .content {
  352. color:red;
  353. .msg-list {
  354. .item {
  355. padding:20rpx 0;
  356. &__left {
  357. color:#666;
  358. margin-right:20rpx;
  359. }
  360. &__right {
  361. color:#333;
  362. }
  363. }
  364. }
  365. }
  366. }
  367. }