my.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. page {
  2. background-color: #fff;
  3. padding-top: var(--status-bar-height);
  4. padding-bottom: 144rpx;
  5. }
  6. .page {
  7. background-color: #fff;
  8. width: 100%;
  9. min-height: 100vh;
  10. }
  11. .topBody {
  12. width: 750rpx;
  13. }
  14. .header1 {
  15. display: flex;
  16. flex-direction: row;
  17. justify-content: flex-start;
  18. align-items: flex-start;
  19. width: 750rpx;
  20. height: 420rpx;
  21. position: relative;
  22. z-index: 10;
  23. position: relative;
  24. .topBg {
  25. width: 750rpx;
  26. height: 250rpx;
  27. background: #90d369;
  28. border-radius: 0 0 50% 50% / 0 0 20% 20%;
  29. z-index: 0;
  30. position: absolute;
  31. }
  32. /* 新增设置按钮 */
  33. .settingBtn {
  34. position: absolute;
  35. top: 24rpx;
  36. right: 30rpx;
  37. z-index: 11;
  38. width: 48rpx;
  39. height: 48rpx;
  40. /* 新增点击态 */
  41. &:active {
  42. opacity: 0.7;
  43. transform: scale(0.95);
  44. }
  45. image {
  46. width: 100%;
  47. height: 100%;
  48. }
  49. }
  50. .top_num {
  51. position: absolute;
  52. top: 24rpx; // 垂直对齐设置按钮
  53. right: 98rpx; // 30+48+20=98 预留按钮空间
  54. display: flex;
  55. flex-direction: row;
  56. justify-content: flex-end;
  57. align-items: center;
  58. z-index: 10;
  59. .num_1,
  60. .num_2 {
  61. display: flex;
  62. flex-direction: row;
  63. align-items: center;
  64. justify-content: center;
  65. background: rgba(255, 255, 255, 0.8);
  66. border-radius: 30rpx;
  67. padding: 10rpx 20rpx;
  68. margin-left: 20rpx;
  69. .num_1,
  70. .num_2 {
  71. margin-left: 10rpx; // 缩小间距
  72. padding: 8rpx 16rpx; // 调整内边距
  73. }
  74. text:first-child {
  75. font-size: 24rpx;
  76. line-height: 32rpx;
  77. color: #666;
  78. }
  79. text:last-child {
  80. font-size: 32rpx;
  81. line-height: 32rpx;
  82. font-weight: bold;
  83. color: #333;
  84. }
  85. }
  86. }
  87. .infoBg {
  88. display: flex;
  89. flex-direction: column;
  90. justify-content: flex-start;
  91. align-items: stretch;
  92. width: 690rpx;
  93. height: 320rpx;
  94. margin: 20rpx 30rpx;
  95. margin-top: 90rpx;
  96. background: rgba(255, 255, 255, 0.95);
  97. backdrop-filter: blur(10px);
  98. border-radius: 24rpx;
  99. padding-top: calc(var(--status-bar-height) + 0rpx);
  100. box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.1);
  101. .top_row {
  102. display: flex;
  103. flex-direction: row;
  104. justify-content: space-between;
  105. align-items: flex-start;
  106. padding: 20rpx 0;
  107. .left {
  108. padding-left: 30rpx;
  109. padding-right: 0rpx;
  110. width: 200rpx;
  111. image {
  112. width: 136rpx;
  113. height: 136rpx;
  114. border-radius: 100rpx;
  115. border: solid 4rpx #fff;
  116. }
  117. .level {
  118. display: flex;
  119. flex-direction: row;
  120. justify-content: center;
  121. align-items: center;
  122. height: 32rpx;
  123. padding: 0 12rpx;
  124. margin-left: 10rpx;
  125. border-radius: 12rpx;
  126. background: linear-gradient(90deg, #ff5869 0%, #f83881 100%);
  127. font-size: 20rpx;
  128. color: #fff;
  129. font-weight: normal;
  130. }
  131. }
  132. .right {
  133. color: #333;
  134. width: 500rpx;
  135. font-size: 40rpx;
  136. padding-top: 20rpx;
  137. .nickname {
  138. font-weight: bold;
  139. margin-bottom: 0rpx;
  140. display: flex;
  141. flex-direction: row;
  142. justify-content: flex-start;
  143. align-items: center;
  144. image {
  145. width: 36rpx;
  146. margin-left: 8rpx;
  147. margin-right: 10rpx;
  148. }
  149. .level {
  150. font-weight: normal;
  151. font-size: 32rpx;
  152. }
  153. }
  154. .tags_list {
  155. .tag {
  156. margin-right: 8rpx;
  157. }
  158. }
  159. .join_date {
  160. display: flex;
  161. flex-direction: row;
  162. justify-content: flex-start;
  163. align-items: center;
  164. font-size: 28rpx;
  165. color: #333;
  166. image {
  167. width: 36rpx;
  168. margin-left: 6rpx;
  169. }
  170. }
  171. .follow_info {
  172. display: none;
  173. }
  174. }
  175. }
  176. .bottom_row {
  177. padding: 20rpx 50rpx;
  178. .intro_row {
  179. display: flex;
  180. flex-direction: row;
  181. align-items: center;
  182. margin-bottom: 20rpx;
  183. .intro_text {
  184. color: #999;
  185. font-size: 28rpx;
  186. }
  187. .add_icon {
  188. width: 28rpx;
  189. margin-left: 10rpx;
  190. }
  191. }
  192. .follow_info {
  193. display: flex;
  194. flex-direction: row;
  195. align-items: center;
  196. justify-content: flex-start;
  197. .num {
  198. font-size: 36rpx;
  199. font-weight: bold;
  200. color: #333;
  201. margin-right: 8rpx;
  202. }
  203. .label {
  204. font-size: 28rpx;
  205. color: #999;
  206. }
  207. .separator {
  208. width: 2rpx;
  209. height: 24rpx;
  210. background-color: #e5e5e5;
  211. margin: 0 30rpx;
  212. }
  213. }
  214. }
  215. }
  216. .title {
  217. font-size: 34rpx;
  218. }
  219. }
  220. .header {
  221. padding: 20rpx;
  222. padding-top: 48rpx;
  223. background: linear-gradient(225deg, #cdff9f 0%, #acff5f 30%, #d0ffa5 100%);
  224. min-height: 720rpx;
  225. margin-bottom: -135rpx;
  226. .card-box {
  227. width: 100%;
  228. min-height: 515rpx;
  229. position: relative;
  230. left: 0;
  231. top: 0%;
  232. overflow: hidden;
  233. .card-top {
  234. height: 435rpx;
  235. width: 100%;
  236. background: url("../../static/me/my-card-bg.png") top center / 100% auto,
  237. #fff;
  238. position: absolute;
  239. top: 0%;
  240. left: 0;
  241. z-index: 5;
  242. padding: 24rpx;
  243. padding-top: 16rpx;
  244. box-sizing: border-box;
  245. border-radius: 25rpx;
  246. .top-box {
  247. display: flex;
  248. justify-content: space-between;
  249. padding-top: 8rpx;
  250. background: url("../../static/me/car-top-bg-center.png") top center/
  251. 146rpx 50rpx no-repeat;
  252. .hello-box {
  253. font-family: "CustomFont" !important;
  254. font-size: 36rpx;
  255. font-weight: 700;
  256. }
  257. .settingBtn-box {
  258. width: 148rpx;
  259. display: flex;
  260. align-items: center;
  261. justify-content: space-between;
  262. image {
  263. width: 64rpx;
  264. height: 64rpx;
  265. }
  266. }
  267. }
  268. .userinfo-box {
  269. min-height: 120rpx;
  270. width: 100%;
  271. display: flex;
  272. .avator {
  273. width: 120rpx;
  274. height: 120rpx;
  275. margin-right: 16rpx;
  276. }
  277. .userinfo-right {
  278. .nickname {
  279. font-weight: bold;
  280. margin-bottom: 0rpx;
  281. display: flex;
  282. flex-direction: row;
  283. justify-content: flex-start;
  284. align-items: center;
  285. display: flex;
  286. > text {
  287. max-width: 380rpx;
  288. font-family: "PingFang SC-Bold";
  289. font-weight: 400;
  290. font-size: 36rpx;
  291. }
  292. image {
  293. width: 36rpx;
  294. margin-left: 8rpx;
  295. margin-right: 10rpx;
  296. }
  297. .level {
  298. font-weight: 400;
  299. font-size: 20rpx;
  300. font-family: "PingFang SC-Bold";
  301. background: linear-gradient(360deg, #acf934 0%, #ffe439 100%);
  302. border-radius: 8rpx;
  303. padding: 2rpx 8rpx;
  304. }
  305. }
  306. .label {
  307. height: 55rpx;
  308. height: 110rpx;
  309. overflow: hidden;
  310. > view {
  311. color: #acf934;
  312. font-family: "PingFang SC-Medium";
  313. font-weight: 400;
  314. font-size: 20rpx;
  315. background: #1f1f1f;
  316. border-radius: 6px 6px 6px 6px;
  317. display: inline-block;
  318. margin-left: 10rpx;
  319. margin-bottom: 10rpx;
  320. padding: 6rpx 16rpx;
  321. }
  322. }
  323. }
  324. }
  325. .intro_row {
  326. width: 100%;
  327. margin-bottom: 20rpx;
  328. display: flex;
  329. align-items: center;
  330. .intro_text {
  331. color: #1f1f1f;
  332. font-size: 28rpx;
  333. font-family: "PingFang SC-Bold";
  334. font-weight: 400;
  335. padding-right: 0rpx;
  336. }
  337. .add_icon {
  338. width: 28rpx;
  339. margin-left: 10rpx;
  340. }
  341. }
  342. .bom {
  343. display: flex;
  344. align-items: center;
  345. justify-content: space-between;
  346. .follow_info {
  347. display: flex;
  348. align-items: center;
  349. justify-content: space-between;
  350. width: 340rpx;
  351. .follow-box {
  352. display: flex;
  353. flex-direction: column;
  354. align-items: center;
  355. justify-content: center;
  356. text-align: center;
  357. }
  358. .num {
  359. width: 100%;
  360. font-size: 36rpx;
  361. font-weight: bold;
  362. color: #333;
  363. }
  364. .label {
  365. width: 100%;
  366. font-size: 28rpx;
  367. color: #999;
  368. }
  369. .separator {
  370. width: 2rpx;
  371. height: 24rpx;
  372. background-color: #e5e5e5;
  373. margin: 0 30rpx;
  374. }
  375. }
  376. .points-box {
  377. display: flex;
  378. justify-content: space-between;
  379. .points {
  380. display: flex;
  381. align-items: center;
  382. background: #f2f6f2;
  383. border-radius: 238rpx;
  384. padding: 6rpx 12rpx 6rpx 8rpx;
  385. &:first-child {
  386. margin-right: 18rpx;
  387. }
  388. image {
  389. width: 40rpx;
  390. height: 40rpx;
  391. }
  392. }
  393. }
  394. }
  395. .follow_info {
  396. // display: none;
  397. }
  398. }
  399. .card-bom {
  400. width: 100%;
  401. height: 104rpx;
  402. background: url("../../static/me/my-card-bom-bg.png") top center / 100%
  403. auto;
  404. position: absolute;
  405. bottom: 0%;
  406. left: 0;
  407. padding: 0 28rpx;
  408. padding-top: 20rpx;
  409. box-sizing: border-box;
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. > image {
  414. width: 34rpx;
  415. height: 26rpx;
  416. }
  417. .content-box {
  418. height: 100%;
  419. display: flex;
  420. align-items: center;
  421. color: #acf934;
  422. > image {
  423. width: 34rpx;
  424. height: 34rpx;
  425. margin-right: 8rpx;
  426. }
  427. }
  428. }
  429. }
  430. }
  431. .thread {
  432. height: 210rpx;
  433. padding: 50rpx;
  434. font-size: 52rpx;
  435. color: #6e6a6a;
  436. padding-top: 80rpx;
  437. }
  438. .myinfo {
  439. width: 100%;
  440. display: flex;
  441. flex-direction: column;
  442. border-radius: 28rpx 28rpx 0 0;
  443. padding: 24rpx 20rpx;
  444. justify-content: flex-start;
  445. box-sizing: border-box;
  446. background: #fff;
  447. .line {
  448. width: 100%;
  449. height: 2rpx;
  450. background: #f0f0f0;
  451. margin-bottom: 20rpx;
  452. }
  453. .tablist {
  454. display: flex;
  455. justify-content: flex-start;
  456. // padding: 20rpx 20rpx;
  457. box-sizing: border-box;
  458. background: #ffffff;
  459. .item {
  460. padding: 10rpx 38rpx;
  461. color: #1f1f1f;
  462. font-size: 28rpx;
  463. background: #f2f6f2;
  464. margin-right: 20rpx;
  465. border-radius: 30rpx;
  466. position: relative;
  467. left: 0;
  468. top: 0;
  469. .indicator-triangle {
  470. position: absolute;
  471. bottom: -10rpx;
  472. left: 50%;
  473. transform: translateX(-50%);
  474. width: 0;
  475. height: 0;
  476. border-left: 10rpx solid transparent;
  477. border-right: 10rpx solid transparent;
  478. border-top: 10rpx solid #acf934;
  479. display: none;
  480. }
  481. &.active {
  482. background: #acf934;
  483. font-family: "CustomFont" !important;
  484. .indicator-triangle {
  485. display: block;
  486. }
  487. }
  488. // &:after {
  489. // content: "";
  490. // position: absolute;
  491. // bottom: 0;
  492. // left: 0;
  493. // width: 40rpx;
  494. // height: 6rpx;
  495. // background: #90d369;
  496. // border-radius: 3rpx;
  497. // }
  498. // }
  499. }
  500. }
  501. .numlist {
  502. display: flex;
  503. flex-direction: row;
  504. justify-content: center;
  505. align-items: center;
  506. .item {
  507. display: flex;
  508. justify-content: center;
  509. padding: 20rpx;
  510. border-radius: 38rpx;
  511. width: 316rpx;
  512. height: 186rpx;
  513. image {
  514. width: 64rpx;
  515. }
  516. .num {
  517. color: #fff;
  518. font-size: 36rpx;
  519. text-align: center;
  520. display: flex;
  521. flex-direction: column;
  522. justify-content: center;
  523. align-items: center;
  524. .name {
  525. font-size: 28rpx;
  526. color: #bababa;
  527. margin-top: 12rpx;
  528. }
  529. }
  530. }
  531. }
  532. .numlist1 {
  533. display: grid;
  534. grid-template-columns: repeat(2, 1fr);
  535. }
  536. .numlist2 {
  537. display: grid;
  538. grid-template-columns: repeat(2, 1fr);
  539. .num {
  540. position: relative;
  541. left: 0;
  542. top: 0;
  543. .incomplete-bg {
  544. position: absolute;
  545. left: 0;
  546. top: 0;
  547. width: 346rpx;
  548. height: 520rpx;
  549. }
  550. .maskLayer {
  551. background: rgba(0, 0, 0, 0.4);
  552. position: absolute;
  553. left: 0;
  554. top: 0;
  555. width: 346rpx;
  556. height: 520rpx;
  557. }
  558. .queue-status {
  559. position: absolute;
  560. left: 0;
  561. top: 0;
  562. width: 346rpx;
  563. height: 520rpx;
  564. color: #fff;
  565. .status-text {
  566. position: absolute;
  567. left: 0;
  568. top: 0;
  569. width: 100%;
  570. height: 100%;
  571. display: flex;
  572. justify-content: center;
  573. align-items: center;
  574. .state-img {
  575. height: 104rpx;
  576. width: 220rpx;
  577. position: absolute;
  578. left:50%;
  579. top:50%;
  580. transform: translate(-50%, -50%);
  581. }
  582. }
  583. }
  584. .task-type-tag {
  585. position: absolute;
  586. left: 0;
  587. top: 0;
  588. padding-top: 14rpx;
  589. padding-left: 12rpx;
  590. }
  591. }
  592. .loading-more,
  593. .no-more {
  594. text-align: center;
  595. padding: 20rpx 0;
  596. color: #999;
  597. font-size: 28rpx;
  598. }
  599. }
  600. .btn_submit {
  601. width: 660rpx;
  602. height: 96rpx;
  603. margin: 0 auto;
  604. border: 2rpx solid #404040;
  605. border-radius: 28rpx;
  606. font-weight: bold;
  607. font-size: 32rpx;
  608. color: #ff2a95;
  609. display: flex;
  610. flex-direction: row;
  611. justify-content: center;
  612. align-items: center;
  613. }
  614. .blankHeight {
  615. height: 100rpx;
  616. }
  617. }