Files
dukang/pages/_archive/总部客服中心_增加跨城订单处理版_24a0d6e7/code.html
T
2026-06-30 10:33:56 +08:00

263 lines
18 KiB
HTML

<!DOCTYPE html><html lang="zh-CN" style="width: 390px; height: 1399px; overflow: hidden; position: relative;"><head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Dukang HQ Customer Service</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;family=Manrope:wght@600;700;800&amp;family=Be+Vietnam+Pro:wght@400;500;600&amp;display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet">
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"primary": "#820012",
"surface-bright": "#faf9f7",
"surface-container": "#efeeec",
"primary-container": "#a61d24",
"on-secondary": "#ffffff",
"on-primary-fixed-variant": "#910817",
"on-secondary-container": "#745c00",
"status-blue": "#2A6EBB",
"primary-fixed-dim": "#ffb3ae",
"error": "#ba1a1a",
"success-green": "#2D6A4F",
"outline-variant": "#e2bebc",
"inverse-on-surface": "#f1f1ef",
"primary-fixed": "#ffdad7",
"surface-dim": "#dadad8",
"surface": "#faf9f7",
"ink-black": "#1A1A1A",
"on-secondary-fixed": "#241a00",
"on-tertiary-fixed-variant": "#3f4943",
"on-primary-container": "#ffb9b4",
"on-error-container": "#93000a",
"surface-container-lowest": "#ffffff",
"on-secondary-fixed-variant": "#574500",
"surface-container-high": "#e9e8e6",
"on-surface": "#1a1c1b",
"secondary": "#735c00",
"on-surface-variant": "#5a413f",
"surface-container-highest": "#e3e2e0",
"secondary-fixed": "#ffe088",
"secondary-container": "#fed65b",
"on-tertiary-container": "#c2cdc6",
"tertiary": "#37413b",
"surface-variant": "#e3e2e0",
"surface-tint": "#b3272c",
"aged-amber": "#FFBF00",
"inverse-surface": "#2f3130",
"on-primary": "#ffffff",
"on-tertiary": "#ffffff",
"secondary-fixed-dim": "#e9c349",
"on-background": "#1a1c1b",
"background": "#faf9f7",
"on-primary-fixed": "#410004",
"inverse-primary": "#ffb3ae",
"tertiary-container": "#4e5852",
"surface-container-low": "#f4f3f1",
"tertiary-fixed-dim": "#bec9c2",
"subtle-gray": "#999999",
"outline": "#8d706e",
"on-tertiary-fixed": "#141e19",
"error-container": "#ffdad6",
"tertiary-fixed": "#dae5dd",
"on-error": "#ffffff",
"heritage-red": "#A61D24"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-md": "16px",
"stack-sm": "4px",
"stack-lg": "32px",
"gutter-card": "12px",
"margin-page": "20px",
"base": "8px"
},
"fontFamily": {
"label-md": ["Inter"],
"headline-md": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"headline-lg-mobile": ["Manrope"],
"body-lg": ["Be Vietnam Pro"],
"headline-lg": ["Manrope"],
"coupon-amount": ["Manrope"],
"headline-xl": ["Manrope"]
},
"fontSize": {
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
display: inline-block;
vertical-align: middle;
}
body {
background-color: #faf9f7;
-webkit-tap-highlight-color: transparent;
}
.request-card {
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
}
.status-tab-active::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 24px;
height: 3px;
background-color: #A61D24;
border-radius: 2px;
}
::-webkit-scrollbar {
display: none;
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="font-body-md text-on-surface min-h-screen pb-24">
<!-- TopAppBar -->
<header class="flex justify-between items-center px-margin-page h-16 w-full z-40 bg-surface-bright dark:bg-surface-dim shadow-sm top-0 sticky">
<div class="flex items-center gap-4">
<button class="active:scale-95 duration-150 p-1 rounded-full hover:bg-surface-container-highest transition-colors">
</button>
<h1 class="font-headline-md text-headline-md-mobile md:text-headline-md text-heritage-red dark:text-inverse-primary">客服中心</h1>
</div>
<div class="flex items-center"><button class="flex items-center gap-1 text-subtle-gray hover:text-heritage-red transition-colors active:scale-95 duration-150"><span class="material-symbols-outlined text-[20px]">logout</span><span class="font-label-md">退出</span></button></div>
</header>
<main class="px-margin-page mt-stack-md space-y-stack-md">
<!-- Metric Grid -->
<div class="grid grid-cols-2 gap-4">
<div class="request-card bg-surface-container-lowest p-4 rounded-xl border border-outline-variant/10">
<p class="font-label-md text-subtle-gray mb-1">处理补发</p>
<div class="flex items-end gap-2">
<span class="font-headline-xl text-heritage-red">12</span>
<span class="text-xs text-status-blue font-medium mb-1.5 flex items-center">
<span class="material-symbols-outlined text-[14px]">trending_up</span> 8%
</span>
</div>
</div>
<div class="request-card bg-surface-container-lowest p-4 rounded-xl border border-outline-variant/10 relative"><div class="absolute -top-1 -right-1 w-5 h-5 bg-heritage-red rounded-full flex items-center justify-center shadow-sm border border-white/20"><span class="text-white text-[10px] font-bold leading-none">5</span></div><p class="font-label-md text-subtle-gray mb-1">待处理跨城</p><div class="flex items-end gap-2"><span class="font-headline-xl text-heritage-red">05</span><span class="text-xs text-status-blue font-medium mb-1.5 flex items-center"><span class="material-symbols-outlined text-[14px]">schedule</span> 待办</span></div></div></div>
<!-- Search Bar -->
<div class="flex gap-3">
<div class="relative flex-1">
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-subtle-gray text-[20px]">search</span>
<input class="w-full pl-10 pr-4 py-2.5 bg-surface-container-low border-none rounded-xl text-body-md focus:ring-1 focus:ring-heritage-red/20 placeholder:text-subtle-gray" placeholder="输入订单号或手机号" type="text">
</div>
<button class="aspect-square w-[46px] flex items-center justify-center bg-surface-container-low rounded-xl text-on-surface-variant active:scale-95 duration-150">
<span class="material-symbols-outlined">tune</span>
</button>
</div>
<!-- Status Tabs -->
<div class="flex border-b border-outline-variant/20 overflow-x-auto no-scrollbar"><button class="relative py-3 px-4 font-label-md text-heritage-red status-tab-active flex-shrink-0">全部</button><button class="py-3 px-4 font-label-md text-subtle-gray flex-shrink-0">普通订单</button><button class="py-3 px-4 font-label-md text-subtle-gray flex-shrink-0">补发订单</button><button class="py-3 px-4 font-label-md text-subtle-gray flex-shrink-0">跨城订单</button></div>
<!-- Request List -->
<div class="space-y-4"><div class="request-card bg-surface-container-lowest rounded-xl overflow-hidden border border-outline-variant/5"><div class="px-4 py-3 border-b border-surface-container flex justify-between items-center"><div class="flex flex-col"><span class="text-[10px] text-subtle-gray uppercase tracking-wider font-bold">订单号</span><span class="font-label-md text-on-surface">DK20231024118</span></div><span class="px-2 py-0.5 rounded text-[10px] font-bold bg-secondary-container/20 text-secondary border border-secondary/10">跨城订单</span><span class="ml-2 px-2 py-0.5 rounded text-[10px] font-bold bg-success-green/10 text-success-green border border-success-green/10">拦截配送成功</span></div><div class="p-4 space-y-4"><div class="flex gap-4"><div class="relative w-20 h-20 bg-surface-container-low rounded-lg overflow-hidden flex-shrink-0 border border-outline-variant/10"><div class="w-full h-full bg-cover bg-center" style="background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuD9AkbiluMtstwizoG6W7F2XutDy3URE-16eZhrIY0ODzBLXpKjmq-NFRdRhQtm1VzVeEDSR6ol0iJMzchurmNFwYMFqsDfVj5pDwZEX6tD4GVQGqWcR-pjL4FDUJvKMNED1qJ9L3VSasSytdCFalqzQstbZ60zUiQaHSwsm1b58Zaj41uoE5I0Sw12FUlBy45VjcvSsGU7yrKDq2QqyHzPtTyXitnZW1jzF1O072WnpvJFh2lk2BbHb6IVwzLLhehkdSyNzWARWUE');"></div><div class="absolute bottom-0 left-0 w-full bg-heritage-red/90 text-white text-[8px] py-0.5 text-center font-medium">享 ¥200 好客权益</div></div><div class="flex-1"><h3 class="font-headline-md text-body-lg text-ink-black mb-1">杜康·白水古酿 500ml</h3><p class="text-label-md text-subtle-gray mb-2">数量: x1</p><div class="flex items-center gap-1.5"><span class="material-symbols-outlined text-[16px] text-subtle-gray">call</span><span class="text-body-md text-on-surface-variant">177****5566</span></div></div></div><div class="flex gap-3 pt-2"><button class="flex-1 py-2.5 rounded-xl bg-heritage-red text-white font-label-md active:scale-95 transition-transform">去发货</button><button class="flex-1 py-2.5 rounded-xl border border-outline-variant/20 text-on-surface-variant font-label-md active:scale-95 transition-transform">查看详情</button></div></div></div><div class="request-card bg-surface-container-lowest rounded-xl overflow-hidden border border-outline-variant/5"><div class="px-4 py-3 border-b border-surface-container flex justify-between items-center"><div class="flex flex-col"><span class="text-[10px] text-subtle-gray uppercase tracking-wider font-bold">订单号</span><span class="font-label-md text-on-surface">DK20231024105</span></div><span class="px-2 py-0.5 rounded text-[10px] font-bold bg-surface-container-low text-on-surface-variant border border-outline-variant/10">普通订单</span></div><div class="p-4 space-y-4"><div class="flex gap-4"><div class="w-20 h-20 bg-surface-container-low rounded-lg overflow-hidden flex-shrink-0 border border-outline-variant/10"><div class="w-full h-full bg-cover bg-center" style="background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuD9AkbiluMtstwizoG6W7F2XutDy3URE-16eZhrIY0ODzBLXpKjmq-NFRdRhQtm1VzVeEDSR6ol0iJMzchurmNFwYMFqsDfVj5pDwZEX6tD4GVQGqWcR-pjL4FDUJvKMNED1qJ9L3VSasSytdCFalqzQstbZ60zUiQaHSwsm1b58Zaj41uoE5I0Sw12FUlBy45VjcvSsGU7yrKDq2QqyHzPtTyXitnZW1jzF1O072WnpvJFh2lk2BbHb6IVwzLLhehkdSyNzWARWUE');"></div></div><div class="flex-1"><h3 class="font-headline-md text-body-lg text-ink-black mb-1">杜康·白水古酿 500ml</h3><p class="text-label-md text-subtle-gray mb-2">数量: x2</p><div class="flex items-center gap-1.5"><span class="material-symbols-outlined text-[16px] text-subtle-gray">call</span><span class="text-body-md text-on-surface-variant">186****9999</span></div></div></div><div class="flex gap-3 pt-2"><button class="flex-1 py-2.5 rounded-xl border border-heritage-red text-heritage-red font-label-md active:scale-95 transition-transform">破损补发</button></div></div></div>
<!-- Card 1: Reshipment -->
<div class="request-card bg-surface-container-lowest rounded-xl overflow-hidden border border-outline-variant/5">
<div class="px-4 py-3 border-b border-surface-container flex justify-between items-center">
<div class="flex flex-col">
<span class="text-[10px] text-subtle-gray uppercase tracking-wider font-bold">订单号</span>
<span class="font-label-md text-on-surface">DK20231024001</span>
</div>
<span class="px-2 py-0.5 rounded text-[10px] font-bold bg-secondary-container/20 text-secondary border border-secondary/10">破损补发</span>
</div>
<div class="p-4 space-y-4">
<div class="flex gap-4">
<div class="w-20 h-20 bg-surface-container-low rounded-lg overflow-hidden flex-shrink-0 border border-outline-variant/10">
<div class="w-full h-full bg-cover bg-center" data-alt="A high-end product photograph of a Dukang Baijiu bottle, featuring elegant calligraphy and a traditional Chinese ceramic design. The bottle is placed on a textured paper surface with dramatic, soft side-lighting that highlights its craftsmanship. The background is a warm, minimalist cream color, creating a sophisticated and heritage-focused atmosphere." style="background-image: url(&quot;https://lh3.googleusercontent.com/aida-public/AB6AXuD9AkbiluMtstwizoG6W7F2XutDy3URE-16eZhrIY0ODzBLXpKjmq-NFRdRhQtm1VzVeEDSR6ol0iJMzchurmNFwYMFqsDfVj5pDwZEX6tD4GVQGqWcR-pjL4FDUJvKMNED1qJ9L3VSasSytdCFalqzQstbZ60zUiQaHSwsm1b58Zaj41uoE5I0Sw12FUlBy45VjcvSsGU7yrKDq2QqyHzPtTyXitnZW1jzF1O072WnpvJFh2lk2BbHb6IVwzLLhehkdSyNzWARWUE&quot;);"></div>
</div>
<div class="flex-1">
<h3 class="font-headline-md text-body-lg text-ink-black mb-1">杜康·白水古酿 500ml</h3>
<p class="text-label-md text-subtle-gray mb-2">数量: x1</p>
<div class="flex items-center gap-1.5">
<span class="material-symbols-outlined text-[16px] text-subtle-gray">call</span>
<span class="text-body-md text-on-surface-variant">138****8888</span>
</div>
</div>
</div>
<div class="bg-surface-container-low/50 p-3 rounded-lg">
<p class="text-[10px] text-subtle-gray font-bold mb-1 uppercase">说明</p>
<p class="text-body-md text-on-surface-variant">快递破损,瓶身裂缝,酒液渗漏,申请补发一瓶同款产品。</p>
</div>
<div class="flex gap-3 pt-2">
<button class="flex-1 py-2.5 rounded-xl border border-heritage-red text-heritage-red font-label-md active:scale-95 transition-transform">查看详情</button>
</div>
</div>
</div>
<!-- Card 2: Refund -->
<!-- Empty Space For Nav -->
<div class="h-10"></div>
</div>
</main>
<!-- BottomNavBar -->
<nav class="fixed bottom-0 left-0 w-full flex justify-around items-center h-20 px-4 pb-safe bg-surface-container-lowest border-t border-outline-variant/10 shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] z-50 rounded-t-xl">
<button class="flex flex-col items-center justify-center text-subtle-gray hover:text-heritage-red active:scale-90 transition-transform duration-200">
<span class="material-symbols-outlined">dashboard</span>
<span class="font-label-md text-label-md">管理中心</span>
</button>
<button class="flex flex-col items-center justify-center text-subtle-gray hover:text-heritage-red active:scale-90 transition-transform duration-200">
<span class="material-symbols-outlined">storefront</span>
<span class="font-label-md text-label-md">门店审核</span>
</button>
<button class="flex flex-col items-center justify-center text-subtle-gray hover:text-heritage-red active:scale-90 transition-transform duration-200">
<span class="material-symbols-outlined">account_balance_wallet</span>
<span class="font-label-md text-label-md">结算中心</span>
</button>
<button class="flex flex-col items-center justify-center text-heritage-red bg-secondary-container/20 rounded-xl px-4 py-1 active:scale-90 transition-transform duration-200">
<span class="material-symbols-outlined" style="font-variation-settings: &quot;FILL&quot; 1;">support_agent</span>
<span class="font-label-md text-label-md">客服中心</span>
</button>
</nav>
<script>
// Simple Interaction logic
document.querySelectorAll('nav button').forEach(btn => {
btn.addEventListener('click', function() {
// In a real app, this would handle routing
console.log('Navigated to: ' + this.innerText);
});
});
// Search highlight interaction
const searchInput = document.querySelector('input');
searchInput.addEventListener('focus', () => {
searchInput.parentElement.classList.add('ring-2', 'ring-heritage-red/10');
});
searchInput.addEventListener('blur', () => {
searchInput.parentElement.classList.remove('ring-2', 'ring-heritage-red/10');
});
</script>
</body></html>