285 lines
14 KiB
HTML
285 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, maximum-scale=1.0, user-scalable=no" 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">
|
|
<!-- Tailwind Configuration -->
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"aged-amber": "#FFBF00",
|
|
"on-surface-variant": "#5a413f",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"surface-variant": "#e3e2e0",
|
|
"surface-tint": "#b3272c",
|
|
"on-surface": "#1a1c1b",
|
|
"on-secondary": "#ffffff",
|
|
"on-secondary-container": "#745c00",
|
|
"surface-container-high": "#e9e8e6",
|
|
"on-secondary-fixed": "#241a00",
|
|
"error-container": "#ffdad6",
|
|
"primary-container": "#a61d24",
|
|
"inverse-surface": "#2f3130",
|
|
"heritage-red": "#A61D24",
|
|
"primary": "#820012",
|
|
"inverse-primary": "#ffb3ae",
|
|
"on-primary": "#ffffff",
|
|
"secondary": "#735c00",
|
|
"surface-dim": "#dadad8",
|
|
"surface": "#faf9f7",
|
|
"status-blue": "#2A6EBB",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"subtle-gray": "#999999",
|
|
"outline": "#8d706e",
|
|
"on-primary-fixed": "#410004",
|
|
"tertiary": "#37413b",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"surface-container-low": "#f4f3f1",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"background": "#faf9f7",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"on-primary-container": "#ffb9b4",
|
|
"tertiary-container": "#4e5852",
|
|
"outline-variant": "#e2bebc",
|
|
"on-tertiary": "#ffffff",
|
|
"secondary-container": "#fed65b",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"primary-fixed": "#ffdad7",
|
|
"surface-bright": "#faf9f7",
|
|
"ink-black": "#1A1A1A",
|
|
"error": "#ba1a1a",
|
|
"surface-container": "#efeeec",
|
|
"surface-container-lowest": "#ffffff",
|
|
"success-green": "#2D6A4F",
|
|
"on-error": "#ffffff",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"on-error-container": "#93000a",
|
|
"on-background": "#1a1c1b"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"stack-sm": "4px",
|
|
"stack-md": "16px",
|
|
"base": "8px",
|
|
"margin-page": "20px",
|
|
"stack-lg": "32px",
|
|
"gutter-card": "12px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-xl": ["Manrope"],
|
|
"coupon-amount": ["Manrope"],
|
|
"label-md": ["Inter"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"headline-md": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-lg": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #faf9f7;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.card-shadow {
|
|
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
.step-line::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 11px;
|
|
top: 24px;
|
|
width: 2px;
|
|
height: calc(100% - 16px);
|
|
background-color: #e3e2e0;
|
|
}
|
|
.step-line-active::after {
|
|
background-color: #A61D24;
|
|
}
|
|
.step-line:last-child::after {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="font-body-md text-on-surface overflow-x-hidden">
|
|
<!-- Top Navigation Bar -->
|
|
<nav class="fixed top-0 left-0 w-full z-50 flex items-center px-4 h-12 bg-surface">
|
|
<button class="active:opacity-70 transition-opacity duration-200">
|
|
<span class="material-symbols-outlined text-heritage-red">arrow_back_ios</span>
|
|
</button>
|
|
<h1 class="flex-1 text-center font-headline-lg-mobile text-headline-lg-mobile font-semibold text-on-surface pr-8">我的订单</h1>
|
|
</nav>
|
|
<!-- Main Content Canvas -->
|
|
<main class="pt-12 pb-24">
|
|
<!-- Status Banner -->
|
|
<section class="bg-heritage-red pt-8 pb-12 px-margin-page relative overflow-hidden">
|
|
<!-- Atmospheric Shader Placeholder -->
|
|
|
|
<div class="relative z-10 flex items-center justify-between">
|
|
<div class="space-y-1">
|
|
<h2 class="text-white font-headline-lg text-headline-lg">补发中</h2>
|
|
<p class="text-white/80 font-body-md text-body-md">包裹正在揽收,请耐心等待</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-white text-[48px] opacity-90">local_shipping</span>
|
|
</div>
|
|
</section>
|
|
<!-- Container for Cards (Overlapping effect) -->
|
|
<div class="px-margin-page -mt-6 relative z-20 space-y-4">
|
|
<!-- Delivery Tracker Card -->
|
|
<div class="bg-surface-container-lowest p-margin-page rounded-xl card-shadow" style="opacity: 1; transform: translateY(0px); transition: 0.4s;">
|
|
<h3 class="font-headline-md text-headline-md mb-6 border-l-4 border-heritage-red pl-3">物流动态</h3>
|
|
<div class="space-y-0">
|
|
<!-- Step 1: Finished -->
|
|
<div class="relative pl-8 pb-8 step-line step-line-active">
|
|
<div class="absolute left-0 top-0 w-6 h-6 rounded-full bg-heritage-red flex items-center justify-center z-10">
|
|
<span class="material-symbols-outlined text-[16px] text-white" style="font-variation-settings: 'wght' 700;">check</span>
|
|
</div>
|
|
<div>
|
|
<p class="font-headline-md text-headline-md text-heritage-red">补发单已下达</p>
|
|
<p class="text-subtle-gray font-body-md text-body-md mt-1">2023-10-12 09:30:15</p>
|
|
</div>
|
|
</div>
|
|
<!-- Step 2: Current -->
|
|
<div class="relative pl-8 pb-8 step-line step-line-active">
|
|
<div class="absolute left-0 top-0 w-6 h-6 rounded-full bg-heritage-red flex items-center justify-center z-10 shadow-[0_0_12px_rgba(166,29,36,0.3)]">
|
|
<div class="w-2 h-2 rounded-full bg-white animate-pulse"></div>
|
|
</div>
|
|
<div>
|
|
<p class="font-headline-md text-headline-md text-on-surface">包裹揽收中</p>
|
|
<p class="text-on-surface-variant font-body-md text-body-md mt-1">包裹正由物流网点揽收处理</p>
|
|
</div>
|
|
</div>
|
|
<!-- Step 3: Pending -->
|
|
<div class="relative pl-8 pb-0 step-line">
|
|
<div class="absolute left-0 top-0 w-6 h-6 rounded-full bg-surface-container-high border-2 border-surface-variant flex items-center justify-center z-10">
|
|
<div class="w-2 h-2 rounded-full bg-subtle-gray"></div>
|
|
</div>
|
|
<div>
|
|
<p class="font-headline-md text-headline-md text-subtle-gray">运输中</p>
|
|
<p class="text-subtle-gray font-body-md text-body-md mt-1">暂无物流信息</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Reshipment Info Card -->
|
|
<div class="bg-surface-container-lowest p-margin-page rounded-xl card-shadow space-y-4" style="opacity: 1; transform: translateY(0px); transition: 0.4s 0.1s;">
|
|
<div class="flex justify-between items-start">
|
|
<span class="text-on-surface-variant font-body-md">补发原因</span>
|
|
<span class="text-on-surface font-headline-md">商品破损</span>
|
|
</div>
|
|
<div class="flex justify-between items-start">
|
|
<span class="text-on-surface-variant font-body-md">关联原订单</span>
|
|
<span class="text-heritage-red font-headline-md font-mono tracking-tight">DK20231005002</span>
|
|
</div>
|
|
</div>
|
|
<!-- Product Card -->
|
|
<div class="bg-surface-container-lowest p-margin-page rounded-xl card-shadow" style="opacity: 1; transform: translateY(0px); transition: 0.4s 0.2s;">
|
|
<div class="flex gap-4">
|
|
<div class="w-24 h-24 rounded-lg overflow-hidden flex-shrink-0 bg-surface-container">
|
|
<img class="w-full h-full object-cover" data-alt="A high-end product photograph of a premium Chinese baijiu bottle, 'Dukang Yuxiang 15th Generation', featuring elegant calligraphy and gold accents, set against a minimalist, warm-toned studio background with soft directional lighting to emphasize the glass texture and liquid clarity. The aesthetic is sophisticated and heritage-inspired." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCcg8KkAdiyDyzT1xsr29vmj86LfU3jkHBqdAknbUrWq0pO-wBhVnP1wdcNVktvkN1FHU1VO7SaTH639WQ_sSe61tBAgcqYX8-HDP5QguQpvBY8uBgJCHrKK9Y5d0t2tHAqxxCKw6zXur1d47YYLHw1856Xc83DCCqtPWNQUGON2UnQhd1WYBUTur11Rl1EEouKTI9_z9S-BlhR4TmfQIpD67zEM382g84Ic3PXW2uvqQmXV2SjGvsg-WD0uSTItBV5rdhrvzuL4xk">
|
|
</div>
|
|
<div class="flex-1 flex flex-col justify-between py-1">
|
|
<div>
|
|
<h4 class="font-headline-md text-headline-md text-on-surface line-clamp-1">杜康·白酒古酿 500ml</h4>
|
|
<p class="text-on-surface-variant text-label-md font-label-md mt-1">清香型 52度 礼盒装</p>
|
|
</div>
|
|
<div class="flex items-center justify-between">
|
|
<span class="text-heritage-red font-headline-md">¥0.00</span>
|
|
<span class="text-on-surface-variant text-label-md font-label-md"> x1</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Coupon Badge Metaphor -->
|
|
<div class="mt-4 pt-4 border-t border-surface-variant/50 flex items-center justify-between">
|
|
<div class="flex items-center gap-2">
|
|
<div class="bg-aged-amber text-on-secondary-container px-3 py-1 rounded-sm text-label-md font-bold relative overflow-hidden flex items-center">
|
|
<div class="absolute -left-1 top-1/2 -translate-y-1/2 w-2 h-2 bg-surface-container-lowest rounded-full"></div>
|
|
<div class="absolute -right-1 top-1/2 -translate-y-1/2 w-2 h-2 bg-surface-container-lowest rounded-full"></div>
|
|
¥200好客权益</div>
|
|
<span class="text-on-surface-variant text-label-md">随单赠送</span>
|
|
</div>
|
|
<span class="material-symbols-outlined text-on-surface-variant text-[20px]">info</span>
|
|
</div>
|
|
</div>
|
|
<!-- Receiver Info Card -->
|
|
<div class="bg-surface-container-lowest p-margin-page rounded-xl card-shadow" style="opacity: 1; transform: translateY(0px); transition: 0.4s 0.3s;">
|
|
<div class="flex items-center gap-3 mb-4">
|
|
<span class="material-symbols-outlined text-heritage-red">location_on</span>
|
|
<h3 class="font-headline-md text-headline-md">收货信息</h3>
|
|
</div>
|
|
<div class="space-y-2">
|
|
<div class="flex items-center gap-2">
|
|
<span class="font-headline-md">刘先生</span>
|
|
<span class="text-on-surface-variant">138****8888</span>
|
|
</div>
|
|
<p class="text-on-surface font-body-md leading-relaxed">河南省洛阳市伊川县杜康大道杜康大厦 A座 801室</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- Fixed Bottom Action Bar -->
|
|
<footer class="fixed bottom-0 left-0 w-full z-50 bg-surface-container-lowest pt-3 pb-safe px-margin-page shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] rounded-t-xl">
|
|
<button class="w-full bg-heritage-red text-white py-3 rounded-xl font-headline-md active:scale-95 transition-transform duration-150 flex items-center justify-center gap-2">
|
|
<span class="material-symbols-outlined text-[20px]">support_agent</span>
|
|
联系客服
|
|
</button>
|
|
</footer>
|
|
<!-- Bottom Nav Shell Logic (Suppressed for transactional detail page as per instructions) -->
|
|
<!-- Task-Focused sub-page implies a temporary departure from main flow, hide shell -->
|
|
<script>
|
|
// Micro-interaction for contact button
|
|
document.querySelector('button').addEventListener('click', function() {
|
|
// Placeholder for interaction logic
|
|
console.log('Opening customer service chat...');
|
|
});
|
|
|
|
// Simple opacity fade-in for cards on load
|
|
window.addEventListener('DOMContentLoaded', () => {
|
|
const cards = document.querySelectorAll('.card-shadow');
|
|
cards.forEach((card, index) => {
|
|
card.style.opacity = '0';
|
|
card.style.transform = 'translateY(10px)';
|
|
card.style.transition = `all 0.4s ease ${index * 0.1}s`;
|
|
setTimeout(() => {
|
|
card.style.opacity = '1';
|
|
card.style.transform = 'translateY(0)';
|
|
}, 50);
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
</body></html> |