task.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. Page {
  2. height: 100%;
  3. width: 100%;
  4. background-color: #f9f9fb;
  5. }
  6. scroll-view {
  7. height: 100%;
  8. }
  9. /* first-view */
  10. .first-view, .second-view, .third-view {
  11. width: 100%;
  12. background-color: white;
  13. display: flex;
  14. }
  15. .first-view {
  16. height: 192rpx;
  17. }
  18. .first-view>image {
  19. width: 96rpx;
  20. height: 122rpx;
  21. margin: auto 24rpx auto 28rpx;
  22. }
  23. .first-view>view:nth-child(2) {
  24. height: 192rpx;
  25. display: flex;
  26. flex-direction: column;
  27. }
  28. .first-view>view:nth-child(2)>text:first-child {
  29. font-size: 34rpx;
  30. color: #333333;
  31. font-weight: bold;
  32. margin-top: auto;
  33. margin-bottom: 8rpx;
  34. }
  35. .first-view>view:nth-child(2)>text:last-child {
  36. font-size: 26rpx;
  37. color: #999999;
  38. margin-bottom: auto;
  39. }
  40. .first-view>view:nth-child(3) {
  41. width: 152rpx;
  42. height: 64rpx;
  43. margin: auto 30rpx auto auto;
  44. font-size: 28rpx;
  45. color: white;
  46. font-weight: bold;
  47. line-height: 64rpx;
  48. text-align: center;
  49. border-radius: 4rpx;
  50. background-image: linear-gradient(270deg, #625AF7 0%, #DD7FFF 100%);
  51. }
  52. .first-view+view,
  53. .first-view+view+view,
  54. .second-view>view:nth-child(2),
  55. .third-view>view:nth-child(2),
  56. .task-item+view {
  57. width: 100%;
  58. height: 0.7px;
  59. background-color: #E5E5E5;
  60. }
  61. .first-view+view+view {
  62. margin-top: 26rpx;
  63. }
  64. /* second-view */
  65. .second-view {
  66. flex-direction: column;
  67. }
  68. .second-view>view:first-child, .third-view>view:first-child {
  69. width: 100%;
  70. height: 100rpx;
  71. display: flex;
  72. }
  73. .second-view>view:first-child>view, .third-view>view:first-child>view {
  74. width: 6rpx;
  75. height: 24rpx;
  76. background-color: #8C5AEB;
  77. margin: auto 16rpx auto 30rpx;
  78. }
  79. .second-view>view:first-child>text, .third-view>view:first-child>text {
  80. font-size: 28rpx;
  81. color: #999999;
  82. line-height: 100rpx;
  83. }
  84. .second-view+view {
  85. width: 100%;
  86. height: 0.7px;
  87. background-color: #E5E5E5;
  88. margin-top: 26rpx;
  89. }
  90. /* third-view */
  91. .third-view {
  92. flex-direction: column;
  93. }
  94. /* task-item */
  95. .task-item {
  96. width: 100%;
  97. height: 208rpx;
  98. display: flex;
  99. }
  100. .task-item>view:nth-child(1) {
  101. display: flex;
  102. flex-direction: column;
  103. height: 208rpx;
  104. }
  105. .task-item>view:nth-child(1)>text:nth-child(1) {
  106. font-size: 34rpx;
  107. color: #333333;
  108. font-weight: bold;
  109. margin: 30rpx 0 2rpx 28rpx;
  110. }
  111. .task-item>view:nth-child(1)>text:nth-child(2) {
  112. font-size: 26rpx;
  113. color: #999999;
  114. margin-left: 28rpx;
  115. }
  116. .task-item>view:nth-child(1)>view {
  117. height: 36rpx;
  118. display: flex;
  119. margin: 26rpx 0 0 28rpx;
  120. }
  121. .task-item>view:nth-child(1)>view>image {
  122. width: 34rpx;
  123. height: 36rpx;
  124. }
  125. .task-item>view:nth-child(1)>view>text {
  126. font-size: 26rpx;
  127. color: #FC874F;
  128. line-height: 36rpx;
  129. }
  130. .task-item>view:nth-child(1)>view>text:nth-child(2) {
  131. color: #999999;
  132. margin-left: 24rpx;
  133. margin-right: 10rpx;
  134. }
  135. /* task-item-right-1 */
  136. .task-item-right-1 {
  137. height: 208rpx;
  138. margin-left: auto;
  139. display: flex;
  140. flex-direction: column;
  141. }
  142. .task-item-right-1>text {
  143. font-size: 26rpx;
  144. color: #666666;
  145. text-align: center;
  146. width: 144rpx;
  147. margin: auto 30rpx 12rpx 0;
  148. }
  149. .task-item-right-1>view {
  150. width: 144rpx;
  151. height: 20rpx;
  152. margin: 0 30rpx auto 0;
  153. background-color: #F3F3F3;
  154. border-radius: 10rpx;
  155. overflow: hidden;
  156. }
  157. .task-item-right-1>view>view {
  158. height: 20rpx;
  159. background-color: #BA95FF;
  160. }
  161. /* task-item-right-2 */
  162. .task-item-right-2,
  163. .task-item-right-4,
  164. .task-item-right-5 {
  165. width: 152rpx;
  166. height: 64rpx;
  167. background-color: white;
  168. border: 0.7px solid #8C5AEB;
  169. border-radius: 4rpx;
  170. color: #8C5AEB;
  171. font-size: 28rpx;
  172. line-height: 64rpx;
  173. text-align: center;
  174. margin: auto 28rpx auto auto;
  175. /* position: static; */
  176. }
  177. button {
  178. width: 152rpx;
  179. height: 64rpx;
  180. margin-top: -64rpx;
  181. }
  182. .task-item-right-3 {
  183. width: 152rpx;
  184. height: 64rpx;
  185. border-radius: 4rpx;
  186. color: white;
  187. font-size: 28rpx;
  188. line-height: 64rpx;
  189. text-align: center;
  190. background-image: linear-gradient(270deg, #625AF7 0%, #DD7FFF 100%);
  191. margin: auto 28rpx auto auto;
  192. }
  193. .task-item-right-4 {
  194. color: #666666;
  195. border-color: #979797;
  196. }
  197. .get-cell-bg,
  198. .get-cell-bg+view,
  199. .get-cell-bg+view+view {
  200. position: absolute;
  201. top: 0;
  202. width: 100%;
  203. height: 100%;
  204. display: flex;
  205. flex-direction: column;
  206. }
  207. .get-cell-bg>image {
  208. display: block;
  209. width: 710rpx;
  210. height: 662rpx;
  211. margin: auto auto;
  212. }
  213. .get-cell-bg+view>image {
  214. display: block;
  215. width: 580rpx;
  216. height: 240rpx;
  217. margin: auto 0 auto 65rpx;
  218. }
  219. .get-cell-bg+view+view>view {
  220. display: flex;
  221. flex-direction: row;
  222. width: 100%;
  223. margin: auto auto;
  224. padding-top: 60rpx;
  225. }
  226. .get-cell-bg+view+view>view>view:first-child {
  227. margin-left: auto;
  228. font-size: 108rpx;
  229. font-weight: bold;
  230. background: linear-gradient(to right, #FFB259, #FC5F62);
  231. -webkit-background-clip: text;
  232. color: transparent;
  233. }
  234. .get-cell-bg+view+view>view>view:last-child {
  235. margin-top: 48rpx;
  236. margin-right: auto;
  237. font-size: 60rpx;
  238. color: #FC5F62;
  239. }
  240. ::-webkit-scrollbar {
  241. width: 0px;
  242. height: 0px;
  243. color: transparent;
  244. }