配送时效预警.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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://unpkg.com/element-plus/dist/index.css">
  8. <link rel="stylesheet" href="https://unpkg.com/@element-plus/icons-vue/dist/index.css">
  9. <style>
  10. * { margin: 0; padding: 0; box-sizing: border-box; }
  11. body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f7fa; color: #303133; }
  12. .topbar { height: 60px; background: linear-gradient(135deg, #1989fa 0%, #07c160 100%); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: white; }
  13. .topbar-logo h1 { font-size: 22px; font-weight: 600; }
  14. .topbar-logo span { font-size: 13px; opacity: 0.85; }
  15. .topbar-user { display: flex; align-items: center; gap: 16px; }
  16. .main-container { display: flex; min-height: calc(100vh - 60px); }
  17. .sidebar { width: 220px; background: #fff; border-right: 1px solid #e4e7ed; padding: 16px 0; }
  18. .menu-item { padding: 14px 24px; cursor: pointer; display: flex; align-items: center; gap: 12px; color: #606266; font-size: 14px; }
  19. .menu-item:hover { background: #f5f7fa; color: #1989fa; }
  20. .menu-item.active { background: #ecf5ff; color: #1989fa; border-right: 3px solid #1989fa; }
  21. .content { flex: 1; padding: 24px; }
  22. .breadcrumb { font-size: 13px; color: #909399; margin-bottom: 8px; }
  23. .card { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
  24. .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #ebeef5; }
  25. .card-title { font-size: 16px; font-weight: 600; }
  26. .status-tag { padding: 4px 12px; border-radius: 4px; font-size: 12px; }
  27. .status-tag.danger { background: #fef0f0; color: #ee0a24; }
  28. .status-tag.warning { background: #fdf6ec; color: #ff976a; }
  29. .warning-card { background: #fef0f0; border: 2px solid #ffccc7; border-radius: 12px; padding: 20px; margin-bottom: 16px; }
  30. .warning-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  31. .warning-info h4 { font-size: 16px; color: #ee0a24; margin-bottom: 8px; }
  32. .warning-info p { font-size: 13px; color: #666; }
  33. .countdown { font-size: 28px; font-weight: 700; color: #ee0a24; }
  34. </style>
  35. </head>
  36. <body>
  37. <div class="topbar">
  38. <div class="topbar-logo"><h1>叁强鲜配</h1><span>运营管理后台</span></div>
  39. <div class="topbar-user"><el-avatar :size="32" style="background:#fff;color:#1989fa;">管</el-avatar><span>管理员</span></div>
  40. </div>
  41. <div class="main-container">
  42. <div class="sidebar">
  43. <div class="menu-item"><el-icon><DataAnalysis /></el-icon><span>首页</span></div>
  44. <div class="menu-item"><el-icon><User /></el-icon><span>用户管理</span></div>
  45. <div class="menu-item"><el-icon><Location /></el-icon><span>区域管理</span></div>
  46. <div class="menu-item"><el-icon><Goods /></el-icon><span>商品管理</span></div>
  47. <div class="menu-item"><el-icon><Search /></el-icon><span>询价管理</span></div>
  48. <div class="menu-item"><el-icon><Ticket /></el-icon><span>报价管理</span></div>
  49. <div class="menu-item"><el-icon><PriceTag /></el-icon><span>价格管理</span></div>
  50. <div class="menu-item"><el-icon><ShoppingCart /></el-icon><span>订单管理</span></div>
  51. <div class="menu-item active"><el-icon><Van /></el-icon><span>配送管理</span></div>
  52. <div class="menu-item"><el-icon><Wallet /></el-icon><span>结算管理</span></div>
  53. </div>
  54. <div class="content">
  55. <div class="breadcrumb">配送管理 / 时效预警</div>
  56. <div class="card">
  57. <div class="card-header"><span class="card-title">即将过期配送单(1小时内)</span><span style="color:#ee0a24;font-weight:600;">共 3 单</span></div>
  58. <div class="warning-card">
  59. <div class="warning-header">
  60. <div class="warning-info">
  61. <h4>DLV20260319005</h4>
  62. <p>订单ORD202603150023 | 客户:AA饭店 | 区域:城东</p>
  63. </div>
  64. <div class="countdown">还剩 12 分钟</div>
  65. </div>
  66. <div style="display:flex;gap:12px;">
  67. <el-button type="primary" size="small">联系配送员</el-button>
  68. <el-button type="warning" size="small">查看详情</el-button>
  69. </div>
  70. </div>
  71. <div class="warning-card">
  72. <div class="warning-header">
  73. <div class="warning-info">
  74. <h4>DLV20260319008</h4>
  75. <p>订单ORD202603160035 | 客户:BB商店 | 区域:城西</p>
  76. </div>
  77. <div class="countdown">还剩 28 分钟</div>
  78. </div>
  79. <div style="display:flex;gap:12px;">
  80. <el-button type="primary" size="small">联系配送员</el-button>
  81. <el-button type="warning" size="small">查看详情</el-button>
  82. </div>
  83. </div>
  84. <div class="warning-card">
  85. <div class="warning-header">
  86. <div class="warning-info">
  87. <h4>DLV20260319012</h4>
  88. <p>订单ORD202603170042 | 客户:CC商行 | 区域:城南</p>
  89. </div>
  90. <div class="countdown">还剩 45 分钟</div>
  91. </div>
  92. <div style="display:flex;gap:12px;">
  93. <el-button type="primary" size="small">联系配送员</el-button>
  94. <el-button type="warning" size="small">查看详情</el-button>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
  101. <script src="https://unpkg.com/element-plus"></script>
  102. <script src="https://unpkg.com/@element-plus/icons-vue"></script>
  103. <script>
  104. const { createApp } = Vue;
  105. const app = createApp({ setup() { return {}; } });
  106. app.use(ElementPlus);
  107. for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component); }
  108. app.mount('#app');
  109. </script>
  110. </body>
  111. </html>