sanqiang-client-profile-ui-demo.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  6. <title>陇耘鲜达 - 客户端个人中心UI Demo</title>
  7. <style>
  8. :root {
  9. --green: #0a9f6d; --yellow: #d6a343; --bg: #f5f8f7; --card: #fff;
  10. --text: #1f2a26; --muted: #6b7b74; --border: #dcebe4;
  11. }
  12. * { box-sizing: border-box; margin: 0; padding: 0; }
  13. body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; background: var(--bg); color: var(--text); }
  14. .phone { max-width: 420px; margin: 0 auto; min-height: 100vh; padding-bottom: 20px; }
  15. .header {
  16. background: linear-gradient(145deg, #0a9f6d, #11b37a);
  17. color: #fff; padding: 16px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;
  18. }
  19. .user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  20. .avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.22); }
  21. .name { font-size: 18px; font-weight: 700; }
  22. .lv { margin-top: 2px; font-size: 12px; opacity: 0.9; }
  23. .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  24. .s { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; padding: 10px 8px; text-align: center; }
  25. .s strong { display: block; font-size: 18px; }
  26. .s span { font-size: 11px; opacity: 0.95; }
  27. .section { margin: 12px 16px; }
  28. .card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
  29. .row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf5f1; }
  30. .row:last-child { border-bottom: none; }
  31. .left { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  32. .ico { width: 26px; height: 26px; border-radius: 8px; background: #e4f6ef; }
  33. .arrow { color: #9ba8a2; font-size: 14px; }
  34. .coupon { margin-top: 12px; border-radius: 14px; border: 1px solid #f2dfb8; background: #fff7e8; padding: 12px; color: #8c6b2d; display: flex; align-items: center; justify-content: space-between; }
  35. .coupon strong { font-size: 16px; }
  36. .logout { margin-top: 12px; min-height: 44px; border-radius: 22px; background: var(--yellow); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
  37. </style>
  38. </head>
  39. <body>
  40. <main class="phone">
  41. <header class="header">
  42. <div class="user">
  43. <div class="avatar"></div>
  44. <div>
  45. <div class="name">王女士</div>
  46. <div class="lv">叁强会员 · 已服务 128 天</div>
  47. </div>
  48. </div>
  49. <div class="stats">
  50. <div class="s"><strong>26</strong><span>全部订单</span></div>
  51. <div class="s"><strong>3</strong><span>待收货</span></div>
  52. <div class="s"><strong>8</strong><span>优惠券</span></div>
  53. </div>
  54. </header>
  55. <section class="section">
  56. <article class="card">
  57. <div class="row"><div class="left"><span class="ico"></span><span>收货地址管理</span></div><span class="arrow">&gt;</span></div>
  58. <div class="row"><div class="left"><span class="ico"></span><span>发票管理</span></div><span class="arrow">&gt;</span></div>
  59. <div class="row"><div class="left"><span class="ico"></span><span>结算记录</span></div><span class="arrow">&gt;</span></div>
  60. <div class="row"><div class="left"><span class="ico"></span><span>退款记录</span></div><span class="arrow">&gt;</span></div>
  61. <div class="row"><div class="left"><span class="ico"></span><span>联系客服</span></div><span class="arrow">&gt;</span></div>
  62. </article>
  63. <div class="coupon"><span>可用优惠券</span><strong>8 张</strong></div>
  64. <div class="logout">退出登录</div>
  65. </section>
  66. </main>
  67. </body>
  68. </html>