my.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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. .card-box {
  229. width: 100%;
  230. min-height: 515rpx;
  231. position: relative;
  232. left: 0;
  233. top: 0%;
  234. overflow: hidden;
  235. .card-top {
  236. height: 435rpx;
  237. width: 100%;
  238. background: url("../../static/me/my-card-bg.png") top center / 100% auto,
  239. #fff;
  240. position: absolute;
  241. top: 0%;
  242. left: 0;
  243. z-index: 5;
  244. padding: 24rpx;
  245. padding-top: 16rpx;
  246. box-sizing: border-box;
  247. border-radius: 25rpx;
  248. .top-box {
  249. display: flex;
  250. justify-content: space-between;
  251. padding-top: 8rpx;
  252. background: url("../../static/me/car-top-bg-center.png") top center/
  253. 146rpx 50rpx no-repeat;
  254. .hello-box {
  255. font-family: "CustomFont" !important;
  256. font-size: 36rpx;
  257. font-weight: 700;
  258. }
  259. .settingBtn-box {
  260. width: 148rpx;
  261. display: flex;
  262. align-items: center;
  263. justify-content: space-between;
  264. image {
  265. width: 64rpx;
  266. height: 64rpx;
  267. }
  268. }
  269. }
  270. .userinfo-box {
  271. min-height: 120rpx;
  272. width: 100%;
  273. display: flex;
  274. .avator {
  275. width: 120rpx;
  276. height: 120rpx;
  277. margin-right: 16rpx;
  278. }
  279. .userinfo-right {
  280. .nickname {
  281. font-weight: bold;
  282. margin-bottom: 0rpx;
  283. display: flex;
  284. flex-direction: row;
  285. justify-content: flex-start;
  286. align-items: center;
  287. display: flex;
  288. > text {
  289. max-width: 380rpx;
  290. font-family: "PingFang SC-Bold";
  291. font-weight: 400;
  292. font-size: 36rpx;
  293. }
  294. image {
  295. width: 36rpx;
  296. margin-left: 8rpx;
  297. margin-right: 10rpx;
  298. }
  299. .level {
  300. font-weight: 400;
  301. font-size: 20rpx;
  302. font-family: "PingFang SC-Bold";
  303. background: linear-gradient(360deg, #acf934 0%, #ffe439 100%);
  304. border-radius: 8rpx;
  305. padding: 2rpx 8rpx;
  306. }
  307. }
  308. .label {
  309. height: 55rpx;
  310. height: 110rpx;
  311. overflow: hidden;
  312. > view {
  313. color: #acf934;
  314. font-family: "PingFang SC-Medium";
  315. font-weight: 400;
  316. font-size: 20rpx;
  317. background: #1f1f1f;
  318. border-radius: 6px 6px 6px 6px;
  319. display: inline-block;
  320. margin-left: 10rpx;
  321. margin-bottom: 10rpx;
  322. padding: 6rpx 16rpx;
  323. }
  324. }
  325. }
  326. }
  327. .intro_row {
  328. width: 100%;
  329. margin-bottom: 20rpx;
  330. display: flex;
  331. align-items: center;
  332. .intro_text {
  333. color: #1f1f1f;
  334. font-size: 28rpx;
  335. font-family: "PingFang SC-Bold";
  336. font-weight: 400;
  337. padding-right: 0rpx;
  338. }
  339. .add_icon {
  340. width: 28rpx;
  341. margin-left: 10rpx;
  342. }
  343. }
  344. .bom {
  345. display: flex;
  346. align-items: center;
  347. justify-content: space-between;
  348. .follow_info {
  349. display: flex;
  350. align-items: center;
  351. justify-content: space-between;
  352. width: 340rpx;
  353. .follow-box {
  354. display: flex;
  355. flex-direction: column;
  356. align-items: center;
  357. justify-content: center;
  358. text-align: center;
  359. }
  360. .num {
  361. width: 100%;
  362. font-size: 36rpx;
  363. font-weight: bold;
  364. color: #333;
  365. }
  366. .label {
  367. width: 100%;
  368. font-size: 28rpx;
  369. color: #999;
  370. }
  371. .separator {
  372. width: 2rpx;
  373. height: 24rpx;
  374. background-color: #e5e5e5;
  375. margin: 0 30rpx;
  376. }
  377. }
  378. .points-box {
  379. display: flex;
  380. justify-content: space-between;
  381. .points {
  382. display: flex;
  383. align-items: center;
  384. background: #f2f6f2;
  385. border-radius: 238rpx;
  386. padding: 6rpx 12rpx 6rpx 8rpx;
  387. &:first-child {
  388. margin-right: 18rpx;
  389. }
  390. image {
  391. width: 40rpx;
  392. height: 40rpx;
  393. }
  394. }
  395. }
  396. }
  397. .follow_info {
  398. // display: none;
  399. }
  400. }
  401. .card-bom {
  402. width: 100%;
  403. height: 104rpx;
  404. background: url("../../static/me/my-card-bom-bg.png") top center / 100%
  405. auto;
  406. position: absolute;
  407. bottom: 0%;
  408. left: 0;
  409. padding: 0 28rpx;
  410. padding-top: 20rpx;
  411. box-sizing: border-box;
  412. display: flex;
  413. align-items: center;
  414. justify-content: space-between;
  415. > image {
  416. width: 34rpx;
  417. height: 26rpx;
  418. }
  419. .content-box {
  420. height: 100%;
  421. display: flex;
  422. align-items: center;
  423. color: #acf934;
  424. > image {
  425. width: 34rpx;
  426. height: 34rpx;
  427. margin-right: 8rpx;
  428. }
  429. }
  430. }
  431. }
  432. }
  433. .thread {
  434. height: 210rpx;
  435. padding: 50rpx;
  436. font-size: 52rpx;
  437. color: #6e6a6a;
  438. padding-top: 80rpx;
  439. }
  440. .myinfo {
  441. width: 100%;
  442. display: flex;
  443. flex-direction: column;
  444. border-radius: 28rpx 28rpx 0 0;
  445. padding: 24rpx 20rpx;
  446. justify-content: flex-start;
  447. box-sizing: border-box;
  448. background: #fff;
  449. .line {
  450. width: 100%;
  451. height: 2rpx;
  452. background: #f0f0f0;
  453. margin-bottom: 4rpx;
  454. margin-top: 16rpx;
  455. }
  456. .subtitle {
  457. display: flex;
  458. .item {
  459. padding: 0 43rpx;
  460. font-weight: 400;
  461. font-size: 28rpx;
  462. color: #999999;
  463. font-family: "PingFang SC-Medium";
  464. &.active {
  465. font-family: "PingFang SC-Bold";
  466. font-weight: 400;
  467. font-size: 28rpx;
  468. color: #1f1f1f;
  469. }
  470. }
  471. }
  472. .tablist {
  473. display: flex;
  474. justify-content: flex-start;
  475. // padding: 20rpx 20rpx;
  476. box-sizing: border-box;
  477. background: #ffffff;
  478. .item {
  479. padding: 10rpx 38rpx;
  480. color: #1f1f1f;
  481. font-size: 28rpx;
  482. background: #f2f6f2;
  483. margin-right: 20rpx;
  484. border-radius: 30rpx;
  485. position: relative;
  486. left: 0;
  487. top: 0;
  488. .indicator-triangle {
  489. position: absolute;
  490. bottom: -10rpx;
  491. left: 50%;
  492. transform: translateX(-50%);
  493. width: 0;
  494. height: 0;
  495. border-left: 10rpx solid transparent;
  496. border-right: 10rpx solid transparent;
  497. border-top: 10rpx solid #acf934;
  498. display: none;
  499. }
  500. &.active {
  501. background: #acf934;
  502. font-family: "CustomFont" !important;
  503. .indicator-triangle {
  504. display: block;
  505. }
  506. }
  507. // &:after {
  508. // content: "";
  509. // position: absolute;
  510. // bottom: 0;
  511. // left: 0;
  512. // width: 40rpx;
  513. // height: 6rpx;
  514. // background: #90d369;
  515. // border-radius: 3rpx;
  516. // }
  517. // }
  518. }
  519. }
  520. .numlist {
  521. display: flex;
  522. flex-direction: row;
  523. justify-content: center;
  524. align-items: center;
  525. .item {
  526. display: flex;
  527. justify-content: center;
  528. padding: 20rpx;
  529. border-radius: 38rpx;
  530. width: 316rpx;
  531. height: 186rpx;
  532. image {
  533. width: 64rpx;
  534. }
  535. .num {
  536. color: #fff;
  537. font-size: 36rpx;
  538. text-align: center;
  539. display: flex;
  540. flex-direction: column;
  541. justify-content: center;
  542. align-items: center;
  543. .name {
  544. font-size: 28rpx;
  545. color: #bababa;
  546. margin-top: 12rpx;
  547. }
  548. }
  549. }
  550. }
  551. .numlist1 {
  552. display: grid;
  553. grid-template-columns: repeat(2, 1fr);
  554. }
  555. .numlist2 {
  556. display: grid;
  557. grid-template-columns: repeat(2, 1fr);
  558. .num {
  559. position: relative;
  560. left: 0;
  561. top: 0;
  562. .incomplete-bg {
  563. position: absolute;
  564. left: 0;
  565. top: 0;
  566. width: 346rpx;
  567. height: 520rpx;
  568. }
  569. .incomplete-bg2 {
  570. position: absolute;
  571. left: 0;
  572. top: 50%;
  573. width: 346rpx;
  574. transform: translateY(-50%);
  575. // height: auto;
  576. }
  577. .maskLayer {
  578. background: rgba(0, 0, 0, 0.4);
  579. position: absolute;
  580. left: 0;
  581. top: 0;
  582. width: 346rpx;
  583. height: 520rpx;
  584. }
  585. .queue-status {
  586. position: absolute;
  587. left: 0;
  588. top: 0;
  589. width: 346rpx;
  590. height: 520rpx;
  591. color: #fff;
  592. .status-text {
  593. position: absolute;
  594. left: 0;
  595. top: 0;
  596. width: 100%;
  597. height: 100%;
  598. display: flex;
  599. justify-content: center;
  600. align-items: center;
  601. .state-img {
  602. height: 104rpx;
  603. width: 220rpx;
  604. position: absolute;
  605. left: 50%;
  606. top: 50%;
  607. transform: translate(-50%, -50%);
  608. }
  609. }
  610. }
  611. .task-type-tag {
  612. position: absolute;
  613. left: 0;
  614. top: 0;
  615. padding-top: 14rpx;
  616. padding-left: 12rpx;
  617. }
  618. }
  619. .loading-more,
  620. .no-more {
  621. text-align: center;
  622. padding: 20rpx 0;
  623. color: #999;
  624. font-size: 28rpx;
  625. }
  626. }
  627. .btn_submit {
  628. width: 660rpx;
  629. height: 96rpx;
  630. margin: 0 auto;
  631. border: 2rpx solid #404040;
  632. border-radius: 28rpx;
  633. font-weight: bold;
  634. font-size: 32rpx;
  635. color: #ff2a95;
  636. display: flex;
  637. flex-direction: row;
  638. justify-content: center;
  639. align-items: center;
  640. }
  641. .blankHeight {
  642. height: 100rpx;
  643. position: absolute;
  644. left: 50%;
  645. top: 50%;
  646. transform: translate(-50%, -50%);
  647. }
  648. }
  649. .reserveASeatBom {
  650. width: 100%;
  651. height: calc(var(--window-bottom) + 200rpx);
  652. }