doTask.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. position: relative;
  102. z-index: 99;
  103. }
  104. .upload-btn{
  105. width: 139rpx;
  106. height: 139rpx;
  107. border: 1rpx dashed #ccc;
  108. text-align: center;
  109. background: #f8f8f8;
  110. margin: 20rpx 0 20rpx;
  111. color: #999;
  112. font-size: 22rpx;
  113. line-height: 36rpx;
  114. }
  115. .audio-list {
  116. display: grid;
  117. justify-content: space-between;
  118. grid-template-columns: repeat(auto-fill, 130rpx);
  119. grid-gap: auto;
  120. width: 600rpx;
  121. margin: 0 auto 20rpx;
  122. }
  123. .audio-box{
  124. position: relative;
  125. }
  126. .audio-box .del-btn{
  127. width: 30rpx ;
  128. height: 30rpx ;
  129. line-height: 30rpx ;
  130. font-size: 24rpx;
  131. top: -2rpx ;
  132. }
  133. .audio-list image {
  134. height: 30rpx;
  135. width: 50rpx;
  136. border: 1px solid #eee;
  137. box-shadow: 0 0 20rpx #ccc;
  138. padding: 10rpx;
  139. margin-top: 20rpx;
  140. padding: 0 25rpx;
  141. border-radius: 10rpx;
  142. margin-bottom: 20rpx;
  143. }
  144. .record-img{
  145. padding: 20rpx;
  146. border: 1px solid #CCC;
  147. height: 60rpx;
  148. width: 60rpx;
  149. border-radius: 50rpx;
  150. position: relative;
  151. left: 50%;
  152. margin-left: -50rpx;
  153. z-index: 2;
  154. }
  155. .record-view{
  156. text-align: center;
  157. position: relative;
  158. }
  159. .record-img image{
  160. height: 100%;
  161. width: 100%;
  162. }
  163. .close-talk{
  164. height: 80rpx;
  165. line-height: 80rpx;
  166. margin-bottom: 40rpx;
  167. }
  168. .record-bg {
  169. width: 100rpx;
  170. height: 100rpx;
  171. border-radius: 50%;
  172. left: 50%;
  173. position: absolute;
  174. margin-left: -50rpx;
  175. top: 1rpx;
  176. animation: pulse 2s infinite;
  177. z-index: 1;
  178. }
  179. @keyframes pulse {
  180. 0% {
  181. box-shadow: 0 0 4px 3px #fff;
  182. }
  183. 50% {
  184. box-shadow: 0 0 4px 3px #cc6031;
  185. }
  186. 100% {
  187. box-shadow: 0 0 4px 3px #fff;
  188. }
  189. }
  190. .curTalkStyle{
  191. border-color: #cc6031;
  192. }
  193. .toTask {
  194. width: 400rpx;
  195. height: 80rpx;
  196. text-align: center;
  197. line-height: 80rpx;
  198. color: #FFF;
  199. background: #cc6031;
  200. border-radius: 50rpx;
  201. font-size: 32rpx;
  202. position: relative;
  203. bottom: 40rpx;
  204. left: 50%;
  205. margin-left: -200rpx;
  206. margin-top: 60rpx;
  207. }
  208. .removeUpload{
  209. position: fixed;
  210. width: 200rpx;
  211. left: 50%;
  212. margin-left: -100rpx;
  213. height: 80rpx;
  214. line-height: 80rpx;
  215. background: #eee;
  216. text-align: center;
  217. margin-top: -200rpx;
  218. z-index: 2;
  219. }
  220. .removeUploadBg{
  221. background: #333;
  222. opacity: 0.1;
  223. position: fixed;
  224. top: 0;
  225. left: 0;
  226. width: 750rpx;
  227. height: 100%;
  228. z-index: 1;
  229. }