配送员任务详情.html 6.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. .status-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: linear-gradient(135deg, #ee0a24 0%, #ff4444 100%); color: #fff; border-radius: 12px; margin-bottom: 16px; }
  17. .status-text { font-size: 18px; font-weight: 600; }
  18. .status-time { font-size: 14px; opacity: 0.9; }
  19. .info-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
  20. .info-title { font-size: 14px; color: #999; margin-bottom: 12px; }
  21. .info-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
  22. .info-label { color: #666; }
  23. .info-value { color: #333; font-weight: 500; }
  24. .divider { height: 1px; background: #f5f5f5; margin: 12px 0; }
  25. .section-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding-left: 8px; border-left: 3px solid #ee0a24; }
  26. .product-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
  27. .product-item:last-child { border-bottom: none; }
  28. .product-name { color: #333; }
  29. .product-qty { color: #999; }
  30. .action-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 414px; padding: 16px; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.1); display: flex; gap: 12px; }
  31. .action-btn { flex: 1; height: 44px; border-radius: 22px; font-size: 15px; text-align: center; border: none; }
  32. .action-btn.primary { background: #ee0a24; color: #fff; }
  33. .action-btn.default { background: #fff; color: #666; border: 1px solid #ddd; }
  34. </style>
  35. </head>
  36. <body>
  37. <div class="phone-container">
  38. <div class="page-header">
  39. <button class="back-btn" onclick="history.back()">&#8249;</button>
  40. <h2>任务详情</h2>
  41. </div>
  42. <div class="content" style="padding-bottom:80px;">
  43. <div class="status-bar">
  44. <div>
  45. <div class="status-text">配送中</div>
  46. <div class="status-time">预计 14:30 送达</div>
  47. </div>
  48. <div style="font-size:40px;">&#127954;</div>
  49. </div>
  50. <div class="info-card">
  51. <div class="info-title">配送信息</div>
  52. <div class="info-row"><span class="info-label">配送单号</span><span class="info-value">DLV202603190001</span></div>
  53. <div class="info-row"><span class="info-label">订单编号</span><span class="info-value">ORD202603190001</span></div>
  54. <div class="divider"></div>
  55. <div class="info-title" style="margin-top:12px;">取货地址</div>
  56. <div class="info-row"><span class="info-label">供应商</span><span class="info-value">XX供应商</span></div>
  57. <div class="info-row"><span class="info-label">联系电话</span><span class="info-value">13800138001</span></div>
  58. <div class="info-row"><span class="info-label">取货地址</span><span class="info-value">城东区XX路XX号</span></div>
  59. <div class="divider"></div>
  60. <div class="info-title" style="margin-top:12px;">收货地址</div>
  61. <div class="info-row"><span class="info-label">客户名称</span><span class="info-value">AA餐厅</span></div>
  62. <div class="info-row"><span class="info-label">联系电话</span><span class="info-value">13900009999</span></div>
  63. <div class="info-row"><span class="info-label">收货地址</span><span class="info-value">城东区YY路YY号</span></div>
  64. </div>
  65. <div class="info-card">
  66. <div class="section-title">商品清单</div>
  67. <div class="product-item"><span class="product-name">新鲜猪肉</span><span class="product-qty">x10斤</span></div>
  68. <div class="product-item"><span class="product-name">新鲜蔬菜</span><span class="product-qty">x5斤</span></div>
  69. <div class="product-item"><span class="product-name">新鲜鸡肉</span><span class="product-qty">x3斤</span></div>
  70. <div class="product-item"><span class="product-name">新鲜水果</span><span class="product-qty">x8斤</span></div>
  71. </div>
  72. <div class="info-card">
  73. <div class="section-title">配送凭证</div>
  74. <div style="display:flex;gap:8px;">
  75. <div style="width:80px;height:80px;background:#f5f5f5;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:32px;">&#128247;</div>
  76. <div style="width:80px;height:80px;background:#f5f5f5;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:32px;">&#128247;</div>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="action-bar">
  81. <button class="action-btn default">联系客户</button>
  82. <button class="action-btn primary">确认送达</button>
  83. </div>
  84. </div>
  85. </body>
  86. </html>