courses.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // out: courses.wxss
  2. .courses_container {
  3. width: 100%;
  4. height: 100%;
  5. background: #eee;
  6. .course_item {
  7. width: 100%;
  8. height: 460rpx;
  9. background: #fff;
  10. margin-bottom: 20rpx;
  11. padding-top: 20rpx;
  12. box-sizing: border-box;
  13. // display: flex;
  14. // flex-direction: column;
  15. // align-items: center;
  16. .course_icon {
  17. display: block;
  18. width: 704rpx;
  19. height: 290rpx;
  20. border-radius: 20rpx;
  21. margin: 0 auto;
  22. }
  23. .course_info {
  24. width: 704rpx;
  25. display: flex;
  26. flex-direction: row;
  27. align-items: center;
  28. justify-content: space-between;
  29. margin: 17rpx auto;
  30. .course_title {
  31. color: #373737;
  32. font-size: 30rpx;
  33. }
  34. }
  35. .course_btn_wrapper {
  36. width: 100%;
  37. display: flex;
  38. align-items: center;
  39. justify-content: space-between;
  40. padding-left: 24rpx;
  41. padding-right: 24rpx;
  42. box-sizing: border-box;
  43. .course_btn {
  44. // width: 270rpx;
  45. display: flex;
  46. align-items: center;
  47. // justify-content: space-between;
  48. .btn_icon {
  49. width: 48rpx;
  50. height: 46rpx;
  51. margin-right: 10rpx;
  52. &.comment_icon {
  53. width: 22rpx;
  54. height: 25rpx;
  55. }
  56. &.play_icon {
  57. width: 30rpx;
  58. height: 25rpx;
  59. }
  60. &.like_icon {
  61. width: 29rpx;
  62. height: 26rpx;
  63. }
  64. &.share_icon {
  65. width: 33rpx;
  66. height: 30rpx;
  67. }
  68. &.collect_icon {
  69. width: 32rpx;
  70. height: 30rpx;
  71. }
  72. }
  73. .btn_text {
  74. font-size: 28rpx;
  75. color: rgba(0, 0, 0, .6);
  76. }
  77. }
  78. }
  79. }
  80. .no_work {
  81. width: 100%;
  82. height: 120rpx;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. .no_work_text {
  87. color: #373737;
  88. font-size: 30rpx;
  89. }
  90. }
  91. }