sanqiang-supplier-ui-demo.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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;
  10. --green-dark: #087f57;
  11. --yellow: #d6a343;
  12. --bg: #f3f7f5;
  13. --card: #ffffff;
  14. --text: #1f2a26;
  15. --muted: #6f7e77;
  16. --border: #d9e9e1;
  17. --warn: #cf8a19;
  18. --ok: #189b65;
  19. --shadow: 0 8px 20px rgba(10, 159, 109, 0.1);
  20. }
  21. * { box-sizing: border-box; margin: 0; padding: 0; }
  22. body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
  23. .phone { max-width: 420px; margin: 0 auto; min-height: 100vh; padding-bottom: 20px; }
  24. .header {
  25. background: linear-gradient(145deg, var(--green-dark), var(--green));
  26. border-bottom-left-radius: 24px; border-bottom-right-radius: 24px;
  27. color: #fff; padding: 16px;
  28. box-shadow: var(--shadow);
  29. }
  30. .topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  31. .topline h1 { font-size: 18px; font-weight: 700; }
  32. .logout { min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.4); display: inline-flex; align-items: center; font-size: 12px; }
  33. .merchant { display: flex; gap: 12px; align-items: center; }
  34. .avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); }
  35. .merchant p { font-size: 12px; opacity: 0.9; margin-top: 2px; }
  36. .stats {
  37. margin: -14px 16px 12px; background: var(--card); border-radius: 16px; border: 1px solid var(--border);
  38. display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 8px;
  39. }
  40. .stat { text-align: center; }
  41. .stat strong { font-size: 20px; color: var(--green-dark); display: block; }
  42. .stat span { font-size: 11px; color: var(--muted); }
  43. .section { margin: 12px 16px; }
  44. .title { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
  45. .title h2 { font-size: 16px; }
  46. .title a { color: var(--muted); font-size: 12px; }
  47. .tools {
  48. background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px;
  49. display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  50. }
  51. .tool { min-height: 74px; border-radius: 12px; background: #f8fcfa; border: 1px solid #e8f3ee; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; gap: 6px; text-align: center; }
  52. .icon { width: 24px; height: 24px; border-radius: 8px; background: #dff1e8; }
  53. .tasks { display: flex; flex-direction: column; gap: 10px; }
  54. .task {
  55. background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px;
  56. box-shadow: 0 4px 12px rgba(10, 159, 109, 0.06);
  57. }
  58. .task-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
  59. .task-no { font-size: 13px; font-weight: 600; }
  60. .tag { min-height: 26px; padding: 0 10px; border-radius: 13px; display: inline-flex; align-items: center; font-size: 11px; }
  61. .tag.pending { background: #fff4dd; color: var(--warn); }
  62. .tag.stocking { background: #e9f9f2; color: var(--ok); }
  63. .line { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
  64. .goods { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0 10px; }
  65. .goods-item { width: 96px; flex: 0 0 auto; border: 1px solid #e8f3ee; border-radius: 10px; overflow: hidden; background: #fff; }
  66. .goods-img { height: 56px; background: linear-gradient(145deg, #f4faf7, #e9f4ef); border-bottom: 1px solid #e8f3ee; }
  67. .goods-txt { padding: 6px; font-size: 11px; color: #4f5f58; }
  68. .foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
  69. .money { color: #be7a12; font-weight: 700; font-size: 16px; }
  70. .btn { min-height: 34px; padding: 0 12px; border-radius: 17px; background: var(--green); color: #fff; display: inline-flex; align-items: center; font-size: 12px; }
  71. </style>
  72. </head>
  73. <body>
  74. <main class="phone">
  75. <header class="header">
  76. <div class="topline">
  77. <h1>供应商工作台</h1>
  78. <span class="logout">退出登录</span>
  79. </div>
  80. <div class="merchant">
  81. <div class="avatar"></div>
  82. <div>
  83. <strong>陇耘鲜达 - 福田供应站</strong>
  84. <p>区域:深圳市福田区</p>
  85. </div>
  86. </div>
  87. </header>
  88. <section class="stats">
  89. <article class="stat"><strong>18</strong><span>待报价询价单</span></article>
  90. <article class="stat"><strong>42</strong><span>我的报价</span></article>
  91. <article class="stat"><strong>9</strong><span>待备货任务</span></article>
  92. </section>
  93. <section class="section">
  94. <div class="title"><h2>常用功能</h2></div>
  95. <div class="tools">
  96. <article class="tool"><div class="icon"></div><span>询价单</span></article>
  97. <article class="tool"><div class="icon"></div><span>我的报价</span></article>
  98. <article class="tool"><div class="icon"></div><span>备货任务</span></article>
  99. <article class="tool"><div class="icon"></div><span>价格清单</span></article>
  100. <article class="tool"><div class="icon"></div><span>取货地址</span></article>
  101. <article class="tool"><div class="icon"></div><span>库存预警</span></article>
  102. <article class="tool"><div class="icon"></div><span>售后处理</span></article>
  103. <article class="tool"><div class="icon"></div><span>联系客服</span></article>
  104. </div>
  105. </section>
  106. <section class="section">
  107. <div class="title"><h2>待处理备货任务</h2><a>查看全部</a></div>
  108. <div class="tasks">
  109. <article class="task">
  110. <div class="task-h"><span class="task-no">任务号:PS20260417001</span><span class="tag pending">待备货</span></div>
  111. <div class="line"><span>配送员:刘师傅 138****3392</span><span>截止 09:30</span></div>
  112. <div class="goods">
  113. <div class="goods-item"><div class="goods-img"></div><div class="goods-txt">有机生菜 x30</div></div>
  114. <div class="goods-item"><div class="goods-img"></div><div class="goods-txt">圣女果 x20</div></div>
  115. <div class="goods-item"><div class="goods-img"></div><div class="goods-txt">土鸡蛋 x10</div></div>
  116. </div>
  117. <div class="foot"><span>共 60 件</span><span class="money">¥2,360.00</span><span class="btn">开始备货</span></div>
  118. </article>
  119. <article class="task">
  120. <div class="task-h"><span class="task-no">任务号:PS20260417002</span><span class="tag stocking">备货中</span></div>
  121. <div class="line"><span>配送员:王师傅 136****9021</span><span>截止 10:00</span></div>
  122. <div class="goods">
  123. <div class="goods-item"><div class="goods-img"></div><div class="goods-txt">精品黄瓜 x25</div></div>
  124. <div class="goods-item"><div class="goods-img"></div><div class="goods-txt">胡萝卜 x18</div></div>
  125. </div>
  126. <div class="foot"><span>完成度 68%</span><span class="money">¥1,140.00</span><span class="btn">查看详情</span></div>
  127. </article>
  128. </div>
  129. </section>
  130. </main>
  131. </body>
  132. </html>