index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. .custom-tabbar[data-v-52454e90] {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 50px;
  7. background-color: #ffffff;
  8. display: flex;
  9. flex-direction: column;
  10. z-index: 999;
  11. padding-bottom: env(safe-area-inset-bottom);
  12. }
  13. .tabbar-border[data-v-52454e90] {
  14. height: 1px;
  15. background-color: rgba(0, 0, 0, 0.1);
  16. transform: scaleY(0.5);
  17. }
  18. .tabbar-list[data-v-52454e90] {
  19. display: flex;
  20. flex: 1;
  21. align-items: center;
  22. justify-content: space-around;
  23. }
  24. .tabbar-item[data-v-52454e90] {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. justify-content: center;
  29. height: 100%;
  30. flex: 1;
  31. }
  32. .tabbar-icon[data-v-52454e90] {
  33. width: 24px;
  34. height: 24px;
  35. margin-bottom: 2px;
  36. }
  37. .tabbar-text[data-v-52454e90] {
  38. font-size: 10px;
  39. color: #999999;
  40. }
  41. .tabbar-text-active[data-v-52454e90] {
  42. color: #FF5722;
  43. }
  44. /* 页面背景 */
  45. body {
  46. background-color: #F8F8F8;
  47. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  48. }
  49. .container {
  50. padding-bottom: 0.9375rem;
  51. position: relative;
  52. overflow-x: hidden;
  53. }
  54. /* 顶部背景 */
  55. .nav-bg {
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. width: 100%;
  60. /* 增加高度以覆盖顶部,确保上移后背景仍然充足 */
  61. height: 17.1875rem;
  62. /* 调整渐变色,使其更接近设计图的暖色调 */
  63. background: linear-gradient(180deg, #FFE0B2 0%, #F8F8F8 100%);
  64. z-index: 1;
  65. overflow: hidden;
  66. border-bottom-left-radius: 1.875rem;
  67. border-bottom-right-radius: 1.875rem;
  68. }
  69. /* 装饰性圆球 - 加深颜色 */
  70. .bg-circle-1 {
  71. position: absolute;
  72. top: -1.875rem;
  73. right: -1.875rem;
  74. width: 10rem;
  75. height: 10rem;
  76. /* 加深颜色 */
  77. background: radial-gradient(circle, rgba(255, 167, 38, 0.4) 0%, rgba(255, 167, 38, 0) 70%);
  78. border-radius: 50%;
  79. }
  80. .bg-circle-2 {
  81. position: absolute;
  82. top: 2.5rem;
  83. left: -3.125rem;
  84. width: 13.125rem;
  85. height: 13.125rem;
  86. /* 加深颜色 */
  87. background: radial-gradient(circle, rgba(255, 183, 77, 0.4) 0%, rgba(255, 183, 77, 0) 70%);
  88. border-radius: 50%;
  89. }
  90. /* 头部区域 */
  91. .header-section {
  92. position: relative;
  93. z-index: 2;
  94. padding: 3.75rem 0.9375rem 0;
  95. }
  96. .title-bar {
  97. text-align: center;
  98. font-size: 1rem;
  99. /* 16pt = 32rpx, consistent with name */
  100. font-weight: 500;
  101. color: #333;
  102. margin-bottom: 0.9375rem;
  103. }
  104. .user-card {
  105. display: flex;
  106. align-items: flex-start;
  107. margin-bottom: 0.9375rem;
  108. position: relative;
  109. }
  110. .avatar {
  111. width: 2.8125rem;
  112. height: 2.8125rem;
  113. border-radius: 50%;
  114. margin-right: 0.625rem;
  115. border: 0.09375rem solid #fff;
  116. box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.05);
  117. }
  118. .info-content {
  119. flex: 1;
  120. padding-top: 0.15625rem;
  121. }
  122. .name-row {
  123. display: flex;
  124. align-items: center;
  125. margin-bottom: 0.375rem;
  126. }
  127. .name {
  128. /* 16号字体 = 32rpx */
  129. font-size: 1rem;
  130. font-weight: bold;
  131. color: #1A1A1A;
  132. margin-right: 0.375rem;
  133. }
  134. .tags {
  135. display: flex;
  136. align-items: center;
  137. }
  138. .tag {
  139. font-size: 0.5625rem;
  140. padding: 0.0625rem 0.1875rem;
  141. border-radius: 0.125rem;
  142. margin-right: 0.25rem;
  143. line-height: 1.2;
  144. }
  145. .tag.green {
  146. color: #4CAF50;
  147. background-color: #E8F5E9;
  148. border: 1px solid #C8E6C9;
  149. }
  150. .tag.blue {
  151. color: #2196F3;
  152. background-color: #E3F2FD;
  153. border: 1px solid #BBDEFB;
  154. }
  155. .bike-icon {
  156. width: 0.875rem;
  157. height: 0.875rem;
  158. background-color: #FFF3E0;
  159. border-radius: 0.125rem;
  160. padding: 0.0625rem;
  161. }
  162. .detail-row {
  163. display: flex;
  164. align-items: center;
  165. /* 12号字体 = 24rpx */
  166. font-size: 0.75rem;
  167. color: #666;
  168. margin-bottom: 0.25rem;
  169. }
  170. .small-icon {
  171. width: 0.75rem;
  172. /* Slightly increase icon to match font */
  173. height: 0.75rem;
  174. margin-right: 0.25rem;
  175. }
  176. .settings-icon {
  177. width: 1.125rem;
  178. height: 1.125rem;
  179. position: absolute;
  180. top: 0;
  181. right: 0;
  182. }
  183. /* VIP 卡片 - 独立卡片样式 */
  184. .vip-card {
  185. border-radius: 0.625rem;
  186. padding: 0.625rem 0.9375rem;
  187. display: flex;
  188. justify-content: space-between;
  189. align-items: center;
  190. color: #FDD835;
  191. background: linear-gradient(90deg, #1f1f1f 0%, #141414 100%);
  192. box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
  193. margin-bottom: 0.9375rem;
  194. position: relative;
  195. }
  196. .vip-left {
  197. display: flex;
  198. align-items: center;
  199. }
  200. .vip-icon {
  201. width: 1.25rem;
  202. height: 1.25rem;
  203. margin-right: 0.5rem;
  204. }
  205. .vip-text {
  206. display: flex;
  207. flex-direction: column;
  208. }
  209. .vip-title {
  210. font-size: 0.8125rem;
  211. font-weight: bold;
  212. color: #FFE082;
  213. margin-bottom: 0.125rem;
  214. }
  215. .vip-desc {
  216. font-size: 0.5rem;
  217. color: #9E9E9E;
  218. }
  219. .vip-btn {
  220. font-size: 0.625rem;
  221. color: #FFE082;
  222. display: flex;
  223. /* Flex layout to align text and icon */
  224. align-items: center;
  225. }
  226. /* 统计面板 */
  227. .stats-panel {
  228. background-color: #fff;
  229. border-radius: 0.625rem;
  230. padding: 0.9375rem 0;
  231. margin: 0 0.9375rem 0.9375rem;
  232. display: flex;
  233. justify-content: space-between;
  234. align-items: center;
  235. box-shadow: 0 0.15625rem 0.46875rem rgba(0, 0, 0, 0.03);
  236. position: relative;
  237. z-index: 3;
  238. }
  239. .stat-item {
  240. flex: 1;
  241. display: flex;
  242. flex-direction: column;
  243. padding-left: 0.9375rem;
  244. }
  245. .stat-header {
  246. display: flex;
  247. align-items: center;
  248. margin-bottom: 0.375rem;
  249. /* 12号字体 = 24rpx */
  250. font-size: 0.75rem;
  251. color: #333;
  252. font-weight: normal;
  253. }
  254. .arrow-icon {
  255. width: 0.625rem;
  256. height: 0.625rem;
  257. margin-left: 0.1875rem;
  258. opacity: 0.6;
  259. }
  260. .arrow-icon-small {
  261. width: 0.5625rem;
  262. height: 0.5625rem;
  263. margin-left: 0.125rem;
  264. opacity: 0.8;
  265. }
  266. .red-bar,
  267. .green-bar,
  268. .orange-bar {
  269. width: 0.1875rem;
  270. height: 0.5625rem;
  271. margin-right: 0.3125rem;
  272. border-radius: 0.09375rem;
  273. }
  274. .red-bar {
  275. background-color: #FF5252;
  276. }
  277. .green-bar {
  278. background-color: #4CAF50;
  279. }
  280. .orange-bar {
  281. background-color: #FF9800;
  282. }
  283. .stat-value {
  284. margin-bottom: 0.1875rem;
  285. display: flex;
  286. align-items: baseline;
  287. }
  288. .num {
  289. /* 16号字体 = 32rpx */
  290. font-size: 1rem;
  291. font-weight: bold;
  292. color: #333;
  293. margin-right: 0.1875rem;
  294. line-height: 1;
  295. }
  296. .unit {
  297. font-size: 0.625rem;
  298. color: #666;
  299. }
  300. .sub-text {
  301. font-size: 0.5625rem;
  302. color: #999;
  303. }
  304. .divider {
  305. width: 1px;
  306. height: 1.5625rem;
  307. background-color: #E0E0E0;
  308. }
  309. /* 菜单列表 */
  310. .menu-list {
  311. background-color: #fff;
  312. border-radius: 0.625rem;
  313. margin: 0 0.9375rem 0.9375rem;
  314. padding: 0 0.9375rem;
  315. box-shadow: 0 0.15625rem 0.46875rem rgba(0, 0, 0, 0.03);
  316. }
  317. .menu-item {
  318. display: flex;
  319. align-items: center;
  320. padding: 1rem 0;
  321. border-bottom: 1px solid #F5F5F5;
  322. }
  323. .menu-item:last-child {
  324. border-bottom: none;
  325. }
  326. .menu-icon {
  327. width: 1.25rem;
  328. height: 1.25rem;
  329. margin-right: 0.625rem;
  330. }
  331. .menu-text {
  332. flex: 1;
  333. /* 14号字体 = 28rpx */
  334. font-size: 0.875rem;
  335. color: #333;
  336. }
  337. .menu-right {
  338. display: flex;
  339. align-items: center;
  340. }
  341. /* 加大菜单列表的箭头 */
  342. .menu-item .arrow-icon {
  343. width: 0.875rem;
  344. height: 0.875rem;
  345. opacity: 0.5;
  346. }
  347. .red-dot {
  348. width: 0.3125rem;
  349. height: 0.3125rem;
  350. background-color: #FF5252;
  351. border-radius: 50%;
  352. margin-right: 0.375rem;
  353. }
  354. /* 退出按钮 */
  355. .logout-btn {
  356. background-color: #fff;
  357. margin: 0 0.9375rem;
  358. height: 2.75rem;
  359. line-height: 2.75rem;
  360. text-align: center;
  361. border-radius: 0.625rem;
  362. color: #FF5252;
  363. font-size: 0.875rem;
  364. font-weight: 500;
  365. box-shadow: 0 0.15625rem 0.46875rem rgba(0, 0, 0, 0.03);
  366. }
  367. /* 开发提示文字 */
  368. .dev-tip {
  369. margin: 1.25rem 1.875rem;
  370. font-size: 0.75rem;
  371. color: #999;
  372. text-align: center;
  373. line-height: 1.6;
  374. }
  375. /* 联系客服弹窗样式 */
  376. .service-popup-mask {
  377. position: fixed;
  378. top: 0;
  379. left: 0;
  380. right: 0;
  381. bottom: 0;
  382. background-color: rgba(0, 0, 0, 0.5);
  383. z-index: 999;
  384. display: flex;
  385. justify-content: center;
  386. align-items: center;
  387. }
  388. .service-popup {
  389. width: 18.75rem;
  390. background-color: #fff;
  391. border-radius: 0.5rem;
  392. padding: 0;
  393. box-sizing: border-box;
  394. overflow: hidden;
  395. }
  396. .service-header {
  397. display: flex;
  398. justify-content: space-between;
  399. align-items: center;
  400. padding: 0.9375rem;
  401. border-bottom: 0.03125rem solid #f5f5f5;
  402. }
  403. .service-title {
  404. /* 14号字体 = 28rpx,不加粗 */
  405. font-size: 0.875rem;
  406. font-weight: normal;
  407. color: #333;
  408. }
  409. .close-icon {
  410. width: 0.875rem;
  411. height: 0.875rem;
  412. opacity: 0.6;
  413. }
  414. .qr-section {
  415. display: flex;
  416. flex-direction: column;
  417. align-items: center;
  418. padding: 1.25rem 0;
  419. background-color: #fff;
  420. }
  421. .qr-title {
  422. font-size: 0.875rem;
  423. color: #333;
  424. margin-bottom: 0.9375rem;
  425. font-weight: 500;
  426. }
  427. .qr-img {
  428. width: 6.25rem;
  429. height: 6.25rem;
  430. margin-bottom: 0.625rem;
  431. border-radius: 0.375rem;
  432. box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
  433. }
  434. .qr-desc {
  435. /* 12号字体 = 24rpx */
  436. font-size: 0.75rem;
  437. color: #999;
  438. }
  439. .service-list {
  440. padding: 0 0.9375rem;
  441. padding-bottom: 0.9375rem;
  442. }
  443. .service-row {
  444. display: flex;
  445. align-items: center;
  446. padding: 0.9375rem 0;
  447. border-top: 0.03125rem solid #f5f5f5;
  448. }
  449. .service-row:last-child {
  450. border-bottom: none;
  451. }
  452. .service-row-icon {
  453. width: 1.75rem;
  454. height: 1.75rem;
  455. margin-right: 0.75rem;
  456. }
  457. .service-info {
  458. flex: 1;
  459. display: flex;
  460. flex-direction: column;
  461. }
  462. .service-name {
  463. /* 13号字体 = 26rpx */
  464. font-size: 0.8125rem;
  465. color: #333;
  466. margin-bottom: 0.125rem;
  467. font-weight: 500;
  468. }
  469. .service-desc {
  470. /* 12号字体 = 24rpx */
  471. font-size: 0.75rem;
  472. color: #999;
  473. }
  474. .call-btn {
  475. display: flex;
  476. align-items: center;
  477. justify-content: center;
  478. background-color: #E8F5E9;
  479. padding: 0.25rem 0.75rem;
  480. border-radius: 0.9375rem;
  481. height: 1.75rem;
  482. box-sizing: border-box;
  483. }
  484. .call-btn uni-text {
  485. font-size: 0.75rem;
  486. color: #4CAF50;
  487. margin-left: 0.25rem;
  488. font-weight: 500;
  489. }
  490. .phone-icon-small {
  491. width: 0.75rem;
  492. height: 0.75rem;
  493. }
  494. /* 退出登录弹窗样式 */
  495. .logout-popup-mask {
  496. position: fixed;
  497. top: 0;
  498. left: 0;
  499. right: 0;
  500. bottom: 0;
  501. background-color: rgba(0, 0, 0, 0.5);
  502. z-index: 999;
  503. display: flex;
  504. align-items: center;
  505. justify-content: center;
  506. opacity: 0;
  507. pointer-events: none;
  508. transition: opacity 0.3s;
  509. }
  510. .logout-popup-mask.show {
  511. opacity: 1;
  512. pointer-events: auto;
  513. }
  514. .popup-modal {
  515. width: 16.25rem;
  516. background-color: #fff;
  517. border-radius: 0.9375rem;
  518. padding: 1.875rem 1.25rem;
  519. display: flex;
  520. flex-direction: column;
  521. align-items: center;
  522. box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.2);
  523. transform: scale(0.9);
  524. transition: transform 0.3s;
  525. }
  526. .logout-popup-mask.show .popup-modal {
  527. transform: scale(1);
  528. }
  529. .popup-icon-wrapper {
  530. width: 3.75rem;
  531. height: 3.75rem;
  532. background-color: #FFF3E0;
  533. border-radius: 50%;
  534. display: flex;
  535. align-items: center;
  536. justify-content: center;
  537. margin-bottom: 0.9375rem;
  538. }
  539. .popup-icon-large {
  540. width: 1.875rem;
  541. height: 1.875rem;
  542. }
  543. .popup-title {
  544. font-size: 1.0625rem;
  545. font-weight: bold;
  546. color: #333;
  547. margin-bottom: 0.625rem;
  548. }
  549. .popup-desc {
  550. font-size: 0.875rem;
  551. color: #666;
  552. text-align: center;
  553. line-height: 1.5;
  554. margin-bottom: 1.5625rem;
  555. }
  556. .popup-actions {
  557. display: flex;
  558. width: 100%;
  559. justify-content: space-between;
  560. }
  561. .popup-btn {
  562. flex: 1;
  563. height: 2.5rem;
  564. line-height: 2.5rem;
  565. text-align: center;
  566. font-size: 0.875rem;
  567. border-radius: 1.25rem;
  568. margin: 0 0.46875rem;
  569. }
  570. .popup-btn.cancel {
  571. background-color: #F5F5F5;
  572. color: #666;
  573. }
  574. .popup-btn.confirm {
  575. background-color: #FF9800;
  576. color: #fff;
  577. box-shadow: 0 0.125rem 0.375rem rgba(255, 152, 0, 0.3);
  578. }