my.scss 15 KB

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