taskDetail.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .container {
  2. padding: 0;
  3. margin: 0;
  4. width: 700rpx;
  5. margin: 0 auto;
  6. }
  7. .task-head {
  8. display: flex;
  9. height: 80rpx;
  10. line-height: 80rpx;
  11. }
  12. .task-title {
  13. font-size: 32rpx;
  14. font-weight: 600;
  15. width: 450rpx;
  16. overflow: hidden;
  17. white-space: nowrap;
  18. text-overflow: ellipsis;
  19. }
  20. .task-time {
  21. width: 250rpx;
  22. text-align: right;
  23. color: #999;
  24. font-size: 28rpx;
  25. }
  26. .task-teacher {
  27. display: flex;
  28. height: 60rpx;
  29. line-height: 60rpx;
  30. padding: 20rpx 0;
  31. }
  32. .taskImg {
  33. height: 60rpx;
  34. width: 60rpx;
  35. margin-right: 20rpx;
  36. }
  37. .taskImg image {
  38. height: 100%;
  39. width: 100%;
  40. border-radius: 50%;
  41. }
  42. .contact-teacher {
  43. margin-left: auto;
  44. color: #cc6031;
  45. }
  46. .task-desc {
  47. color: #666;
  48. margin-top: 20rpx;
  49. line-height: 50rpx;
  50. margin-bottom: 20rpx;
  51. }
  52. .title {
  53. color: #999;
  54. font-size: 28rpx;
  55. margin-top: 20rpx;
  56. }
  57. .img-list,
  58. .video-list,
  59. .audio-list {
  60. display: grid;
  61. justify-content: space-between;
  62. grid-template-columns: repeat(auto-fill, 150rpx);
  63. grid-gap: auto;
  64. }
  65. .audio-list {
  66. display: grid;
  67. justify-content: space-between;
  68. grid-template-columns: repeat(auto-fill, 120rpx);
  69. grid-gap: auto;
  70. }
  71. .img-list image,
  72. .video-list image {
  73. width: 150rpx;
  74. height: 150rpx;
  75. border-radius: 20rpx;
  76. margin-bottom: 20rpx;
  77. margin: 10rpx auto;
  78. }
  79. .video-img-view {
  80. position: relative;
  81. }
  82. .videoImg {
  83. opacity: 0.9;
  84. }
  85. .playImg {
  86. width: 48rpx !important;
  87. height: 48rpx !important;
  88. position: absolute;
  89. z-index: 2;
  90. left: 50%;
  91. margin-left: -24rpx !important;
  92. top: 50%;
  93. margin-top: -24rpx !important;
  94. }
  95. .audio-list image {
  96. height: 30rpx;
  97. width: 50rpx;
  98. border: 1px solid #eee;
  99. box-shadow: 0 0 20rpx #ccc;
  100. padding: 10rpx;
  101. margin-top: 20rpx;
  102. padding: 0 25rpx;
  103. border-radius: 10rpx;
  104. }
  105. .curAudioStyle {
  106. box-shadow: 0 0 20rpx #cc6031 !important;
  107. border: none;
  108. }
  109. .toTask {
  110. width: 400rpx;
  111. height: 80rpx;
  112. text-align: center;
  113. line-height: 80rpx;
  114. color: #FFF;
  115. background: #005033;
  116. border-radius: 50rpx;
  117. font-size: 32rpx;
  118. position: fixed;
  119. bottom: 40rpx;
  120. left: 50%;
  121. margin-left: -200rpx;
  122. }
  123. .done-title {
  124. font-size: 32rpx;
  125. margin-top: 60rpx;
  126. }
  127. #play-video{
  128. position: absolute;
  129. top: 40rpx;
  130. left: 100rpx;
  131. }