doTask.wxss 3.8 KB

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