供应商取货任务.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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">
  6. <title>叁强鲜配 - 供应商取货任务</title>
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@3/lib/index.css">
  8. <style>
  9. * { margin: 0; padding: 0; box-sizing: border-box; }
  10. body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif; background: #f5f5f5; color: #333; }
  11. .phone-container { max-width: 414px; margin: 20px auto; background: #fff; border-radius: 40px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); min-height: 850px; }
  12. .page-header { padding: 24px 20px; color: #fff; background: linear-gradient(135deg, #ff976a 0%, #ff4444 100%); }
  13. .page-header h2 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
  14. .back-btn { color: #fff; background: none; border: none; font-size: 24px; margin-bottom: 12px; }
  15. .content { padding: 16px; }
  16. .stats-row { display: flex; justify-content: space-around; padding: 20px; background: #fff; border-radius: 12px; margin-bottom: 12px; }
  17. .stats-item { text-align: center; }
  18. .stats-num { font-size: 28px; font-weight: 600; }
  19. .stats-num.orange { color: #ff976a; }
  20. .stats-num.green { color: #07c160; }
  21. .stats-num.blue { color: #1989fa; }
  22. .stats-label { font-size: 12px; color: #999; margin-top: 4px; }
  23. .tab-bar { display: flex; background: #fff; padding: 12px; gap: 8px; margin-bottom: 12px; border-radius: 8px; }
  24. .tab { flex: 1; text-align: center; padding: 10px; font-size: 14px; color: #666; background: #f5f5f5; border-radius: 20px; }
  25. .tab.active { background: #ff976a; color: #fff; }
  26. .task-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
  27. .task-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  28. .task-no { font-size: 14px; font-weight: 500; }
  29. .status-tag { padding: 4px 10px; border-radius: 4px; font-size: 12px; }
  30. .status-tag.warning { background: #fff7e6; color: #ff976a; }
  31. .status-tag.success { background: #f6ffed; color: #07c160; }
  32. .status-tag.info { background: #f5f5f5; color: #999; }
  33. .task-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  34. .task-row { display: flex; align-items: flex-start; font-size: 14px; color: #666; }
  35. .task-row .icon { margin-right: 8px; }
  36. .task-footer { display: flex; gap: 12px; }
  37. .action-btn { flex: 1; padding: 10px; border-radius: 20px; font-size: 14px; text-align: center; }
  38. .action-btn.primary { background: #ff976a; color: #fff; border: none; }
  39. .action-btn.default { background: #fff; color: #ff976a; border: 1px solid #ff976a; }
  40. </style>
  41. </head>
  42. <body>
  43. <div class="phone-container">
  44. <div class="page-header">
  45. <button class="back-btn" onclick="history.back()">&#8249;</button>
  46. <h2>取货任务</h2>
  47. </div>
  48. <div class="content">
  49. <div class="stats-row">
  50. <div class="stats-item">
  51. <div class="stats-num orange">3</div>
  52. <div class="stats-label">待取货</div>
  53. </div>
  54. <div class="stats-item">
  55. <div class="stats-num green">5</div>
  56. <div class="stats-label">已取货</div>
  57. </div>
  58. <div class="stats-item">
  59. <div class="stats-num blue">28</div>
  60. <div class="stats-label">历史</div>
  61. </div>
  62. </div>
  63. <div class="tab-bar">
  64. <div class="tab active">待取货</div>
  65. <div class="tab">已取货</div>
  66. <div class="tab">历史</div>
  67. </div>
  68. <div class="task-card">
  69. <div class="task-header">
  70. <span class="task-no">ORD202603190001</span>
  71. <span class="status-tag warning">待取货</span>
  72. </div>
  73. <div class="task-info">
  74. <div class="task-row"><span class="icon">&#127984;</span><span>XX餐厅 | 13800138001</span></div>
  75. <div class="task-row"><span class="icon">&#128205;</span><span>城东区XX路XX号</span></div>
  76. <div class="task-row"><span class="icon">&#128722;</span><span>新鲜猪肉10斤、新鲜蔬菜20斤...</span></div>
  77. </div>
  78. <div class="task-footer">
  79. <button class="action-btn default">查看详情</button>
  80. <button class="action-btn primary">确认取货</button>
  81. </div>
  82. </div>
  83. <div class="task-card">
  84. <div class="task-header">
  85. <span class="task-no">ORD202603190002</span>
  86. <span class="status-tag warning">待取货</span>
  87. </div>
  88. <div class="task-info">
  89. <div class="task-row"><span class="icon">&#127984;</span><span>YY超市 | 13900009999</span></div>
  90. <div class="task-row"><span class="icon">&#128205;</span><span>城西区YY路YY号</span></div>
  91. <div class="task-row"><span class="icon">&#128722;</span><span>新鲜水果15斤、大米20斤...</span></div>
  92. </div>
  93. <div class="task-footer">
  94. <button class="action-btn default">查看详情</button>
  95. <button class="action-btn primary">确认取货</button>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </body>
  101. </html>