my.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  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. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  419. box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.05);
  420. &:active {
  421. transform: scale(0.98);
  422. box-shadow: 0 -1rpx 4rpx rgba(0, 0, 0, 0.05);
  423. }
  424. > image {
  425. width: 34rpx;
  426. height: 26rpx;
  427. transition: all 0.3s ease;
  428. }
  429. .content-box {
  430. height: 100%;
  431. display: flex;
  432. align-items: center;
  433. color: #acf934;
  434. transition: all 0.3s ease;
  435. image {
  436. width: 34rpx;
  437. height: 34rpx;
  438. margin-right: 8rpx;
  439. transition: all 0.3s ease;
  440. }
  441. }
  442. }
  443. }
  444. }
  445. .thread {
  446. height: 210rpx;
  447. padding: 50rpx;
  448. font-size: 52rpx;
  449. color: #6e6a6a;
  450. padding-top: 80rpx;
  451. }
  452. .myinfo {
  453. width: 100%;
  454. display: flex;
  455. flex-direction: column;
  456. border-radius: 28rpx 28rpx 0 0;
  457. padding: 24rpx 20rpx;
  458. justify-content: flex-start;
  459. box-sizing: border-box;
  460. background: #fff;
  461. .line {
  462. width: 100%;
  463. height: 2rpx;
  464. background: #f0f0f0;
  465. margin-bottom: 4rpx;
  466. margin-top: 16rpx;
  467. }
  468. .subtitle {
  469. display: flex;
  470. .item {
  471. padding: 0 43rpx;
  472. font-weight: 400;
  473. font-size: 28rpx;
  474. color: #999999;
  475. font-family: "PingFang SC-Medium";
  476. &.active {
  477. font-family: "PingFang SC-Bold";
  478. font-weight: 400;
  479. font-size: 28rpx;
  480. color: #1f1f1f;
  481. }
  482. }
  483. }
  484. .tablist {
  485. display: flex;
  486. justify-content: flex-start;
  487. box-sizing: border-box;
  488. background: #ffffff;
  489. .item {
  490. padding: 10rpx 38rpx;
  491. color: #1f1f1f;
  492. font-size: 28rpx;
  493. background: #f2f6f2;
  494. margin-right: 20rpx;
  495. border-radius: 30rpx;
  496. position: relative;
  497. left: 0;
  498. top: 0;
  499. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  500. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  501. &:active {
  502. transform: scale(0.95);
  503. box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  504. }
  505. .indicator-triangle {
  506. position: absolute;
  507. bottom: -10rpx;
  508. left: 50%;
  509. transform: translateX(-50%);
  510. width: 0;
  511. height: 0;
  512. border-left: 10rpx solid transparent;
  513. border-right: 10rpx solid transparent;
  514. border-top: 10rpx solid #acf934;
  515. display: none;
  516. transition: all 0.3s ease;
  517. }
  518. &.active {
  519. background: #acf934;
  520. font-family: "CustomFont" !important;
  521. box-shadow: 0 4rpx 12rpx rgba(172, 249, 52, 0.3);
  522. .indicator-triangle {
  523. display: block;
  524. transform: translateX(-50%) scale(1.2);
  525. }
  526. }
  527. }
  528. }
  529. .numlist {
  530. display: flex;
  531. flex-direction: row;
  532. justify-content: center;
  533. align-items: center;
  534. .item {
  535. display: flex;
  536. justify-content: center;
  537. padding: 20rpx;
  538. border-radius: 38rpx;
  539. width: 316rpx;
  540. height: 186rpx;
  541. image {
  542. width: 64rpx;
  543. }
  544. .num {
  545. color: #fff;
  546. font-size: 36rpx;
  547. text-align: center;
  548. display: flex;
  549. flex-direction: column;
  550. justify-content: center;
  551. align-items: center;
  552. .name {
  553. font-size: 28rpx;
  554. color: #bababa;
  555. margin-top: 12rpx;
  556. }
  557. }
  558. }
  559. }
  560. .numlist1 {
  561. display: grid;
  562. grid-template-columns: repeat(2, 1fr);
  563. }
  564. .numlist2 {
  565. display: grid;
  566. grid-template-columns: repeat(2, 1fr);
  567. .num {
  568. position: relative;
  569. left: 0;
  570. top: 0;
  571. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  572. &.clickable {
  573. cursor: pointer;
  574. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  575. &:active {
  576. transform: scale(0.98);
  577. box-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.05);
  578. }
  579. }
  580. .incomplete-bg {
  581. position: absolute;
  582. left: 0;
  583. top: 0;
  584. width: 346rpx;
  585. height: 520rpx;
  586. transition: all 0.3s ease;
  587. border-radius: 16rpx;
  588. }
  589. .incomplete-bg2 {
  590. position: absolute;
  591. left: 0;
  592. top: 50%;
  593. width: 346rpx;
  594. transform: translateY(-50%);
  595. transition: all 0.3s ease;
  596. border-radius: 16rpx;
  597. }
  598. .maskLayer {
  599. background: rgba(0, 0, 0, 0.4);
  600. position: absolute;
  601. left: 0;
  602. top: 0;
  603. width: 346rpx;
  604. height: 520rpx;
  605. transition: all 0.3s ease;
  606. border-radius: 16rpx;
  607. }
  608. .queue-status {
  609. position: absolute;
  610. left: 0;
  611. top: 0;
  612. width: 346rpx;
  613. height: 520rpx;
  614. color: #fff;
  615. transition: all 0.3s ease;
  616. .status-text {
  617. position: absolute;
  618. left: 0;
  619. top: 0;
  620. width: 100%;
  621. height: 100%;
  622. display: flex;
  623. justify-content: center;
  624. align-items: center;
  625. transition: all 0.3s ease;
  626. .state-img {
  627. height: 104rpx;
  628. width: 220rpx;
  629. position: absolute;
  630. left: 50%;
  631. top: 50%;
  632. transform: translate(-50%, -50%);
  633. transition: all 0.3s ease;
  634. }
  635. }
  636. }
  637. .name {
  638. transition: all 0.3s ease;
  639. }
  640. }
  641. .loading-more,
  642. .no-more {
  643. text-align: center;
  644. padding: 20rpx 0;
  645. color: #999;
  646. font-size: 28rpx;
  647. }
  648. }
  649. .btn_submit {
  650. width: 660rpx;
  651. height: 96rpx;
  652. margin: 0 auto;
  653. border: 2rpx solid #404040;
  654. border-radius: 28rpx;
  655. font-weight: bold;
  656. font-size: 32rpx;
  657. color: #ff2a95;
  658. display: flex;
  659. flex-direction: row;
  660. justify-content: center;
  661. align-items: center;
  662. }
  663. .blankHeight {
  664. height: 100rpx;
  665. position: absolute;
  666. left: 50%;
  667. top: 50%;
  668. transform: translate(-50%, -50%);
  669. }
  670. }
  671. .reserveASeatBom {
  672. width: 100%;
  673. height: calc(var(--window-bottom) + 200rpx);
  674. }