my.scss 16 KB

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