preview.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* compontents/lesson_list/lessonList.wxss */
  2. .material {
  3. width: 100%;
  4. margin: 20rpx 0;
  5. border-radius: 25rpx;
  6. padding: 20rpx 0;
  7. box-sizing: border-box;
  8. background: #fff;
  9. position: relative;
  10. }
  11. .this-week {
  12. display: flex;
  13. padding: 0 25rpx;
  14. box-sizing: border-box;
  15. }
  16. .this-week image {
  17. width: 86rpx;
  18. height: 86rpx;
  19. }
  20. .lesson-name {
  21. display: flex;
  22. flex-direction: column;
  23. margin: 8rpx 16rpx;
  24. }
  25. .lesson-name text:nth-child(1) {
  26. height: 38rpx;
  27. font-size: 32rpx;
  28. font-weight: 600;
  29. }
  30. .lesson-name text:nth-child(2) {
  31. height: 30rpx;
  32. margin-top: 10rpx;
  33. font-size: 24rpx;
  34. color: #C3C3C3;
  35. }
  36. /* 预览图片 */
  37. .material-con {
  38. height: 270rpx;
  39. margin: 0 0 68rpx 10rpx;
  40. padding: 0 25rpx;
  41. overflow: hidden;
  42. }
  43. .art-img {
  44. display: flex;
  45. justify-content: space-between;
  46. margin-left: 53rpx;
  47. font-size: 28rpx;
  48. color: #444;
  49. margin-top: 30rpx;
  50. }
  51. .unfold {
  52. position: absolute;
  53. right: 28rpx;
  54. bottom: 24rpx;
  55. font-size: 28rpx;
  56. line-height: 28rpx;
  57. height: 28rpx;
  58. color: #93AAFA;
  59. }
  60. .dirImg{
  61. width: 16rpx;
  62. height: 9rpx;
  63. position: absolute;
  64. top: 50%;
  65. left: -20rpx;
  66. margin-top: -5rpx;
  67. }