index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .classBox {
  2. width: 100%;
  3. height: 100vh;
  4. }
  5. .classBox .classify {
  6. position: fixed;
  7. top: 0px;
  8. left: 0px;
  9. padding: 24rpx 0rpx;
  10. width: 100%;
  11. background-color: #F2F6FC;
  12. z-index: 9;
  13. white-space: nowrap;
  14. }
  15. .classBox .classify .name {
  16. text-align: center;
  17. display: inline-block;
  18. padding: 0rpx 20rpx;
  19. margin-right: 40rpx;
  20. color: #666666;
  21. font-weight: bold;
  22. font-size: 28rpx;
  23. }
  24. .classBox .classify .currentClass {
  25. font-size: 32rpx;
  26. color: #333;
  27. }
  28. .classBox .worksList {
  29. width: 100%;
  30. height: 100vh;
  31. box-sizing: border-box;
  32. padding: 20rpx;
  33. padding-top: 90rpx;
  34. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  35. }
  36. .classBox .worksList .worksBox {
  37. display: flex;
  38. align-items: center;
  39. justify-content: space-between;
  40. padding: 26rpx 20rpx;
  41. box-sizing: border-box;
  42. background-color: white;
  43. border-radius: 20rpx;
  44. margin-bottom: 20rpx;
  45. }
  46. .classBox .worksList .worksBox .left {
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. }
  51. .classBox .worksList .worksBox .left .cover {
  52. width: 144rpx;
  53. height: 80rpx;
  54. border-radius: 8rpx;
  55. }
  56. .classBox .worksList .worksBox .left .work {
  57. margin-left: 26rpx;
  58. }
  59. .classBox .worksList .worksBox .left .work .title {
  60. font-size: 32rpx;
  61. font-weight: bold;
  62. margin-bottom: 10rpx;
  63. }
  64. .classBox .worksList .worksBox .left .work .statistic {
  65. display: flex;
  66. align-items: center;
  67. justify-content: space-between;
  68. }
  69. .classBox .worksList .worksBox .left .work .statistic .playImg {
  70. width: 34rpx;
  71. height: 28rpx;
  72. }
  73. .classBox .worksList .worksBox .left .work .statistic .num {
  74. font-size: 26rpx;
  75. color: #666666;
  76. }
  77. .classBox .worksList .worksBox .goRead {
  78. padding: 6rpx 32rpx 8rpx;
  79. color: white;
  80. font-size: 32rpx;
  81. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  82. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  83. border-radius: 50rpx;
  84. }