style.css 10 KB

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