411 lines
19 KiB
HTML
411 lines
19 KiB
HTML
<!DOCTYPE html><html lang="zh-CN" style="width: 390px; height: 1292px; overflow: hidden; position: relative;"><head>
|
|
<meta charset="utf-8">
|
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
|
<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=Manrope:wght@600;700;800&family=Be+Vietnam+Pro:wght@400;500&family=Inter:wght@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">
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
vertical-align: middle;
|
|
}
|
|
.coupon-notch {
|
|
position: relative;
|
|
}
|
|
.coupon-notch::before, .coupon-notch::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: -6px;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-color: #faf9f7;
|
|
border-radius: 50%;
|
|
z-index: 10;
|
|
}
|
|
.coupon-notch::before { top: -6px; }
|
|
.coupon-notch::after { bottom: -6px; }
|
|
|
|
.step-line {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 20px;
|
|
right: -20px;
|
|
height: 2px;
|
|
background-color: #e3e2e0;
|
|
z-index: 0;
|
|
}
|
|
.step-line-active {
|
|
background-color: #A61D24;
|
|
}
|
|
|
|
/* Smooth backdrop blur for premium feel */
|
|
.glass-effect {
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
</style>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"on-surface-variant": "#5a413f",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"aged-amber": "#FFBF00",
|
|
"on-background": "#1a1c1b",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"status-blue": "#2A6EBB",
|
|
"background": "#faf9f7",
|
|
"on-primary-fixed": "#410004",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"surface-container": "#efeeec",
|
|
"on-secondary-container": "#745c00",
|
|
"secondary-fixed": "#ffe088",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"inverse-primary": "#ffb3ae",
|
|
"surface": "#faf9f7",
|
|
"on-primary": "#ffffff",
|
|
"surface-tint": "#b3272c",
|
|
"primary": "#820012",
|
|
"tertiary-container": "#4e5852",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-surface": "#1a1c1b",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"error-container": "#ffdad6",
|
|
"outline-variant": "#e2bebc",
|
|
"primary-container": "#a61d24",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"subtle-gray": "#999999",
|
|
"on-error-container": "#93000a",
|
|
"inverse-surface": "#2f3130",
|
|
"on-tertiary": "#ffffff",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"success-green": "#2D6A4F",
|
|
"surface-dim": "#dadad8",
|
|
"on-error": "#ffffff",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"tertiary": "#37413b",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"heritage-red": "#A61D24",
|
|
"on-primary-container": "#ffb9b4",
|
|
"ink-black": "#1A1A1A",
|
|
"secondary": "#735c00",
|
|
"error": "#ba1a1a",
|
|
"secondary-container": "#fed65b",
|
|
"surface-bright": "#faf9f7",
|
|
"outline": "#8d706e",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"surface-variant": "#e3e2e0",
|
|
"surface-container-low": "#f4f3f1",
|
|
"on-secondary-fixed": "#241a00",
|
|
"surface-container-high": "#e9e8e6",
|
|
"on-secondary": "#ffffff"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"gutter-card": "12px",
|
|
"stack-lg": "32px",
|
|
"base": "8px",
|
|
"stack-md": "16px",
|
|
"margin-page": "20px",
|
|
"stack-sm": "4px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-xl": ["Manrope"],
|
|
"headline-md": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"headline-lg": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"coupon-amount": ["Manrope"],
|
|
"label-md": ["Inter"]
|
|
},
|
|
"fontSize": {
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background font-body-md min-h-screen pb-32">
|
|
<!-- Top Navigation Anchor -->
|
|
<header class="bg-surface sticky top-0 w-full z-50 flex items-center justify-between px-margin-page h-16 shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
|
<div class="flex items-center gap-4">
|
|
<span class="material-symbols-outlined text-on-surface-variant cursor-pointer">arrow_back_ios</span>
|
|
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">杜康好客</h1>
|
|
</div>
|
|
<div class="flex items-center gap-4">
|
|
<span class="material-symbols-outlined text-on-surface-variant">share</span>
|
|
<span class="material-symbols-outlined text-on-surface-variant">more_horiz</span>
|
|
</div>
|
|
</header>
|
|
<main class="px-margin-page py-stack-md space-y-stack-md">
|
|
<!-- Status Banner -->
|
|
<section class="relative overflow-hidden bg-heritage-red rounded-xl p-6 text-on-primary shadow-lg">
|
|
<!-- Background Decoration -->
|
|
<div class="absolute -right-10 -top-10 opacity-10">
|
|
<span class="material-symbols-outlined text-[120px]" style="font-variation-settings: 'FILL' 1;">local_shipping</span>
|
|
</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-lg-mobile text-headline-lg-mobile font-bold">配送中</h2>
|
|
</div>
|
|
<p class="font-body-md opacity-90">您的佳酿正在赶往您的餐桌,请保持电话畅通</p>
|
|
</div>
|
|
</section>
|
|
<!-- Delivery Tracker -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-gutter-card shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
|
<div class="flex justify-between items-start pt-2 px-2">
|
|
<!-- Step 1 -->
|
|
<div class="flex flex-col items-center flex-1 relative">
|
|
<div class="step-line step-line-active"></div>
|
|
<div class="w-7 h-7 rounded-full bg-heritage-red flex items-center justify-center z-10">
|
|
<span class="material-symbols-outlined text-[16px] text-white">check</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md mt-2 text-on-surface">下单成功</span>
|
|
</div>
|
|
<!-- Step 2 -->
|
|
<div class="flex flex-col items-center flex-1 relative">
|
|
<div class="step-line step-line-active"></div>
|
|
<div class="w-7 h-7 rounded-full bg-heritage-red flex items-center justify-center z-10">
|
|
<span class="material-symbols-outlined text-[16px] text-white">check</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md mt-2 text-on-surface">出库中</span>
|
|
</div>
|
|
<!-- Step 3 -->
|
|
<div class="flex flex-col items-center flex-1 relative">
|
|
<div class="step-line"></div>
|
|
<div class="w-7 h-7 rounded-full bg-heritage-red ring-4 ring-primary-fixed flex items-center justify-center z-10">
|
|
<div class="w-2 h-2 rounded-full bg-white animate-pulse"></div>
|
|
</div>
|
|
<span class="font-label-md text-label-md mt-2 text-heritage-red font-bold">配送中</span>
|
|
</div>
|
|
<!-- Step 4 -->
|
|
<div class="flex flex-col items-center flex-1 relative">
|
|
<div class="step-line"></div>
|
|
<div class="w-7 h-7 rounded-full bg-surface-container-highest flex items-center justify-center z-10">
|
|
<div class="w-2 h-2 rounded-full bg-subtle-gray"></div>
|
|
</div>
|
|
<span class="font-label-md text-label-md mt-2 text-subtle-gray">待签收</span>
|
|
</div>
|
|
<!-- Step 5 -->
|
|
<div class="flex flex-col items-center flex-1 relative">
|
|
<div class="w-7 h-7 rounded-full bg-surface-container-highest flex items-center justify-center z-10">
|
|
<div class="w-2 h-2 rounded-full bg-subtle-gray"></div>
|
|
</div>
|
|
<span class="font-label-md text-label-md mt-2 text-subtle-gray">完成</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Product Details -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-gutter-card shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
|
<div class="flex gap-4 mb-4">
|
|
<div class="w-24 h-24 rounded-lg overflow-hidden bg-surface-container flex-shrink-0">
|
|
<img class="w-full h-full object-cover" data-alt="A premium close-up studio photograph of a traditional Chinese Baijiu bottle, Dukang brand, with intricate red and gold labels. The bottle is set against a soft, creamy white background with elegant lighting that emphasizes its crystalline glass texture and heritage design. The aesthetic is luxurious, modern, and clean." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCzuUQHbRF9nOvLF67TdN4XXaspszoFFZ5xOzi2XZfOTe9luzpHxRmFm5dcWCpC19FnbbjQUZX-zmIjLa47A3m164tMTLEQuhtQOLDgpC4-vXGSmE9y0yg97HOVaJRtmGNf_Rl7IP_9ykADHu5LIrtrTRHcxgA-Au7vEn8skrNHeDsWnJ1z0wb3gzGCZREiS3l7QfRJX33b2Q4sBBmJpjaDuNgQ4eOWsgkB_V-5JIUcQTljWvxkyCoMh2eRCEf0B9t06NNL0951UsI">
|
|
</div>
|
|
<div class="flex-1 flex flex-col justify-between py-1">
|
|
<div>
|
|
<h3 class="font-headline-md text-headline-md leading-tight mb-1">杜康·御享15年 52度 浓香型白酒 500ml</h3>
|
|
<p class="text-on-surface-variant text-label-md">规格:单瓶装(带礼袋)</p>
|
|
</div>
|
|
<div class="flex items-end justify-between">
|
|
<div class="flex items-baseline gap-1">
|
|
<span class="text-heritage-red font-bold text-label-md">¥</span>
|
|
<span class="text-heritage-red font-bold text-headline-lg-mobile">1,288</span>
|
|
</div>
|
|
<span class="text-on-surface-variant text-body-md font-medium">x1</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Coupon Special Section -->
|
|
<div class="bg-aged-amber/10 rounded-lg p-4 mt-4 border border-aged-amber/20 flex items-center justify-between">
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-10 h-10 bg-aged-amber rounded-full flex items-center justify-center text-white">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">confirmation_number</span>
|
|
</div>
|
|
<div>
|
|
<div class="flex items-baseline gap-1">
|
|
<span class="font-headline-md text-headline-md text-secondary-fixed-variant">¥200</span>
|
|
<span class="font-label-md text-label-md text-on-secondary-fixed-variant">好客权益</span>
|
|
</div>
|
|
<p class="text-[10px] text-on-secondary-fixed-variant opacity-70">全城100+餐厅通用</p>
|
|
</div>
|
|
</div>
|
|
<button class="bg-aged-amber text-on-secondary-fixed-variant font-bold px-4 py-2 rounded-full text-label-md shadow-sm hover:opacity-90 transition-opacity">
|
|
去使用
|
|
</button>
|
|
</div>
|
|
</section>
|
|
<!-- Receiver Information -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-gutter-card 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="material-symbols-outlined text-on-surface-variant">location_on</span>
|
|
收货信息
|
|
</h4>
|
|
<div class="space-y-3">
|
|
<div class="flex justify-between">
|
|
<span class="text-on-surface-variant">收货人</span>
|
|
<span class="font-medium">张思远 138****8888</span>
|
|
</div>
|
|
<div class="flex justify-between items-start text-right">
|
|
<span class="text-on-surface-variant flex-shrink-0">收货地址</span>
|
|
<span class="font-medium ml-8">河南省洛阳市龙门大道266号 洛阳国宾酒店 102包间</span>
|
|
</div>
|
|
<div class="flex justify-between">
|
|
<span class="text-on-surface-variant">配送方式</span>
|
|
<span class="font-medium">小飞侠配送</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Order Metadata -->
|
|
<section class="bg-surface-container-lowest rounded-xl p-gutter-card 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="material-symbols-outlined text-on-surface-variant">info</span>
|
|
订单信息
|
|
</h4>
|
|
<div class="space-y-3 pb-4 border-b border-surface-variant/30">
|
|
<div class="flex justify-between">
|
|
<span class="text-on-surface-variant">订单编号</span>
|
|
<div class="flex items-center gap-2">
|
|
<span class="font-medium">DK202310279981</span>
|
|
<span class="text-heritage-red text-[10px] border border-heritage-red/30 px-1 rounded">复制</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex justify-between">
|
|
<span class="text-on-surface-variant">创建时间</span>
|
|
<span class="font-medium">2023-10-27 18:42:15</span>
|
|
</div>
|
|
<div class="flex justify-between">
|
|
<span class="text-on-surface-variant">支付方式</span>
|
|
<span class="font-medium">微信支付</span>
|
|
</div>
|
|
<div class="flex justify-between">
|
|
</div>
|
|
</div>
|
|
<div class="pt-4 space-y-2">
|
|
<div class="flex justify-between text-on-surface-variant text-label-md">
|
|
<span class="">商品总额</span>
|
|
<span class="">¥1,288.00</span>
|
|
</div>
|
|
<div class="flex justify-between text-on-surface-variant text-label-md">
|
|
<span class="">运费</span>
|
|
<span class="">¥0.00</span>
|
|
</div>
|
|
<div class="flex justify-between items-baseline pt-2">
|
|
<span class="font-bold text-on-surface">实付金额</span>
|
|
<span class="text-heritage-red font-bold text-headline-lg-mobile">¥1,288.00</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<!-- Bottom Action Bar (C-04 Customer Support focus) -->
|
|
<footer class="fixed bottom-0 left-0 w-full z-50 bg-surface-container-lowest/90 glass-effect shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] px-margin-page pt-4 pb-safe flex gap-4">
|
|
<button class="flex-1 border border-heritage-red text-heritage-red py-3 rounded-xl font-bold flex items-center justify-center gap-2 active:scale-95 transition-transform">
|
|
<span class="material-symbols-outlined text-[20px]">headset_mic</span>
|
|
联系客服
|
|
</button>
|
|
<button class="flex-[1.5] bg-heritage-red text-white py-3 rounded-xl font-bold flex items-center justify-center gap-2 active:scale-95 transition-transform shadow-md">
|
|
<span class="material-symbols-outlined text-[20px]">inventory</span>
|
|
确认收货
|
|
</button>
|
|
</footer>
|
|
<!-- Bottom Nav (Hidden on detail page as per rules, using action bar instead) -->
|
|
<script>
|
|
// Simple logic for the "Copy" interaction
|
|
document.querySelector('.border-heritage-red\/30').addEventListener('click', function() {
|
|
const btn = this;
|
|
btn.textContent = '已复制';
|
|
btn.classList.add('bg-heritage-red', 'text-white');
|
|
setTimeout(() => {
|
|
btn.textContent = '复制';
|
|
btn.classList.remove('bg-heritage-red', 'text-white');
|
|
}, 2000);
|
|
});
|
|
|
|
// Toggle sticky header shadow on scroll
|
|
window.addEventListener('scroll', () => {
|
|
const header = document.querySelector('header');
|
|
if (window.scrollY > 0) {
|
|
header.classList.add('shadow-md');
|
|
} else {
|
|
header.classList.remove('shadow-md');
|
|
}
|
|
});
|
|
</script>
|
|
<div class="fixed inset-0 z-[100] flex flex-col justify-end" id="contact-modal">
|
|
<!-- Backdrop -->
|
|
<div class="absolute inset-0 bg-black/50 transition-opacity"></div>
|
|
<!-- Bottom Sheet -->
|
|
<div class="relative bg-surface rounded-t-xl w-full max-w-md mx-auto shadow-lg animate-slide-up">
|
|
<div class="p-6 space-y-6">
|
|
<div class="flex justify-between items-center">
|
|
<h3 class="font-headline-md text-headline-md text-on-surface">联系客服</h3>
|
|
<span class="material-symbols-outlined text-on-surface-variant cursor-pointer" onclick="document.getElementById('contact-modal').remove()">close</span>
|
|
</div>
|
|
<div class="space-y-4">
|
|
<!-- Phone Option -->
|
|
<div class="flex items-center justify-between p-4 bg-surface-container-low rounded-lg border border-surface-variant/30 active:scale-95 transition-transform">
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-10 h-10 bg-heritage-red/10 rounded-full flex items-center justify-center text-heritage-red">
|
|
<span class="material-symbols-outlined">call</span>
|
|
</div>
|
|
<div>
|
|
<p class="font-medium text-on-surface">拨打总部客服电话</p>
|
|
<p class="text-label-md text-on-surface-variant">400-888-1234</p>
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant">chevron_right</span>
|
|
</div>
|
|
<!-- Online Chat Option -->
|
|
<div class="flex items-center justify-between p-4 bg-surface-container-low rounded-lg border border-surface-variant/30 active:scale-95 transition-transform">
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-10 h-10 bg-heritage-red/10 rounded-full flex items-center justify-center text-heritage-red">
|
|
<span class="material-symbols-outlined">chat</span>
|
|
</div>
|
|
<div>
|
|
<p class="font-medium text-on-surface">在线客服</p>
|
|
<p class="text-label-md text-on-surface-variant">专业客服实时解答</p>
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant">chevron_right</span>
|
|
</div>
|
|
</div>
|
|
<button class="w-full py-4 bg-surface-container-highest text-on-surface font-bold rounded-xl active:scale-95 transition-transform" onclick="document.getElementById('contact-modal').remove()">
|
|
取消
|
|
</button>
|
|
</div>
|
|
<div class="h-safe bg-surface-container-highest"></div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
@keyframes slide-up {
|
|
from { transform: translateY(100%); }
|
|
to { transform: translateY(0); }
|
|
}
|
|
.animate-slide-up {
|
|
animation: slide-up 0.3s ease-out forwards;
|
|
}
|
|
</style></body></html> |