my.scss 15 KB

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