style.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  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: 60rpx 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. .service-popup-mask {
  326. position: fixed;
  327. top: 0;
  328. left: 0;
  329. right: 0;
  330. bottom: 0;
  331. background-color: rgba(0, 0, 0, 0.5);
  332. z-index: 999;
  333. display: flex;
  334. justify-content: center;
  335. align-items: center;
  336. }
  337. .service-popup {
  338. width: 600rpx;
  339. background-color: #fff;
  340. border-radius: 16rpx;
  341. padding: 0;
  342. box-sizing: border-box;
  343. overflow: hidden;
  344. }
  345. .service-header {
  346. display: flex;
  347. justify-content: space-between;
  348. align-items: center;
  349. padding: 30rpx;
  350. border-bottom: 1rpx solid #f5f5f5;
  351. }
  352. .service-title {
  353. /* 14号字体 = 28rpx,不加粗 */
  354. font-size: 28rpx;
  355. font-weight: normal;
  356. color: #333;
  357. }
  358. .close-icon {
  359. width: 28rpx;
  360. height: 28rpx;
  361. opacity: 0.6;
  362. }
  363. .qr-section {
  364. display: flex;
  365. flex-direction: column;
  366. align-items: center;
  367. padding: 40rpx 0;
  368. background-color: #fff;
  369. }
  370. .qr-title {
  371. font-size: 28rpx;
  372. color: #333;
  373. margin-bottom: 30rpx;
  374. font-weight: 500;
  375. }
  376. .qr-img {
  377. width: 200rpx;
  378. height: 200rpx;
  379. margin-bottom: 20rpx;
  380. border-radius: 12rpx;
  381. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
  382. }
  383. .qr-desc {
  384. /* 12号字体 = 24rpx */
  385. font-size: 24rpx;
  386. color: #999;
  387. }
  388. .service-list {
  389. padding: 0 30rpx;
  390. padding-bottom: 30rpx;
  391. }
  392. .service-row {
  393. display: flex;
  394. align-items: center;
  395. padding: 30rpx 0;
  396. border-top: 1rpx solid #f5f5f5;
  397. }
  398. .service-row:last-child {
  399. border-bottom: none;
  400. }
  401. .service-row-icon {
  402. width: 56rpx;
  403. height: 56rpx;
  404. margin-right: 24rpx;
  405. }
  406. .service-info {
  407. flex: 1;
  408. display: flex;
  409. flex-direction: column;
  410. }
  411. .service-name {
  412. /* 13号字体 = 26rpx */
  413. font-size: 26rpx;
  414. color: #333;
  415. margin-bottom: 4rpx;
  416. font-weight: 500;
  417. }
  418. .service-desc {
  419. /* 12号字体 = 24rpx */
  420. font-size: 24rpx;
  421. color: #999;
  422. }
  423. .call-btn {
  424. display: flex;
  425. align-items: center;
  426. justify-content: center;
  427. background-color: #E8F5E9;
  428. padding: 8rpx 24rpx;
  429. border-radius: 30rpx;
  430. height: 56rpx;
  431. box-sizing: border-box;
  432. }
  433. .call-btn text {
  434. font-size: 24rpx;
  435. color: #4CAF50;
  436. margin-left: 8rpx;
  437. font-weight: 500;
  438. }
  439. .phone-icon-small {
  440. width: 24rpx;
  441. height: 24rpx;
  442. }
  443. /* 退出登录弹窗样式 */
  444. .logout-popup-mask {
  445. position: fixed;
  446. top: 0;
  447. left: 0;
  448. right: 0;
  449. bottom: 0;
  450. background-color: rgba(0, 0, 0, 0.5);
  451. z-index: 999;
  452. display: flex;
  453. align-items: center;
  454. justify-content: center;
  455. opacity: 0;
  456. pointer-events: none;
  457. transition: opacity 0.3s;
  458. }
  459. .logout-popup-mask.show {
  460. opacity: 1;
  461. pointer-events: auto;
  462. }
  463. .popup-modal {
  464. width: 520rpx;
  465. background-color: #fff;
  466. border-radius: 30rpx;
  467. padding: 60rpx 40rpx;
  468. display: flex;
  469. flex-direction: column;
  470. align-items: center;
  471. box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.2);
  472. transform: scale(0.9);
  473. transition: transform 0.3s;
  474. }
  475. .logout-popup-mask.show .popup-modal {
  476. transform: scale(1);
  477. }
  478. .popup-icon-wrapper {
  479. width: 120rpx;
  480. height: 120rpx;
  481. background-color: #FFF3E0;
  482. border-radius: 50%;
  483. display: flex;
  484. align-items: center;
  485. justify-content: center;
  486. margin-bottom: 30rpx;
  487. }
  488. .popup-icon-large {
  489. width: 60rpx;
  490. height: 60rpx;
  491. }
  492. .popup-title {
  493. font-size: 34rpx;
  494. font-weight: bold;
  495. color: #333;
  496. margin-bottom: 20rpx;
  497. }
  498. .popup-desc {
  499. font-size: 28rpx;
  500. color: #666;
  501. text-align: center;
  502. line-height: 1.5;
  503. margin-bottom: 50rpx;
  504. }
  505. .popup-actions {
  506. display: flex;
  507. width: 100%;
  508. justify-content: space-between;
  509. }
  510. .popup-btn {
  511. flex: 1;
  512. height: 80rpx;
  513. line-height: 80rpx;
  514. text-align: center;
  515. font-size: 28rpx;
  516. border-radius: 40rpx;
  517. margin: 0 15rpx;
  518. }
  519. .popup-btn.cancel {
  520. background-color: #F5F5F5;
  521. color: #666;
  522. }
  523. .popup-btn.confirm {
  524. background-color: #FF9800;
  525. color: #fff;
  526. box-shadow: 0 4rpx 12rpx rgba(255, 152, 0, 0.3);
  527. }