task.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. .task-page {
  2. flex-direction: column;
  3. background-color: #f7f7f7;
  4. .task-banner {
  5. width: 100%;
  6. height: 300px;
  7. .swipe-item {
  8. height: 300px;
  9. width: 100%;
  10. }
  11. }
  12. .sign-section {
  13. width: 690px;
  14. height: 466px;
  15. border-radius: 12px;
  16. background-color: #fff;
  17. box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.05);
  18. margin: -30px auto;
  19. padding: 38px 18px;
  20. justify-content: flex-start;
  21. align-items: flex-start;
  22. flex-direction: column;
  23. line-height: 150%;
  24. .sign-title {
  25. align-items: center;
  26. text {
  27. font-size: 28px;
  28. font-weight: 800;
  29. }
  30. image {
  31. width: 22px;
  32. height: 22px;
  33. margin-left: 5px;
  34. }
  35. }
  36. .sign-desc {
  37. font-size: 24px;
  38. color: #999;
  39. margin-top: 10px;
  40. }
  41. }
  42. }
  43. .reader-leaver {
  44. width: 690px;
  45. margin: 60px auto 0;
  46. border-radius: 12px;
  47. background-color: #fff;
  48. padding: 30px;
  49. flex-direction: column;
  50. .l-top {
  51. justify-content: space-between;
  52. flex: 1;
  53. }
  54. .l-title {
  55. font-size: 30px;
  56. color: #333;
  57. font-weight: bold;
  58. }
  59. .l-more {
  60. font-size: 24px;
  61. color: #999;
  62. }
  63. .recent-list {
  64. margin-top: 30px;
  65. justify-content: space-between;
  66. }
  67. .read-recent {
  68. margin-top: -20px;
  69. text {
  70. font-size: 24px;
  71. color: #999;
  72. margin-bottom: 30px;
  73. }
  74. }
  75. }
  76. .sign {
  77. &-line {
  78. margin: 50px auto 20px;
  79. height: 140px;
  80. width: 100%;
  81. &__item {
  82. flex: 1;
  83. flex-direction: column;
  84. align-items: center;
  85. justify-content: space-around;
  86. border: 1px #fbb11b solid;
  87. }
  88. &__day {
  89. color: #999;
  90. font-size: 22px;
  91. }
  92. image {
  93. width: 40px;
  94. height: 40px;
  95. }
  96. &__fee {
  97. font-size: 22px;
  98. color: #fbb11b;
  99. }
  100. }
  101. &-button {
  102. width: 424px;
  103. height: 72px;
  104. line-height: 72px;
  105. background-color: #ef5952;
  106. border-radius: 36px;
  107. font-size: 34px;
  108. margin: 15px auto 0;
  109. color: #fff;
  110. text-align: center;
  111. }
  112. &-button-disabled {
  113. width: 424px;
  114. height: 72px;
  115. line-height: 72px;
  116. background-color: #fcdedc;
  117. border-radius: 36px;
  118. font-size: 34px;
  119. margin: 15px auto 0;
  120. color: #ef5952;
  121. text-align: center;
  122. }
  123. }
  124. .task {
  125. &-section {
  126. flex-direction: column;
  127. padding: 34px 30px;
  128. width: 690px;
  129. box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.06);
  130. border-radius: 12px;
  131. margin: 30px auto 0;
  132. background-color: #fff;
  133. .banner {
  134. width: 630px;
  135. height: 120px;
  136. margin-top: 20px;
  137. }
  138. &__tab {
  139. justify-content: space-around;
  140. text {
  141. font-size: 32px;
  142. padding: 10px 0;
  143. border-bottom: 4px solid transparent;
  144. }
  145. .on {
  146. color: #ef5952;
  147. border-bottom: 4px solid #ef5952;
  148. font-weight: bold;
  149. }
  150. }
  151. &__list {
  152. flex-direction: column;
  153. font-weight: 600;
  154. padding: 20px 0;
  155. margin-top: 30px;
  156. .list-item {
  157. margin: 24px 0;
  158. height: 76px;
  159. align-items: center;
  160. .icon {
  161. width: 54px;
  162. height: 54px;
  163. }
  164. .content {
  165. flex-direction: column;
  166. flex: 1;
  167. margin-left: 10px;
  168. .content-desc {
  169. color: #999;
  170. margin-top: 5px;
  171. font-size: 22px;
  172. }
  173. }
  174. .task-award {
  175. align-items: flex-end;
  176. padding-left: 20px;
  177. image {
  178. width: 26px;
  179. height: 26px;
  180. }
  181. text {
  182. color: #999;
  183. font-size: 22px;
  184. }
  185. }
  186. .button-status {
  187. width: 108px;
  188. height: 40px;
  189. border-radius: 20px;
  190. text-align: center;
  191. font-size: 22px;
  192. }
  193. .wait {
  194. border: 1px solid #ef5952;
  195. background-color: #fff;
  196. color: #ef5952;
  197. }
  198. .disabled {
  199. background-color: #eee;
  200. color: #999;
  201. }
  202. .get {
  203. background-color: #ef5952;
  204. color: #fff;
  205. }
  206. }
  207. }
  208. }
  209. }
  210. .mask {
  211. position: fixed;
  212. top: 0;
  213. bottom: 0;
  214. left: 0;
  215. right: 0;
  216. background-color: rgba(0, 0, 0, 0.56);
  217. flex-direction: column;
  218. align-items: center;
  219. justify-content: center;
  220. z-index: 2;
  221. .rule {
  222. width: 600px;
  223. height: 384px;
  224. padding: 34px 30px;
  225. border-radius: 12px;
  226. background-color: #fff;
  227. margin: -100px auto 0;
  228. align-items: flex-start;
  229. justify-content: flex-start;
  230. flex-direction: column;
  231. .rule-title {
  232. width: 100%;
  233. text-align: center;
  234. font-size: 32px;
  235. color: #333;
  236. margin-bottom: 40px;
  237. }
  238. .detail {
  239. color: #999;
  240. margin-top: 30px;
  241. font-size: 26px;
  242. }
  243. }
  244. .close-icon {
  245. width: 60px;
  246. height: 60px;
  247. margin-top: 40px;
  248. }
  249. }
  250. .sign {
  251. &-banner {
  252. background-image: url(../../assets/imgs/sign_bg.jpg);
  253. background-size: cover;
  254. background-repeat: no-repeat;
  255. justify-content: center;
  256. width: 600px;
  257. height: 322px;
  258. border-radius: 30px;
  259. &__text {
  260. font-size: 34px;
  261. color: #fff;
  262. font-weight: bold;
  263. margin-top: 200px;
  264. .orange {
  265. color: #ffc017;
  266. font-size: 46px;
  267. padding: 0 6px;
  268. }
  269. }
  270. }
  271. }
  272. .line__item_wrap {
  273. color: #fbb11b;
  274. flex-direction: column;
  275. border-radius: 8px;
  276. align-items: center;
  277. }
  278. .task-section__list_new {
  279. font-weight: 600;
  280. font-size: 32px;
  281. }