job.scss 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  1. page {
  2. background-color: #fff;
  3. }
  4. .page {
  5. background-color: #fff;
  6. position: relative;
  7. }
  8. // 顶部黄色背景
  9. .top-bg {
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. width: 100%;
  14. height: 200rpx;
  15. background-color: #90d369;
  16. z-index: 0;
  17. }
  18. // 内容区域
  19. .content-area {
  20. position: relative;
  21. z-index: 1;
  22. padding: 30rpx;
  23. }
  24. .topbg {
  25. }
  26. .topBody {
  27. width:750rpx;
  28. }
  29. .header {
  30. display: flex;flex-direction: row;justify-content: space-between;align-items: center;color:$title;
  31. .title {
  32. font-size: 34rpx;
  33. }
  34. }
  35. .thread {
  36. height:210rpx;
  37. padding:50rpx;font-size: 52rpx;color:#6E6A6A;padding-top: 80rpx;
  38. }
  39. .mainInfo {
  40. width: 690rpx;
  41. margin:30rpx 30rpx 60rpx;
  42. display:flex;flex-direction: column;justify-content: space-around;
  43. align-items: center;
  44. // background: #FFFFFF;
  45. .idList {
  46. display: flex;flex-direction: row;justify-content: space-between;align-items: center;
  47. // position: relative;
  48. width: 610rpx;
  49. height: 84rpx;
  50. background: #282828;
  51. border-radius: 24rpx 24rpx 24rpx 24rpx;
  52. margin-top: 48rpx;
  53. .left {
  54. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  55. padding-left:24rpx;
  56. }
  57. .right{
  58. display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
  59. padding-right:24rpx;
  60. }
  61. }
  62. .reCheckBtn{
  63. width: 610rpx;
  64. height: 96rpx;
  65. border-radius: 28rpx 28rpx 28rpx 28rpx;
  66. border: 2rpx solid #404040;
  67. display:flex;flex-direction: column;justify-content: space-around;
  68. align-items: center;
  69. margin-top: 74rpx;
  70. }
  71. }
  72. .blankHeight {
  73. height:100rpx;
  74. }
  75. // 彩豆余额展示区
  76. .bean-balance {
  77. width: 690rpx;
  78. background-color: #FFFFFF;
  79. border-radius: 24rpx;
  80. padding: 30rpx;
  81. margin-bottom: 30rpx;
  82. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
  83. .balance-header {
  84. display: flex;
  85. flex-direction: row;
  86. justify-content: space-between;
  87. align-items: center;
  88. .title-area {
  89. display: flex;
  90. flex-direction: row;
  91. align-items: center;
  92. .yellow-dot {
  93. width: 16rpx;
  94. height: 16rpx;
  95. border-radius: 50%;
  96. background-color: #90d369;
  97. margin-right: 10rpx;
  98. }
  99. .my-bean-title {
  100. font-size: 32rpx;
  101. color: #333;
  102. font-weight: bold;
  103. }
  104. }
  105. .exchange-btn {
  106. width: 120rpx;
  107. height: 60rpx;
  108. background-color: #90d369;
  109. border-radius: 30rpx;
  110. display: flex;
  111. justify-content: center;
  112. align-items: center;
  113. font-size: 28rpx;
  114. color: #fff;
  115. font-weight: bold;
  116. }
  117. }
  118. .bean-number {
  119. font-size: 80rpx;
  120. font-weight: bold;
  121. color: #333;
  122. margin-top: 20rpx;
  123. }
  124. }
  125. // 星愿打卡区域
  126. .sign-cards {
  127. display: flex;
  128. flex-direction: row;
  129. justify-content: space-between;
  130. margin-bottom: 30rpx;
  131. .card {
  132. width: 330rpx;
  133. height: 240rpx;
  134. border-radius: 24rpx;
  135. padding: 24rpx;
  136. display: flex;
  137. flex-direction: column;
  138. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
  139. .card-title {
  140. font-size: 34rpx;
  141. font-weight: bold;
  142. color: #FFFFFF;
  143. margin-bottom: 10rpx;
  144. }
  145. .card-desc {
  146. font-size: 24rpx;
  147. color: rgba(255, 255, 255, 0.8);
  148. margin-bottom: 30rpx;
  149. }
  150. .card-reward {
  151. font-size: 30rpx;
  152. color: #FFFFFF;
  153. font-weight: bold;
  154. }
  155. .card-progress {
  156. font-size: 36rpx;
  157. color: #FFFFFF;
  158. font-weight: bold;
  159. margin-top: auto;
  160. }
  161. .sign-btn {
  162. width: 180rpx;
  163. height: 70rpx;
  164. background-color: #FFFFFF;
  165. border-radius: 35rpx;
  166. display: flex;
  167. justify-content: center;
  168. align-items: center;
  169. font-size: 28rpx;
  170. color: #333;
  171. font-weight: bold;
  172. margin-top: auto;
  173. }
  174. }
  175. .purple-card {
  176. background-color: #9C27B0;
  177. }
  178. .yellow-card {
  179. background-color: #90d369;
  180. }
  181. }
  182. // 任务列表
  183. .task-list {
  184. background-color: #FFFFFF;
  185. border-radius: 24rpx;
  186. padding: 30rpx;
  187. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
  188. .task-header {
  189. display: flex;
  190. flex-direction: row;
  191. align-items: center;
  192. margin-bottom: 30rpx;
  193. .task-title {
  194. font-size: 34rpx;
  195. color: #333;
  196. font-weight: bold;
  197. margin-right: 20rpx;
  198. }
  199. .task-subtitle {
  200. font-size: 24rpx;
  201. color: #999;
  202. }
  203. }
  204. .task-item {
  205. display: flex;
  206. flex-direction: row;
  207. align-items: center;
  208. padding: 20rpx 0;
  209. border-bottom: 1px solid #F0F0F0;
  210. .task-info {
  211. flex: 1;
  212. .task-name {
  213. font-size: 30rpx;
  214. color: #333;
  215. margin-bottom: 6rpx;
  216. }
  217. .task-desc {
  218. font-size: 24rpx;
  219. color: #999;
  220. }
  221. }
  222. .task-reward {
  223. font-size: 30rpx;
  224. color: #90d369;
  225. font-weight: bold;
  226. margin-right: 20rpx;
  227. }
  228. .task-btn {
  229. width: 120rpx;
  230. height: 60rpx;
  231. background-color: #90d369;
  232. border-radius: 30rpx;
  233. display: flex;
  234. justify-content: center;
  235. align-items: center;
  236. font-size: 26rpx;
  237. color: #fff;
  238. font-weight: bold;
  239. }
  240. .task-completed {
  241. background-color: #F0F0F0;
  242. color: #999;
  243. }
  244. }
  245. }
  246. // 彩豆兑换弹窗
  247. .exchange-popup {
  248. position: fixed;
  249. bottom: 0;
  250. left: 0;
  251. width: 100%;
  252. height: 100%;
  253. z-index: 999;
  254. .popup-mask {
  255. position: absolute;
  256. top: 0;
  257. left: 0;
  258. width: 100%;
  259. height: 100%;
  260. background-color: rgba(0, 0, 0, 0.5);
  261. }
  262. .popup-content {
  263. position: absolute;
  264. bottom: 0;
  265. left: 0;
  266. width: 100%;
  267. background-color: #F5F5F5;
  268. border-radius: 24rpx 24rpx 0 0;
  269. padding-bottom: 50rpx;
  270. .popup-header {
  271. display: flex;
  272. flex-direction: row;
  273. justify-content: space-between;
  274. align-items: center;
  275. padding: 30rpx;
  276. .available-balance {
  277. font-size: 28rpx;
  278. color: #333;
  279. }
  280. .exchange-title {
  281. font-size: 28rpx;
  282. color: #333;
  283. font-weight: bold;
  284. }
  285. }
  286. .exchange-area {
  287. background-color: #FFFFFF;
  288. margin: 0 30rpx;
  289. border-radius: 20rpx;
  290. padding: 30rpx;
  291. .exchange-title-area {
  292. margin-bottom: 40rpx;
  293. .exchange-main-title {
  294. font-size: 34rpx;
  295. color: #333;
  296. font-weight: bold;
  297. display: block;
  298. margin-bottom: 10rpx;
  299. }
  300. .exchange-subtitle {
  301. font-size: 24rpx;
  302. color: #999;
  303. }
  304. }
  305. .input-area {
  306. display: flex;
  307. flex-direction: row;
  308. align-items: center;
  309. padding: 20rpx 0;
  310. border-bottom: 1px solid #F0F0F0;
  311. margin-bottom: 50rpx;
  312. .bean-icon {
  313. width: 40rpx;
  314. height: 40rpx;
  315. border-radius: 50%;
  316. background-color: #FFE156;
  317. margin-right: 20rpx;
  318. }
  319. .exchange-input {
  320. flex: 1;
  321. height: 60rpx;
  322. font-size: 30rpx;
  323. }
  324. }
  325. .action-area {
  326. display: flex;
  327. flex-direction: column;
  328. align-items: center;
  329. .exchange-btn-large {
  330. width: 100%;
  331. height: 90rpx;
  332. background-color: #90d369;
  333. border-radius: 45rpx;
  334. display: flex;
  335. justify-content: center;
  336. align-items: center;
  337. font-size: 32rpx;
  338. color: #fff;
  339. font-weight: bold;
  340. margin-bottom: 20rpx;
  341. }
  342. .tips-text {
  343. font-size: 24rpx;
  344. color: #999;
  345. text-align: center;
  346. }
  347. }
  348. }
  349. }
  350. }
  351. // 签到弹窗
  352. .sign-popup {
  353. position: fixed;
  354. bottom: 0;
  355. left: 0;
  356. width: 100%;
  357. height: 100%;
  358. z-index: 1000;
  359. .popup-mask {
  360. position: absolute;
  361. top: 0;
  362. left: 0;
  363. width: 100%;
  364. height: 100%;
  365. background-color: rgba(0, 0, 0, 0.5);
  366. }
  367. .sign-popup-content {
  368. position: absolute;
  369. bottom: 0;
  370. left: 0;
  371. width: 100%;
  372. background: #FFFFFF;
  373. border-radius: 24rpx 24rpx 0 0;
  374. padding: 30rpx;
  375. padding-bottom: 50rpx;
  376. .sign-popup-header {
  377. position: relative;
  378. padding-bottom: 30rpx;
  379. .sign-popup-title {
  380. font-size: 36rpx;
  381. color: #333333;
  382. font-weight: bold;
  383. margin-bottom: 30rpx;
  384. display: block;
  385. }
  386. .sign-notify-switch {
  387. display: flex;
  388. flex-direction: row;
  389. align-items: center;
  390. position: absolute;
  391. top: 0;
  392. right: 0;
  393. .sign-notify-text {
  394. font-size: 24rpx;
  395. color: #666666;
  396. margin-right: 10rpx;
  397. }
  398. .sign-switch {
  399. transform: scale(0.7);
  400. }
  401. }
  402. .sign-days-tag {
  403. display: inline-block;
  404. padding: 6rpx 20rpx;
  405. background-color: #FFD54F;
  406. border-radius: 24rpx;
  407. font-size: 24rpx;
  408. color: #333;
  409. font-weight: bold;
  410. }
  411. }
  412. .vip-area {
  413. display: flex;
  414. flex-direction: row;
  415. justify-content: space-between;
  416. align-items: center;
  417. background-color: #F5F5F5;
  418. border-radius: 12rpx;
  419. padding: 20rpx;
  420. margin-bottom: 30rpx;
  421. .vip-left {
  422. .vip-text {
  423. font-size: 26rpx;
  424. color: #333333;
  425. }
  426. }
  427. .vip-right {
  428. .vip-offer {
  429. font-size: 24rpx;
  430. color: #9C27B0;
  431. }
  432. }
  433. }
  434. .sign-grid {
  435. display: flex;
  436. flex-direction: row;
  437. flex-wrap: wrap;
  438. margin: 0 -10rpx;
  439. margin-bottom: 40rpx;
  440. .sign-grid-item {
  441. width: calc(33.33% - 20rpx);
  442. background-color: #F5F5F5;
  443. border-radius: 12rpx;
  444. padding: 20rpx;
  445. margin: 10rpx;
  446. position: relative;
  447. height: 180rpx;
  448. display: flex;
  449. flex-direction: column;
  450. .sign-day-num {
  451. font-size: 24rpx;
  452. color: #666666;
  453. margin-bottom: 10rpx;
  454. }
  455. .sign-item-img {
  456. width: 70rpx;
  457. height: 70rpx;
  458. background-color: #DDDDDD;
  459. border-radius: 50%;
  460. margin: 10rpx auto;
  461. }
  462. .sign-item-name {
  463. font-size: 24rpx;
  464. color: #333333;
  465. text-align: center;
  466. margin-top: auto;
  467. }
  468. .sign-vip-tag {
  469. position: absolute;
  470. top: 20rpx;
  471. right: 20rpx;
  472. padding: 4rpx 10rpx;
  473. background-color: #9C27B0;
  474. border-radius: 10rpx;
  475. font-size: 20rpx;
  476. color: #FFFFFF;
  477. }
  478. .sign-received-mask {
  479. position: absolute;
  480. top: 0;
  481. left: 0;
  482. width: 100%;
  483. height: 100%;
  484. background-color: rgba(0, 0, 0, 0.5);
  485. border-radius: 12rpx;
  486. display: flex;
  487. justify-content: center;
  488. align-items: center;
  489. .received-text {
  490. font-size: 28rpx;
  491. color: #FFFFFF;
  492. font-weight: bold;
  493. }
  494. }
  495. }
  496. }
  497. .sign-btn-large {
  498. width: 100%;
  499. height: 90rpx;
  500. background-color: #9C27B0;
  501. border-radius: 45rpx;
  502. display: flex;
  503. justify-content: center;
  504. align-items: center;
  505. font-size: 32rpx;
  506. color: #FFFFFF;
  507. font-weight: bold;
  508. &.sign-btn-disabled {
  509. background-color: #CCCCCC;
  510. color: #999999;
  511. }
  512. }
  513. }
  514. }