my.scss 16 KB

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