283 lines
14 KiB
HTML
283 lines
14 KiB
HTML
<!DOCTYPE html><html lang="zh-CN" style=""><head>
|
|
<meta charset="utf-8">
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
|
<title>超时订单详情 - 杜康总部管理</title>
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600&family=Inter:wght@400;500;600&family=Manrope:wght@600;700;800&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"error-container": "#ffdad6",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"primary-container": "#a61d24",
|
|
"surface-dim": "#dadad8",
|
|
"on-secondary": "#ffffff",
|
|
"ink-black": "#1A1A1A",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"subtle-gray": "#999999",
|
|
"secondary": "#735c00",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"surface-container": "#efeeec",
|
|
"success-green": "#2D6A4F",
|
|
"on-surface-variant": "#5a413f",
|
|
"background": "#faf9f7",
|
|
"surface-bright": "#faf9f7",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"on-secondary-fixed": "#241a00",
|
|
"surface-container-low": "#f4f3f1",
|
|
"secondary-container": "#fed65b",
|
|
"aged-amber": "#FFBF00",
|
|
"tertiary-container": "#4e5852",
|
|
"outline-variant": "#e2bebc",
|
|
"on-surface": "#1a1c1b",
|
|
"on-primary-fixed": "#410004",
|
|
"on-background": "#1a1c1b",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"tertiary": "#37413b",
|
|
"surface-tint": "#b3272c",
|
|
"outline": "#8d706e",
|
|
"surface": "#faf9f7",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"on-secondary-container": "#745c00",
|
|
"on-error": "#ffffff",
|
|
"inverse-surface": "#2f3130",
|
|
"inverse-primary": "#ffb3ae",
|
|
"on-error-container": "#93000a",
|
|
"on-primary-container": "#ffb9b4",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"surface-container-lowest": "#ffffff",
|
|
"surface-container-high": "#e9e8e6",
|
|
"error": "#ba1a1a",
|
|
"primary": "#820012",
|
|
"on-primary": "#ffffff",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"on-tertiary": "#ffffff",
|
|
"heritage-red": "#A61D24",
|
|
"surface-variant": "#e3e2e0",
|
|
"status-blue": "#2A6EBB"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"gutter-card": "12px",
|
|
"stack-sm": "4px",
|
|
"stack-lg": "32px",
|
|
"margin-page": "20px",
|
|
"stack-md": "16px",
|
|
"base": "8px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"coupon-amount": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"headline-lg": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"label-md": ["Inter"],
|
|
"headline-md": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
vertical-align: middle;
|
|
}
|
|
.notch-left, .notch-right {
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 8px;
|
|
height: 16px;
|
|
background-color: #ffffff;
|
|
transform: translateY(-50%);
|
|
}
|
|
.notch-left { left: -4px; border-radius: 0 8px 8px 0; }
|
|
.notch-right { right: -4px; border-radius: 8px 0 0 8px; }
|
|
|
|
.timeline-line {
|
|
position: absolute;
|
|
left: 7px;
|
|
top: 24px;
|
|
bottom: -8px;
|
|
width: 2px;
|
|
background-color: #e3e2e0;
|
|
}
|
|
.timeline-item:last-child .timeline-line {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-surface min-h-screen pb-32">
|
|
<!-- Top AppBar -->
|
|
<header class="bg-surface sticky top-0 z-50 shadow-sm px-margin-page py-base flex justify-between items-center w-full">
|
|
<div class="flex items-center gap-4">
|
|
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-surface-container-high transition-colors active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined text-heritage-red">arrow_back_ios_new</span>
|
|
</button>
|
|
<h1 class="font-headline-md text-headline-md-mobile text-heritage-red font-bold">超时订单详情</h1>
|
|
</div>
|
|
<div class="flex items-center gap-3">
|
|
<span class="material-symbols-outlined text-on-surface-variant">share</span>
|
|
|
|
</div>
|
|
</header>
|
|
<main class="mt-4 px-margin-page space-y-gutter-card">
|
|
<!-- Overdue Warning Banner -->
|
|
<div class="bg-error-container rounded-xl p-4 flex items-center justify-between overflow-hidden relative">
|
|
<div class="z-10">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="material-symbols-outlined text-error" style="font-variation-settings: 'FILL' 1;">warning</span>
|
|
<span class="font-headline-md text-headline-md-mobile text-error font-bold">已超时 48.2小时</span>
|
|
</div>
|
|
<p class="font-body-md text-body-md text-on-error-container opacity-80">当前状态:待配送 (紧急程度:高)</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-error opacity-10 text-8xl absolute -right-4 -bottom-4 select-none">timer_off</span>
|
|
</div>
|
|
<!-- Order Info Card -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5">
|
|
<div class="flex justify-between items-start mb-4">
|
|
<h3 class="font-headline-md text-headline-md-mobile font-bold text-ink-black">订单信息</h3>
|
|
<span class="font-label-md text-label-md bg-heritage-red text-white px-2 py-1 rounded-lg">DK-20231024-001</span>
|
|
</div>
|
|
<div class="space-y-3">
|
|
<div class="flex justify-between items-center">
|
|
<span class="font-body-md text-body-md text-subtle-gray">下单时间</span>
|
|
<span class="font-body-md text-body-md text-on-surface">2023-10-24 14:20:05</span>
|
|
</div>
|
|
<div class="flex justify-between items-center">
|
|
<span class="font-body-md text-body-md text-subtle-gray">客户姓名</span>
|
|
<span class="font-body-md text-body-md text-on-surface font-semibold">张先生 (138****8888)</span>
|
|
</div>
|
|
<div class="flex items-start gap-4">
|
|
<span class="font-body-md text-body-md text-subtle-gray shrink-0">配送地址</span>
|
|
<span class="font-body-md text-body-md text-on-surface text-right">河南省郑州市金水区未来路街道某某写字楼A座 1205室</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Product Info Card -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5">
|
|
<div class="flex gap-4">
|
|
<div class="w-24 h-24 rounded-lg bg-surface-container-low overflow-hidden shrink-0 border border-outline-variant/10">
|
|
<img class="w-full h-full object-cover" data-alt="A professional studio product shot of a premium Chinese Baijiu bottle, Dukang Baishui Guniang, featuring elegant calligraphy on the label and a gold-accented cap. The lighting is sophisticated and warm, highlighting the crystalline clarity of the spirit and the artisanal glass design, set against a minimalist light cream background consistent with high-end editorial aesthetics." src="https://lh3.googleusercontent.com/aida-public/AB6AXuDfXjth3i9WBJlGKkG7-uj3mpoXSZUt2YSYq_85_d0JzJsOZPNTizEDtSATcX_MFC0gPo6nMuOomujz9pj9Bcuqns8yNaL9fptXCKqP0UsUTjQ6Qafk1gowWGBGvpC2sd96Kyq-q7kh-Wr8gV7dpKGdi9ubTyReWl43Ehk2CZ_MHz0OEVSTqs-IUhkkGj71UT9L-uGsdw0XJlsDFXQwu7x446VGRbz48wrx-ZDxnj2Tr18xrNcC1aAdFBiO1bB4l0q6GJo5LEt8h2I">
|
|
</div>
|
|
<div class="flex-1 flex flex-col justify-between">
|
|
<div>
|
|
<h4 class="font-headline-md text-headline-md-mobile text-ink-black">杜康·白水古酿 500ml</h4>
|
|
<p class="font-body-md text-body-md text-subtle-gray">数量: x2</p>
|
|
</div>
|
|
<div class="flex justify-between items-end">
|
|
<span class="font-headline-md text-headline-md-mobile text-heritage-red font-bold">¥1,198.00</span>
|
|
<!-- Amber Coupon Badge -->
|
|
<div class="bg-aged-amber text-on-secondary px-3 py-1 text-xs font-bold rounded-sm relative inline-flex items-center">
|
|
<div class="notch-left"></div>
|
|
<span class="font-label-md text-label-md">享 ¥400 好客权益</span>
|
|
<div class="notch-right"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Partner & Warehouse Card -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5">
|
|
<h3 class="font-headline-md text-headline-md-mobile font-bold text-ink-black mb-4">履约合伙人</h3>
|
|
<div class="flex items-center gap-4 p-3 bg-surface-container-low rounded-xl">
|
|
<div class="w-12 h-12 bg-primary-fixed flex items-center justify-center rounded-full text-heritage-red">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">warehouse</span>
|
|
</div>
|
|
<div class="flex-1">
|
|
<p class="font-body-lg text-body-lg font-semibold text-on-surface">郑州城市运营中心</p>
|
|
<p class="font-label-md text-label-md text-subtle-gray">运营城市:郑州</p>
|
|
</div>
|
|
<div class="text-right">
|
|
<p class="font-body-md text-body-md font-medium text-on-surface">王经理</p>
|
|
<p class="font-label-md text-label-md text-heritage-red">135****6666</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Timeline / Log -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5">
|
|
<h3 class="font-headline-md text-headline-md-mobile font-bold text-ink-black mb-6">流转日志</h3>
|
|
<div class="space-y-6 relative">
|
|
<!-- Step 1 (Current/Overdue) -->
|
|
<div class="timeline-item flex gap-4 relative">
|
|
<div class="timeline-line"></div>
|
|
<div class="w-4 h-4 rounded-full bg-heritage-red border-4 border-primary-fixed shrink-0 z-10 animate-pulse"></div>
|
|
<div class="flex-1 -mt-1">
|
|
<p class="font-body-md text-body-md font-bold text-heritage-red">订单已分配至郑州仓 (超时未响应)</p>
|
|
<p class="font-label-md text-label-md text-subtle-gray">2023-10-24 16:30:12</p>
|
|
</div>
|
|
</div>
|
|
<!-- Step 2 -->
|
|
<div class="timeline-item flex gap-4 relative">
|
|
<div class="timeline-line"></div>
|
|
<div class="w-4 h-4 rounded-full bg-outline-variant shrink-0 z-10"></div>
|
|
<div class="flex-1 -mt-1">
|
|
<p class="font-body-md text-body-md font-medium text-on-surface">支付成功</p>
|
|
<p class="font-label-md text-label-md text-subtle-gray">2023-10-24 14:25:40</p>
|
|
</div>
|
|
</div>
|
|
<!-- Step 3 -->
|
|
<div class="timeline-item flex gap-4 relative">
|
|
<div class="timeline-line"></div>
|
|
<div class="w-4 h-4 rounded-full bg-outline-variant shrink-0 z-10"></div>
|
|
<div class="flex-1 -mt-1">
|
|
<p class="font-body-md text-body-md font-medium text-on-surface">订单生成</p>
|
|
<p class="font-label-md text-label-md text-subtle-gray">2023-10-24 14:20:05</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<!-- Action Buttons (Fixed at bottom) -->
|
|
<footer class="fixed bottom-0 left-0 w-full bg-surface-container-lowest shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] px-margin-page py-4 flex gap-4 z-50">
|
|
<button class="flex-1 h-12 border border-heritage-red text-heritage-red rounded-xl font-headline-md text-headline-md-mobile flex items-center justify-center gap-2 active:scale-95 transition-transform">
|
|
<span class="material-symbols-outlined text-xl">contact_phone</span>
|
|
联系合伙人</button>
|
|
<button class="flex-[1.5] h-12 bg-heritage-red text-white rounded-xl font-headline-md text-headline-md-mobile flex items-center justify-center gap-2 active:scale-95 transition-transform shadow-lg shadow-heritage-red/20">
|
|
<span class="material-symbols-outlined text-xl">notification_important</span>
|
|
立即指派/催单
|
|
</button>
|
|
</footer>
|
|
<script>
|
|
// Micro-interactions for buttons
|
|
document.querySelectorAll('button').forEach(btn => {
|
|
btn.addEventListener('click', () => {
|
|
const originalBg = btn.style.backgroundColor;
|
|
btn.classList.add('brightness-90');
|
|
setTimeout(() => {
|
|
btn.classList.remove('brightness-90');
|
|
}, 150);
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body></html> |