job.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  1. page {
  2. background-color: #fff;
  3. font-family: "PingFang SC-Medium";
  4. min-height: 100vh;
  5. }
  6. .page {
  7. min-height: 100vh;
  8. background-color: #fff;
  9. position: relative;
  10. background: url("../../static/me/job/rw_bg_01.png") center top / 100% auto
  11. no-repeat,
  12. #f2f6f2;
  13. }
  14. // 顶部黄色背景
  15. .PageHeader {
  16. background: url("../../static/me/job/rw_bg_01.png") center top / 100% auto
  17. no-repeat,
  18. #f2f6f2;
  19. background-position-y: var(--status-bar-height);
  20. }
  21. .occupyHigh {
  22. height: calc(var(--status-bar-height) + 150rpx);
  23. width: 100%;
  24. }
  25. // 内容区域
  26. .content-area {
  27. position: relative;
  28. z-index: 1;
  29. padding: 0 20rpx;
  30. }
  31. // 星源余额展示区
  32. .person-info {
  33. display: flex;
  34. justify-content: space-between;
  35. align-items: center;
  36. padding: 0 20rpx;
  37. padding-bottom: 48rpx;
  38. .person-info-left {
  39. display: flex;
  40. .avator {
  41. width: 100rpx;
  42. height: 100rpx;
  43. border: 4rpx solid #fff;
  44. margin-right: 28rpx;
  45. }
  46. .title-area {
  47. .my-bean-title {
  48. font-size: 24rpx;
  49. }
  50. .bean-number {
  51. display: flex;
  52. align-items: center;
  53. font-family: "CustomFont";
  54. font-weight: 700;
  55. font-size: 48rpx;
  56. color: #1f1f1f;
  57. image {
  58. width: 40rpx;
  59. height: 40rpx;
  60. margin-right: 8rpx;
  61. }
  62. }
  63. }
  64. }
  65. .exchange-btn {
  66. width: 140rpx;
  67. height: 52rpx;
  68. background: #1f1f1f;
  69. border-radius: 26rpx;
  70. font-size: 24rpx;
  71. color: #acf934;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. }
  76. }
  77. // 星愿打卡区域
  78. .starWishCheckIn {
  79. width: 710rpx;
  80. height: 380rpx;
  81. background: url("../../static/me/job/rw_bg_02.png") top left/100% no-repeat,
  82. #ffffff;
  83. box-shadow: 0rpx 6rpx 8rpx 0rpx rgba(231, 231, 231, 0.29);
  84. border-radius: 20rpx;
  85. padding: 20rpx;
  86. padding-top: 96rpx;
  87. margin-bottom: 20rpx;
  88. display: flex;
  89. justify-content: space-between;
  90. position: relative;
  91. left: 0;
  92. top: 0;
  93. .title {
  94. position: absolute;
  95. left: 20rpx;
  96. top: 20rpx;
  97. width: 200rpx;
  98. height: 104rpx;
  99. }
  100. .card {
  101. width: 328rpx;
  102. height: 238rpx;
  103. padding: 28rpx 26rpx 22rpx 24rpx;
  104. box-sizing: border-box;
  105. .card-title {
  106. font-weight: 700;
  107. font-size: 28rpx;
  108. color: #ffffff;
  109. font-family: "CustomFont";
  110. }
  111. .card-desc {
  112. font-weight: 400;
  113. font-size: 22rpx;
  114. color: rgba(255, 255, 255, 0.8);
  115. width: 180rpx;
  116. padding-bottom: 20rpx;
  117. }
  118. .card-btn {
  119. width: 276rpx;
  120. height: 64rpx;
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. padding-bottom: 10rpx;
  125. font-weight: 400;
  126. font-size: 28rpx;
  127. &.card-reward {
  128. background: url("../../static/me/job/rw_btn_01.png") center/100%
  129. no-repeat;
  130. color: #c88618;
  131. }
  132. &.sign-btn {
  133. background: url("../../static/me/job/rw_btn_02.png") center/100%
  134. no-repeat;
  135. color: #0484ce;
  136. }
  137. }
  138. &.purple-card {
  139. position: relative;
  140. left: 0;
  141. top: 0;
  142. background: url("../../static/me/job/sy_img_xingyuandaka01.png")
  143. center/100% no-repeat;
  144. .bg-box {
  145. position: absolute;
  146. left: 0;
  147. top: 0;
  148. border-radius:15rpx;
  149. width: 100%;
  150. height: 100%;
  151. background: rgba(0, 0, 0, 0.5);
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. image {
  156. width: 156rpx;
  157. height: 156rpx;
  158. }
  159. }
  160. }
  161. &.yellow-card {
  162. background: url("../../static/me/job/sy_img_xingyuandaka02.png")
  163. center/100% no-repeat;
  164. }
  165. }
  166. }
  167. // 任务列表
  168. .task-list-box {
  169. box-shadow: 0rpx 6rpx 8rpx 0rpx rgba(231, 231, 231, 0.29);
  170. border-radius: 20rpx;
  171. background: url("../../static/me/job/rw_bg_02.png") top left/100% no-repeat,
  172. #ffffff;
  173. padding: 20rpx;
  174. box-sizing: border-box;
  175. .task-header {
  176. display: flex;
  177. align-items: center;
  178. image {
  179. width: 200rpx;
  180. height: 50rpx;
  181. margin-right: 4rpx;
  182. }
  183. .task-subtitle {
  184. font-weight: 400;
  185. font-size: 22rpx;
  186. color: #999999;
  187. }
  188. }
  189. .task-item {
  190. display: flex;
  191. flex-direction: row;
  192. align-items: center;
  193. padding: 20rpx 0;
  194. border-bottom: 1px solid #f0f0f0;
  195. justify-content: space-between;
  196. .task-info {
  197. flex: 1;
  198. display: flex;
  199. align-items: center;
  200. justify-content: flex-start;
  201. max-width: 408rpx;
  202. image {
  203. width: 88rpx;
  204. height: 88rpx;
  205. flex-shrink: 0;
  206. margin-right: 20rpx;
  207. }
  208. .task-name {
  209. color: #333;
  210. margin-bottom: 6rpx;
  211. max-width: 310rpx;
  212. font-weight: 400;
  213. font-size: 28rpx;
  214. color: #1f1f1f;
  215. font-family: "PingFang SC-Bold";
  216. }
  217. .task-desc {
  218. max-width: 310rpx;
  219. font-weight: 400;
  220. font-size: 22rpx;
  221. color: #999999;
  222. }
  223. }
  224. .task-reward {
  225. font-size: 28rpx;
  226. color: #1f1f1f;
  227. margin-right: 20rpx;
  228. display: flex;
  229. align-items: center;
  230. justify-content: center;
  231. image {
  232. width: 36rpx;
  233. height: 36rpx;
  234. }
  235. }
  236. .task-btn {
  237. display: flex;
  238. justify-content: center;
  239. align-items: center;
  240. width: 140rpx;
  241. height: 52rpx;
  242. background: #1f1f1f;
  243. border-radius: 26rpx;
  244. font-weight: 400;
  245. font-size: 24rpx;
  246. color: #acf934;
  247. border: 2rpx solid #1f1f1f;
  248. &.task-completed {
  249. background-color: #fff;
  250. color: #1f1f1f;
  251. border: 2rpx solid #1f1f1f;
  252. }
  253. }
  254. }
  255. }
  256. // 兑换弹窗
  257. .NicknamePopUpWindowBox {
  258. ::v-deep.uv-popup .uv-popup__content {
  259. border-radius: 28rpx 28rpx 0 0;
  260. min-height: 400rpx;
  261. background: url("../../static/me/wd_bg_jianjie.png") center top/100% auto
  262. no-repeat,
  263. #f2f6f2 !important;
  264. padding-bottom: 40rpx;
  265. }
  266. }
  267. .NicknamePopUpWindow {
  268. .nickname-heard {
  269. padding: 0 32rpx;
  270. padding-top: 20rpx;
  271. padding-bottom: -26rpx;
  272. display: flex;
  273. flex-direction: center;
  274. align-items: center;
  275. position: relative;
  276. left: 0;
  277. top: 0;
  278. width: 100vw;
  279. box-sizing: border-box;
  280. .available-mCoin {
  281. font-weight: 400;
  282. font-size: 24rpx;
  283. color: #1f1f1f;
  284. }
  285. .exchange-title {
  286. position: absolute;
  287. left: 50%;
  288. top: calc(50% + 10rpx);
  289. transform: translate(-50%, -50%);
  290. font-family: "CustomFont";
  291. font-weight: 700;
  292. font-size: 36rpx;
  293. color: #1f1f1f;
  294. }
  295. }
  296. .content-box {
  297. width: 686rpx;
  298. height: 420rpx;
  299. background: #ffffff;
  300. border-radius: 20rpx;
  301. margin: 0 auto;
  302. margin-bottom: 40rpx;
  303. padding: 24rpx;
  304. .prompt {
  305. font-weight: 400;
  306. font-size: 28rpx;
  307. color: #1f1f1f;
  308. padding-bottom: 24rpx;
  309. text {
  310. color: #999999;
  311. font-size: 24rpx;
  312. }
  313. }
  314. ::v-deep.uv-input {
  315. background-color: #f2f6f2;
  316. }
  317. .input-box {
  318. width: 100%;
  319. height: 88rpx;
  320. background: #f2f6f2;
  321. border-radius: 20rpx;
  322. display: flex;
  323. align-items: center;
  324. justify-content: center;
  325. margin-bottom: 60rpx;
  326. padding: 18rpx 24rpx;
  327. > image {
  328. width: 48rpx;
  329. height: 48rpx;
  330. margin-right: 16rpx;
  331. }
  332. .input {
  333. }
  334. }
  335. .tips-text {
  336. font-size: 24rpx;
  337. color: #999;
  338. text-align: center;
  339. display: block;
  340. text-align: center;
  341. padding: 20rpx 0;
  342. }
  343. }
  344. }
  345. // 星源余额展示区
  346. .bean-balance {
  347. width: 690rpx;
  348. background-color: #ffffff;
  349. border-radius: 24rpx;
  350. padding: 30rpx;
  351. margin-bottom: 30rpx;
  352. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  353. .balance-header {
  354. display: flex;
  355. flex-direction: row;
  356. justify-content: space-between;
  357. align-items: center;
  358. .title-area {
  359. display: flex;
  360. flex-direction: row;
  361. align-items: center;
  362. .yellow-dot {
  363. width: 16rpx;
  364. height: 16rpx;
  365. border-radius: 50%;
  366. background-color: #90d369;
  367. margin-right: 10rpx;
  368. }
  369. .my-bean-title {
  370. font-size: 32rpx;
  371. color: #333;
  372. font-weight: bold;
  373. }
  374. }
  375. .exchange-btn {
  376. width: 120rpx;
  377. height: 60rpx;
  378. background-color: #90d369;
  379. border-radius: 30rpx;
  380. display: flex;
  381. justify-content: center;
  382. align-items: center;
  383. font-size: 28rpx;
  384. color: #fff;
  385. font-weight: bold;
  386. }
  387. }
  388. .bean-number {
  389. font-size: 80rpx;
  390. font-weight: bold;
  391. color: #333;
  392. margin-top: 20rpx;
  393. }
  394. }
  395. // 星愿打卡区域
  396. .sign-cards {
  397. display: flex;
  398. flex-direction: row;
  399. justify-content: space-between;
  400. margin-bottom: 30rpx;
  401. .card {
  402. width: 330rpx;
  403. height: 240rpx;
  404. border-radius: 24rpx;
  405. padding: 24rpx;
  406. display: flex;
  407. flex-direction: column;
  408. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  409. .card-title {
  410. font-size: 34rpx;
  411. font-weight: bold;
  412. color: #ffffff;
  413. margin-bottom: 10rpx;
  414. }
  415. .card-desc {
  416. font-size: 24rpx;
  417. color: rgba(255, 255, 255, 0.8);
  418. margin-bottom: 30rpx;
  419. }
  420. .card-reward {
  421. font-size: 30rpx;
  422. color: #ffffff;
  423. font-weight: bold;
  424. }
  425. .card-progress {
  426. font-size: 36rpx;
  427. color: #ffffff;
  428. font-weight: bold;
  429. margin-top: auto;
  430. }
  431. .sign-btn {
  432. width: 180rpx;
  433. height: 70rpx;
  434. background-color: #ffffff;
  435. border-radius: 35rpx;
  436. display: flex;
  437. justify-content: center;
  438. align-items: center;
  439. font-size: 28rpx;
  440. color: #333;
  441. font-weight: bold;
  442. margin-top: auto;
  443. }
  444. }
  445. .purple-card {
  446. background-color: #9c27b0;
  447. }
  448. .yellow-card {
  449. background-color: #90d369;
  450. }
  451. }
  452. // 任务列表
  453. .task-list {
  454. background-color: #ffffff;
  455. border-radius: 24rpx;
  456. padding: 30rpx;
  457. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  458. .task-header {
  459. display: flex;
  460. flex-direction: row;
  461. align-items: center;
  462. margin-bottom: 30rpx;
  463. .task-title {
  464. font-size: 34rpx;
  465. color: #333;
  466. font-weight: bold;
  467. margin-right: 20rpx;
  468. }
  469. .task-subtitle {
  470. font-size: 24rpx;
  471. color: #999;
  472. }
  473. }
  474. .task-item {
  475. display: flex;
  476. flex-direction: row;
  477. align-items: center;
  478. padding: 20rpx 0;
  479. border-bottom: 1px solid #f0f0f0;
  480. .task-info {
  481. flex: 1;
  482. .task-name {
  483. font-size: 30rpx;
  484. color: #333;
  485. margin-bottom: 6rpx;
  486. }
  487. .task-desc {
  488. font-size: 24rpx;
  489. color: #999;
  490. }
  491. }
  492. .task-reward {
  493. font-size: 30rpx;
  494. color: #90d369;
  495. font-weight: bold;
  496. margin-right: 20rpx;
  497. }
  498. .task-btn {
  499. width: 120rpx;
  500. height: 60rpx;
  501. background-color: #90d369;
  502. border-radius: 30rpx;
  503. display: flex;
  504. justify-content: center;
  505. align-items: center;
  506. font-size: 26rpx;
  507. color: #fff;
  508. font-weight: bold;
  509. }
  510. .task-completed {
  511. background-color: #f0f0f0;
  512. color: #999;
  513. }
  514. }
  515. }
  516. // 星源兑换弹窗
  517. .exchange-popup {
  518. position: fixed;
  519. bottom: 0;
  520. left: 0;
  521. width: 100%;
  522. height: 100%;
  523. z-index: 999;
  524. .popup-mask {
  525. position: absolute;
  526. top: 0;
  527. left: 0;
  528. width: 100%;
  529. height: 100%;
  530. background-color: rgba(0, 0, 0, 0.5);
  531. }
  532. .popup-content {
  533. position: absolute;
  534. bottom: 0;
  535. left: 0;
  536. width: 100%;
  537. background-color: #f5f5f5;
  538. border-radius: 24rpx 24rpx 0 0;
  539. padding-bottom: 50rpx;
  540. .popup-header {
  541. display: flex;
  542. flex-direction: row;
  543. justify-content: space-between;
  544. align-items: center;
  545. padding: 30rpx;
  546. .available-balance {
  547. font-size: 28rpx;
  548. color: #333;
  549. }
  550. .exchange-title {
  551. font-size: 28rpx;
  552. color: #333;
  553. font-weight: bold;
  554. }
  555. }
  556. .exchange-area {
  557. background-color: #ffffff;
  558. margin: 0 30rpx;
  559. border-radius: 20rpx;
  560. padding: 30rpx;
  561. .exchange-title-area {
  562. margin-bottom: 40rpx;
  563. .exchange-main-title {
  564. font-size: 34rpx;
  565. color: #333;
  566. font-weight: bold;
  567. display: block;
  568. margin-bottom: 10rpx;
  569. }
  570. .exchange-subtitle {
  571. font-size: 24rpx;
  572. color: #999;
  573. }
  574. }
  575. .input-area {
  576. display: flex;
  577. flex-direction: row;
  578. align-items: center;
  579. padding: 20rpx 0;
  580. border-bottom: 1px solid #f0f0f0;
  581. margin-bottom: 50rpx;
  582. .bean-icon {
  583. width: 40rpx;
  584. height: 40rpx;
  585. border-radius: 50%;
  586. background-color: #ffe156;
  587. margin-right: 20rpx;
  588. }
  589. .exchange-input {
  590. flex: 1;
  591. height: 60rpx;
  592. font-size: 30rpx;
  593. }
  594. }
  595. .action-area {
  596. display: flex;
  597. flex-direction: column;
  598. align-items: center;
  599. .exchange-btn-large {
  600. width: 100%;
  601. height: 90rpx;
  602. background-color: #90d369;
  603. border-radius: 45rpx;
  604. display: flex;
  605. justify-content: center;
  606. align-items: center;
  607. font-size: 32rpx;
  608. color: #fff;
  609. font-weight: bold;
  610. margin-bottom: 20rpx;
  611. }
  612. .tips-text {
  613. font-size: 24rpx;
  614. color: #999;
  615. text-align: center;
  616. }
  617. }
  618. }
  619. }
  620. }
  621. // 签到弹窗
  622. .sign-popup {
  623. position: fixed;
  624. bottom: 0;
  625. left: 0;
  626. width: 100%;
  627. height: 100%;
  628. z-index: 1000;
  629. .popup-mask {
  630. position: absolute;
  631. top: 0;
  632. left: 0;
  633. width: 100%;
  634. height: 100%;
  635. background-color: rgba(0, 0, 0, 0.5);
  636. }
  637. .sign-popup-content {
  638. position: absolute;
  639. bottom: 0;
  640. left: 0;
  641. width: 100%;
  642. background: #ffffff;
  643. border-radius: 24rpx 24rpx 0 0;
  644. padding: 30rpx;
  645. padding-bottom: 50rpx;
  646. .sign-popup-header {
  647. position: relative;
  648. padding-bottom: 30rpx;
  649. .sign-popup-title {
  650. font-size: 36rpx;
  651. color: #333333;
  652. font-weight: bold;
  653. margin-bottom: 30rpx;
  654. display: block;
  655. }
  656. .sign-notify-switch {
  657. display: flex;
  658. flex-direction: row;
  659. align-items: center;
  660. position: absolute;
  661. top: 0;
  662. right: 0;
  663. .sign-notify-text {
  664. font-size: 24rpx;
  665. color: #666666;
  666. margin-right: 10rpx;
  667. }
  668. .sign-switch {
  669. transform: scale(0.7);
  670. }
  671. }
  672. .sign-days-tag {
  673. display: inline-block;
  674. padding: 6rpx 20rpx;
  675. background-color: #ffd54f;
  676. border-radius: 24rpx;
  677. font-size: 24rpx;
  678. color: #333;
  679. font-weight: bold;
  680. }
  681. }
  682. .vip-area {
  683. display: flex;
  684. flex-direction: row;
  685. justify-content: space-between;
  686. align-items: center;
  687. background-color: #f5f5f5;
  688. border-radius: 12rpx;
  689. padding: 20rpx;
  690. margin-bottom: 30rpx;
  691. .vip-left {
  692. .vip-text {
  693. font-size: 26rpx;
  694. color: #333333;
  695. }
  696. }
  697. .vip-right {
  698. .vip-offer {
  699. font-size: 24rpx;
  700. color: #9c27b0;
  701. }
  702. }
  703. }
  704. .sign-grid {
  705. display: flex;
  706. flex-direction: row;
  707. flex-wrap: wrap;
  708. margin: 0 -10rpx;
  709. margin-bottom: 40rpx;
  710. .sign-grid-item {
  711. width: calc(33.33% - 20rpx);
  712. background-color: #f5f5f5;
  713. border-radius: 12rpx;
  714. padding: 20rpx;
  715. margin: 10rpx;
  716. position: relative;
  717. height: 180rpx;
  718. display: flex;
  719. flex-direction: column;
  720. .sign-day-num {
  721. font-size: 24rpx;
  722. color: #666666;
  723. margin-bottom: 10rpx;
  724. }
  725. .sign-item-img {
  726. width: 70rpx;
  727. height: 70rpx;
  728. background-color: #dddddd;
  729. border-radius: 50%;
  730. margin: 10rpx auto;
  731. }
  732. .sign-item-name {
  733. font-size: 24rpx;
  734. color: #333333;
  735. text-align: center;
  736. margin-top: auto;
  737. }
  738. .sign-vip-tag {
  739. position: absolute;
  740. top: 20rpx;
  741. right: 20rpx;
  742. padding: 4rpx 10rpx;
  743. background-color: #9c27b0;
  744. border-radius: 10rpx;
  745. font-size: 20rpx;
  746. color: #ffffff;
  747. }
  748. .sign-received-mask {
  749. position: absolute;
  750. top: 0;
  751. left: 0;
  752. width: 100%;
  753. height: 100%;
  754. background-color: rgba(0, 0, 0, 0.5);
  755. border-radius: 12rpx;
  756. display: flex;
  757. justify-content: center;
  758. align-items: center;
  759. .received-text {
  760. font-size: 28rpx;
  761. color: #ffffff;
  762. font-weight: bold;
  763. }
  764. }
  765. }
  766. }
  767. .sign-btn-large {
  768. width: 100%;
  769. height: 90rpx;
  770. background-color: #9c27b0;
  771. border-radius: 45rpx;
  772. display: flex;
  773. justify-content: center;
  774. align-items: center;
  775. font-size: 32rpx;
  776. color: #ffffff;
  777. font-weight: bold;
  778. &.sign-btn-disabled {
  779. background-color: #cccccc;
  780. color: #999999;
  781. }
  782. }
  783. }
  784. }