preview.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. font-size: 36rpx;
  27. font-weight: 600;
  28. }
  29. .lesson-name text:nth-child(2) {
  30. height: 30rpx;
  31. margin-top: 6rpx;
  32. font-size: 28rpx;
  33. color: #bebebe;
  34. }
  35. /* 预览图片 */
  36. .material-con {
  37. margin: 0 0 50rpx 10rpx;
  38. padding: 0 25rpx;
  39. overflow: hidden;
  40. }
  41. .art-img {
  42. position: relative;
  43. display: flex;
  44. justify-content: space-between;
  45. margin-left: 53rpx;
  46. height: 40rpx;
  47. font-size: 28rpx;
  48. color: #303030;
  49. margin-top: 24rpx;
  50. }
  51. .art-img text:nth-child(1) {
  52. width: 70%;
  53. overflow:hidden;
  54. white-space:nowrap;
  55. text-overflow:ellipsis;
  56. }
  57. .unfold {
  58. position: absolute;
  59. right: 28rpx;
  60. top: 60rpx;
  61. font-size: 28rpx;
  62. line-height: 28rpx;
  63. height: 28rpx;
  64. color: #93AAFA;
  65. border: 2rpx solid #93AAFA;
  66. border-radius: 28rpx;
  67. padding: 10rpx 40rpx;
  68. }
  69. .dirImg{
  70. width: 16rpx;
  71. height: 9rpx;
  72. vertical-align: middle;
  73. margin-right: 10rpx;
  74. }