doTask.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. .container{
  2. padding: 0;
  3. margin: 0;
  4. }
  5. .task-view{
  6. display: flex;
  7. flex-wrap: wrap;
  8. justify-content: space-between;
  9. width: 700rpx;
  10. margin: 0 auto;
  11. }
  12. .task-title{
  13. font-size: 32rpx;
  14. font-weight: 600;
  15. width: 450rpx;
  16. height: 60rpx;
  17. line-height: 60rpx;
  18. overflow: hidden;
  19. white-space: nowrap;
  20. text-overflow: ellipsis;
  21. }
  22. .task-time{
  23. width: 250rpx;
  24. height: 60rpx;
  25. line-height: 60rpx;
  26. font-size: 28rpx;
  27. text-align: right;
  28. }
  29. .task-class{
  30. color: #999;
  31. line-height: 60rpx;
  32. height: 60rpx;
  33. }
  34. .my-task{
  35. width: 700rpx;
  36. margin: 25rpx;
  37. }
  38. .my-task .title{
  39. height: 60rpx;
  40. line-height: 60rpx;
  41. }
  42. .textarea{
  43. margin-top: 20rpx;
  44. }
  45. .textarea textarea{
  46. width: 650rpx;
  47. padding: 20rpx 25rpx;
  48. height: 260rpx;
  49. box-shadow: 0 10rpx 10rpx #ccc;
  50. }
  51. .wordNum{
  52. font-size: 24rpx;
  53. color: #999;
  54. text-align: right;
  55. margin-right: 25rpx;
  56. height: 60rpx;
  57. line-height: 60rpx;
  58. }
  59. .uploadImg-task-view{
  60. display: grid;
  61. justify-content: space-between;
  62. grid-template-columns: repeat(auto-fill, 140rpx);
  63. grid-gap: auto;
  64. width: 650rpx;
  65. margin: 0 auto;
  66. border-bottom: 1px dashed #ccc;
  67. padding-bottom: 40rpx;
  68. margin-bottom: 40rpx;
  69. }
  70. .new-task-img{
  71. width: 139rpx;
  72. height: 139rpx;
  73. border: 1rpx dashed #ccc;
  74. }
  75. .my-img-view{
  76. position: relative;
  77. margin: 20rpx 0 20rpx;
  78. }
  79. .del-btn{
  80. position: absolute;
  81. width: 40rpx;
  82. height: 40rpx;
  83. line-height: 40rpx;
  84. z-index: 2;
  85. background: #cc6031;
  86. color: #FFF;
  87. text-align: center;
  88. font-weight: 600;
  89. border-radius: 50rpx;
  90. top: -20rpx;
  91. left: -20rpx;
  92. border: 8rpx solid #FFF;
  93. }
  94. .new-task-img image{
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .upload-btn image{
  99. height: 40rpx;
  100. width: 40rpx;
  101. }
  102. .upload-btn{
  103. width: 139rpx;
  104. height: 139rpx;
  105. border: 1rpx dashed #ccc;
  106. text-align: center;
  107. background: #f8f8f8;
  108. margin: 20rpx 0 20rpx;
  109. color: #999;
  110. font-size: 22rpx;
  111. line-height: 36rpx;
  112. }
  113. .audio-list {
  114. display: grid;
  115. justify-content: space-between;
  116. grid-template-columns: repeat(auto-fill, 130rpx);
  117. grid-gap: auto;
  118. height: 180rpx;
  119. width: 600rpx;
  120. margin: 0 auto 20rpx;
  121. }
  122. .audio-box{
  123. position: relative;
  124. }
  125. .audio-box .del-btn{
  126. width: 30rpx ;
  127. height: 30rpx ;
  128. line-height: 30rpx ;
  129. font-size: 24rpx;
  130. top: -2rpx ;
  131. }
  132. .audio-list image {
  133. height: 30rpx;
  134. width: 50rpx;
  135. border: 1px solid #eee;
  136. box-shadow: 0 0 20rpx #ccc;
  137. padding: 10rpx;
  138. margin-top: 20rpx;
  139. padding: 0 25rpx;
  140. border-radius: 10rpx;
  141. margin-bottom: 20rpx;
  142. }
  143. .record-img{
  144. padding: 20rpx;
  145. border: 1px solid #CCC;
  146. height: 60rpx;
  147. width: 60rpx;
  148. border-radius: 50rpx;
  149. position: relative;
  150. left: 50%;
  151. margin-left: -50rpx;
  152. z-index: 2;
  153. }
  154. .record-view{
  155. text-align: center;
  156. position: relative;
  157. }
  158. .record-img image{
  159. height: 100%;
  160. width: 100%;
  161. }
  162. .close-talk{
  163. height: 80rpx;
  164. line-height: 80rpx;
  165. margin-bottom: 40rpx;
  166. }
  167. .record-bg {
  168. width: 100rpx;
  169. height: 100rpx;
  170. border-radius: 50%;
  171. left: 50%;
  172. position: absolute;
  173. margin-left: -50rpx;
  174. top: 1rpx;
  175. animation: pulse 2s infinite;
  176. z-index: 1;
  177. }
  178. @keyframes pulse {
  179. 0% {
  180. box-shadow: 0 0 4px 3px #fff;
  181. }
  182. 50% {
  183. box-shadow: 0 0 4px 3px #cc6031;
  184. }
  185. 100% {
  186. box-shadow: 0 0 4px 3px #fff;
  187. }
  188. }
  189. .curTalkStyle{
  190. border-color: #cc6031;
  191. }