配送员配送任务.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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, #ee0a24 0%, #ff976a 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.red { color: #ee0a24; }
  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: #ee0a24; 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.info { background: #e6f7ff; color: #1989fa; }
  32. .task-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  33. .task-row { display: flex; align-items: flex-start; font-size: 14px; color: #666; }
  34. .task-row .icon { margin-right: 8px; }
  35. .task-footer { display: flex; gap: 12px; }
  36. .action-btn { flex: 1; padding: 10px; border-radius: 20px; font-size: 14px; text-align: center; }
  37. .action-btn.primary { background: #ee0a24; color: #fff; border: none; }
  38. .action-btn.default { background: #fff; color: #666; border: 1px solid #ddd; }
  39. </style>
  40. </head>
  41. <body>
  42. <div class="phone-container">
  43. <div class="page-header">
  44. <button class="back-btn" onclick="history.back()">&#8249;</button>
  45. <h2>配送任务</h2>
  46. </div>
  47. <div class="content">
  48. <div class="stats-row">
  49. <div class="stats-item">
  50. <div class="stats-num orange">2</div>
  51. <div class="stats-label">待取货</div>
  52. </div>
  53. <div class="stats-item">
  54. <div class="stats-num red">3</div>
  55. <div class="stats-label">配送中</div>
  56. </div>
  57. <div class="stats-item">
  58. <div class="stats-num green">45</div>
  59. <div class="stats-label">已完成</div>
  60. </div>
  61. </div>
  62. <div class="tab-bar">
  63. <div class="tab active">待取货</div>
  64. <div class="tab">配送中</div>
  65. <div class="tab">已完成</div>
  66. </div>
  67. <div class="task-card">
  68. <div class="task-header">
  69. <span class="task-no">DLV202603190001</span>
  70. <span class="status-tag warning">待取货</span>
  71. </div>
  72. <div class="task-info">
  73. <div class="task-row"><span class="icon">&#127984;</span><span>XX餐厅 | 13800138001</span></div>
  74. <div class="task-row"><span class="icon">&#128205;</span><span>城东区XX路XX号</span></div>
  75. <div class="task-row"><span class="icon">&#128722;</span><span>新鲜猪肉10斤、新鲜蔬菜20斤...</span></div>
  76. </div>
  77. <div class="task-footer">
  78. <button class="action-btn default">查看详情</button>
  79. <button class="action-btn primary">确认取货</button>
  80. </div>
  81. </div>
  82. <div class="task-card">
  83. <div class="task-header">
  84. <span class="task-no">DLV202603190002</span>
  85. <span class="status-tag warning">待取货</span>
  86. </div>
  87. <div class="task-info">
  88. <div class="task-row"><span class="icon">&#127984;</span><span>YY超市 | 13900009999</span></div>
  89. <div class="task-row"><span class="icon">&#128205;</span><span>城西区YY路YY号</span></div>
  90. <div class="task-row"><span class="icon">&#128722;</span><span>新鲜水果15斤、大米20斤...</span></div>
  91. </div>
  92. <div class="task-footer">
  93. <button class="action-btn default">查看详情</button>
  94. <button class="action-btn primary">确认取货</button>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </body>
  100. </html>