312 lines
16 KiB
HTML
312 lines
16 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=Manrope:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Be+Vietnam+Pro:wght@400;500;600&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">
|
||
<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": {
|
||
"tertiary": "#37413b",
|
||
"on-tertiary-container": "#c2cdc6",
|
||
"subtle-gray": "#999999",
|
||
"inverse-on-surface": "#f1f1ef",
|
||
"primary-fixed": "#ffdad7",
|
||
"tertiary-fixed": "#dae5dd",
|
||
"aged-amber": "#FFBF00",
|
||
"on-secondary-fixed": "#241a00",
|
||
"on-surface": "#1a1c1b",
|
||
"on-background": "#1a1c1b",
|
||
"on-primary": "#ffffff",
|
||
"surface-container-highest": "#e3e2e0",
|
||
"surface-container-high": "#e9e8e6",
|
||
"surface-dim": "#dadad8",
|
||
"primary-fixed-dim": "#ffb3ae",
|
||
"on-secondary-container": "#745c00",
|
||
"background": "#faf9f7",
|
||
"secondary-fixed": "#ffe088",
|
||
"secondary-container": "#fed65b",
|
||
"on-secondary": "#ffffff",
|
||
"surface-container-low": "#f4f3f1",
|
||
"outline-variant": "#e2bebc",
|
||
"tertiary-container": "#4e5852",
|
||
"on-error-container": "#93000a",
|
||
"secondary": "#735c00",
|
||
"on-primary-container": "#ffb9b4",
|
||
"surface-container": "#efeeec",
|
||
"surface-bright": "#faf9f7",
|
||
"secondary-fixed-dim": "#e9c349",
|
||
"inverse-primary": "#ffb3ae",
|
||
"surface-variant": "#e3e2e0",
|
||
"on-surface-variant": "#5a413f",
|
||
"on-secondary-fixed-variant": "#574500",
|
||
"error-container": "#ffdad6",
|
||
"surface": "#faf9f7",
|
||
"outline": "#8d706e",
|
||
"surface-tint": "#b3272c",
|
||
"primary-container": "#a61d24",
|
||
"primary": "#820012",
|
||
"tertiary-fixed-dim": "#bec9c2",
|
||
"on-tertiary-fixed": "#141e19",
|
||
"ink-black": "#1A1A1A",
|
||
"on-tertiary-fixed-variant": "#3f4943",
|
||
"on-tertiary": "#ffffff",
|
||
"on-primary-fixed": "#410004",
|
||
"heritage-red": "#A61D24",
|
||
"success-green": "#2D6A4F",
|
||
"on-primary-fixed-variant": "#910817",
|
||
"inverse-surface": "#2f3130",
|
||
"error": "#ba1a1a",
|
||
"on-error": "#ffffff",
|
||
"surface-container-lowest": "#ffffff",
|
||
"status-blue": "#2A6EBB"
|
||
},
|
||
"borderRadius": {
|
||
"DEFAULT": "0.25rem",
|
||
"lg": "0.5rem",
|
||
"xl": "0.75rem",
|
||
"full": "9999px"
|
||
},
|
||
"spacing": {
|
||
"stack-md": "16px",
|
||
"base": "8px",
|
||
"stack-lg": "32px",
|
||
"margin-page": "20px",
|
||
"stack-sm": "4px",
|
||
"gutter-card": "12px"
|
||
},
|
||
"fontFamily": {
|
||
"headline-lg": ["Manrope"],
|
||
"headline-xl": ["Manrope"],
|
||
"headline-lg-mobile": ["Manrope"],
|
||
"label-md": ["Inter"],
|
||
"coupon-amount": ["Manrope"],
|
||
"body-md": ["Be Vietnam Pro"],
|
||
"headline-md": ["Manrope"],
|
||
"body-lg": ["Be Vietnam Pro"]
|
||
},
|
||
"fontSize": {
|
||
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
||
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
||
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
||
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
||
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
||
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
||
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
|
||
}
|
||
},
|
||
},
|
||
}
|
||
</script>
|
||
<style>
|
||
.material-symbols-outlined {
|
||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||
}
|
||
.notch-badge {
|
||
clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
|
||
}
|
||
body {
|
||
background-color: #faf9f7;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body class="font-body-md text-on-surface pb-24">
|
||
<!-- TopAppBar -->
|
||
<header class="fixed top-0 w-full flex justify-between items-center px-margin-page h-14 bg-surface-container-low shadow-sm z-50">
|
||
<button class="w-10 h-10 flex items-center justify-start active:opacity-80 transition-opacity">
|
||
<span class="material-symbols-outlined text-primary">arrow_back</span>
|
||
</button>
|
||
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">订单详情</h1>
|
||
<div class="w-10"></div> <!-- Placeholder for centering -->
|
||
</header>
|
||
<main class="mt-14">
|
||
<!-- Status Banner -->
|
||
<section class="bg-heritage-red px-margin-page py-6 text-white relative overflow-hidden">
|
||
<!-- Subtle background texture/pattern -->
|
||
<div class="absolute inset-0 opacity-10 pointer-events-none">
|
||
<div class="absolute right-[-20%] top-[-20%] w-64 h-64 border-[20px] border-white rounded-full"></div>
|
||
</div>
|
||
<div class="relative z-10">
|
||
<div class="flex items-center gap-2 mb-1">
|
||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">local_shipping</span>
|
||
<h2 class="font-headline-md text-headline-md">运输中</h2>
|
||
</div>
|
||
<p class="font-body-md text-body-md opacity-90">预计今日 18:00 前送达</p>
|
||
</div>
|
||
</section>
|
||
<!-- Delivery Track -->
|
||
<section class="mx-margin-page mt-stack-md p-margin-page bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
||
<div class="space-y-0 relative">
|
||
<!-- Vertical Line -->
|
||
<div class="absolute left-[11px] top-4 bottom-4 w-[2px] bg-surface-container-highest"></div>
|
||
<!-- Track Items -->
|
||
<div class="flex items-start gap-4 relative pb-6">
|
||
<div class="z-10 w-[24px] h-[24px] rounded-full bg-heritage-red flex items-center justify-center">
|
||
<span class="material-symbols-outlined text-[14px] text-white" style="font-variation-settings: 'FILL' 1;">check</span>
|
||
</div>
|
||
<div class="flex-1">
|
||
<p class="font-label-md text-label-md text-on-surface">待确认</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start gap-4 relative pb-6">
|
||
<div class="z-10 w-[24px] h-[24px] rounded-full bg-heritage-red flex items-center justify-center">
|
||
<span class="material-symbols-outlined text-[14px] text-white" style="font-variation-settings: 'FILL' 1;">check</span>
|
||
</div>
|
||
<div class="flex-1">
|
||
<p class="font-label-md text-label-md text-on-surface">已接单</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start gap-4 relative pb-6">
|
||
<div class="z-10 w-[24px] h-[24px] rounded-full bg-heritage-red flex items-center justify-center">
|
||
<span class="material-symbols-outlined text-[14px] text-white" style="font-variation-settings: 'FILL' 1;">check</span>
|
||
</div>
|
||
<div class="flex-1">
|
||
<p class="font-label-md text-label-md text-on-surface">配送中</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start gap-4 relative pb-6">
|
||
<div class="z-10 w-[24px] h-[24px] rounded-full bg-heritage-red border-4 border-primary-fixed flex items-center justify-center">
|
||
<div class="w-2 h-2 rounded-full bg-white"></div>
|
||
</div>
|
||
<div class="flex-1">
|
||
<p class="font-headline-md text-headline-md text-heritage font-bold">运输中</p>
|
||
<p class="font-body-md text-body-md text-subtle-gray mt-1">包裹正在送往目的地</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start gap-4 relative">
|
||
<div class="z-10 w-[24px] h-[24px] rounded-full bg-surface-container-highest flex items-center justify-center">
|
||
<div class="w-2 h-2 rounded-full bg-subtle-gray"></div>
|
||
</div>
|
||
<div class="flex-1">
|
||
<p class="font-label-md text-label-md text-subtle-gray">已送达</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!-- Product Section -->
|
||
<section class="mx-margin-page mt-stack-md p-margin-page bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border-l-4 border-heritage-red">
|
||
<div class="flex gap-4">
|
||
<div class="relative w-24 h-24 bg-surface rounded-lg overflow-hidden flex-shrink-0">
|
||
<img class="w-full h-full object-cover" data-alt="A professional studio product photograph of a premium bottle of Jiu Zu Du Kang Xiao Feng Tan liquor. The bottle is elegantly designed with traditional Chinese motifs, set against a warm, minimalist background with soft cinematic lighting. The atmosphere is sophisticated and highlights the heritage quality of the 52-degree spirit." src="https://lh3.googleusercontent.com/aida-public/AB6AXuABoOtezDzxDQTSxW7esl-R7-P6FWVJjQHOS3dDiuALtC3vbgL_mDq0oGgCmwGXu4nxON7bN_NoDb7iEnKq-T9JoY4ieJ0ZTLfxmEe21A4VHdPJekvpWZxg38xwFIL2eBGRP01dDtgEcsT3rOAhhwv3yG98REzJ3Z0WAKgEnpK4DwEbWuRwZMHt7b55oJNFY4YAYHhbBtajSP5Egscjqqp3-KDr_Vi6u6cpZlSnc4BN8pRTnqz6kFFe3qgOAjCb2uIJJ5cVYTyByf8">
|
||
<div class="absolute bottom-0 left-0 right-0 bg-heritage-red/80 py-0.5 text-center">
|
||
<span class="text-[10px] text-white font-label-md">正品保证</span>
|
||
</div>
|
||
</div>
|
||
<div class="flex-1">
|
||
<h3 class="font-headline-md text-headline-md text-on-surface leading-tight">酒祖杜康 · 小封坛 (52°)</h3>
|
||
<div class="mt-1 flex items-center gap-2">
|
||
<span class="font-body-md text-body-md text-subtle-gray">500ml × 6瓶/箱</span>
|
||
<span class="font-body-md text-body-md text-on-surface font-semibold">x6</span>
|
||
</div>
|
||
<div class="mt-2 flex items-baseline gap-1">
|
||
<span class="text-label-md font-label-md text-heritage-red">¥</span>
|
||
<span class="text-headline-lg font-headline-lg text-heritage-red">5,880</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!-- Commission & Benefits (Accent Card) -->
|
||
<section class="mx-margin-page mt-stack-md grid grid-cols-2 gap-stack-md">
|
||
<div class="bg-surface-container-lowest p-4 rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border-t-2 border-heritage-red"><p class="text-subtle-gray font-label-md text-label-md mb-2">佣金明细</p><div class="space-y-1"><div class="flex justify-between items-center"><span class="text-[10px] text-subtle-gray">订单佣金</span><span class="text-heritage-red font-bold text-[12px]">¥235.20</span></div><div class="flex justify-between items-center"><span class="text-[10px] text-subtle-gray">权益核销</span><span class="text-heritage-red font-bold text-[12px]">¥235.20</span></div></div></div>
|
||
<div class="bg-surface-container-lowest p-4 rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border-t-2 border-aged-amber overflow-hidden relative">
|
||
<p class="text-subtle-gray font-label-md text-label-md mb-1">赠送好客权益</p>
|
||
<div class="flex items-center gap-1">
|
||
<span class="text-aged-amber font-headline-lg text-headline-lg font-bold">¥1,200</span>
|
||
<div class="notch-badge bg-aged-amber/10 px-2 py-0.5 ml-auto">
|
||
<span class="text-[10px] text-aged-amber font-bold">可核销</span>
|
||
</div>
|
||
</div><div class="w-full h-1 bg-surface-container-highest rounded-full mt-2 overflow-hidden"><div class="h-full bg-aged-amber rounded-full" style="width: 33.33%"></div></div><div class="flex justify-between items-center mt-1">
|
||
<span class="text-[10px] text-subtle-gray font-body-md whitespace-nowrap">已核销 ¥400</span>
|
||
<span class="text-[10px] text-subtle-gray font-body-md whitespace-nowrap">待核销 ¥800</span>
|
||
</div>
|
||
<div class="absolute -right-2 -bottom-2 opacity-10">
|
||
<span class="material-symbols-outlined text-4xl text-aged-amber">confirmation_number</span>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!-- Order Info -->
|
||
<section class="mx-margin-page mt-stack-md p-margin-page bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
||
<h4 class="font-headline-md text-headline-md mb-4 flex items-center gap-2">
|
||
<span class="w-1 h-4 bg-heritage-red rounded-full"></span>
|
||
订单信息
|
||
</h4>
|
||
<div class="space-y-3">
|
||
<div class="flex justify-between items-start">
|
||
<span class="text-subtle-gray font-body-md">订单编号</span>
|
||
<div class="flex items-center gap-2">
|
||
<span class="text-on-surface font-body-md">DK202310248819</span>
|
||
<button class="text-heritage-red active:scale-95 transition-transform">
|
||
<span class="material-symbols-outlined text-[18px]">content_copy</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="flex justify-between">
|
||
<span class="text-subtle-gray font-body-md">下单时间</span>
|
||
<span class="text-on-surface font-body-md">2026-06-18 14:20:05</span>
|
||
</div>
|
||
<div class="flex justify-between items-start">
|
||
<span class="text-subtle-gray font-body-md">营销推广</span>
|
||
<div class="text-right">
|
||
<p class="text-on-surface font-body-md">品鉴会营销码</p>
|
||
<p class="text-heritage-red font-label-md text-label-md font-semibold">DJH001</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<!-- Receiver Info -->
|
||
<section class="mx-margin-page mt-stack-md p-margin-page bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
||
<h4 class="font-headline-md text-headline-md mb-4 flex items-center gap-2">
|
||
<span class="w-1 h-4 bg-heritage-red rounded-full"></span>
|
||
收货地址
|
||
</h4>
|
||
<div class="flex items-start gap-3">
|
||
<span class="material-symbols-outlined text-subtle-gray mt-0.5">location_on</span>
|
||
<div class="flex-1">
|
||
<p class="text-on-surface font-headline-md text-headline-md">张先生 <span class="ml-2 font-normal text-body-lg">138****8888</span></p>
|
||
<p class="text-subtle-gray font-body-md mt-1 leading-relaxed">河南省洛阳市涧西区南昌路街道锦绣花园12号楼2单元804室</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
<!-- Sticky Bottom Action -->
|
||
<footer class="fixed bottom-0 left-0 w-full bg-white/80 backdrop-blur-md px-margin-page py-4 flex items-center justify-between border-t border-surface-container-high z-50">
|
||
<div class="flex flex-col">
|
||
<span class="text-label-md font-label-md text-subtle-gray">佣金合计</span>
|
||
<span class="text-heritage-red font-headline-md text-headline-md font-bold">¥470.40</span>
|
||
</div>
|
||
<div class="flex gap-stack-md">
|
||
<button class="px-6 py-2 rounded-xl border border-heritage-red text-heritage-red font-body-md active:bg-heritage-red/5 transition-colors flex items-center gap-2">
|
||
<span class="material-symbols-outlined text-[18px]">support_agent</span>
|
||
联系配送员
|
||
</button>
|
||
</div>
|
||
</footer>
|
||
<!-- Bottom Navigation (Shared Component Context) -->
|
||
<!-- Suppressed on detail pages per mandate, but structure logic included if needed for other screens -->
|
||
<script>
|
||
// Micro-interactions
|
||
document.querySelectorAll('button').forEach(btn => {
|
||
btn.addEventListener('touchstart', () => {
|
||
btn.style.transform = 'scale(0.98)';
|
||
});
|
||
btn.addEventListener('touchend', () => {
|
||
btn.style.transform = 'scale(1)';
|
||
});
|
||
});
|
||
|
||
// Copy feedback
|
||
const copyBtn = document.querySelector('[data-copy]'); // hypothetical
|
||
// In actual implementation, we'd add copy logic here.
|
||
</script>
|
||
|
||
|
||
|
||
|
||
</body></html> |