Files
dukang/pages/_archive/数据周报页_中文版_9383549f/code.html
T
2026-06-30 10:33:56 +08:00

331 lines
16 KiB
HTML

<!DOCTYPE html><html lang="zh-CN" style="width: 390px; height: 1239px; overflow: hidden; position: relative;"><head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" 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&amp;display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&amp;family=Inter:wght@400;500&amp;family=Be+Vietnam+Pro:wght@400;500&amp;display=swap" rel="stylesheet">
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.notch-left, .notch-right {
position: relative;
}
.notch-left::before, .notch-right::after {
content: '';
position: absolute;
top: 50%;
width: 8px;
height: 16px;
background: #faf9f7;
transform: translateY(-50%);
}
.notch-left::before { left: -4px; border-radius: 0 8px 8px 0; }
.notch-right::after { right: -4px; border-radius: 8px 0 0 8px; }
.custom-scrollbar::-webkit-scrollbar { display: none; }
.custom-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
</style>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"tertiary-fixed": "#dae5dd",
"on-primary": "#ffffff",
"secondary-fixed": "#ffe088",
"aged-amber": "#FFBF00",
"tertiary-container": "#4e5852",
"surface-container": "#efeeec",
"inverse-on-surface": "#f1f1ef",
"primary-container": "#a61d24",
"heritage-red": "#A61D24",
"on-secondary-fixed": "#241a00",
"surface-container-low": "#f4f3f1",
"surface-container-highest": "#e3e2e0",
"tertiary-fixed-dim": "#bec9c2",
"subtle-gray": "#999999",
"on-primary-container": "#ffb9b4",
"on-primary-fixed": "#410004",
"inverse-primary": "#ffb3ae",
"primary-fixed-dim": "#ffb3ae",
"error": "#ba1a1a",
"on-background": "#1a1c1b",
"secondary": "#735c00",
"on-error-container": "#93000a",
"on-primary-fixed-variant": "#910817",
"on-error": "#ffffff",
"outline": "#8d706e",
"surface-container-lowest": "#ffffff",
"on-secondary": "#ffffff",
"surface-container-high": "#e9e8e6",
"surface-variant": "#e3e2e0",
"background": "#faf9f7",
"secondary-fixed-dim": "#e9c349",
"on-surface": "#1a1c1b",
"inverse-surface": "#2f3130",
"surface-tint": "#b3272c",
"ink-black": "#1A1A1A",
"on-surface-variant": "#5a413f",
"success-green": "#2D6A4F",
"on-tertiary-fixed-variant": "#3f4943",
"outline-variant": "#e2bebc",
"status-blue": "#2A6EBB",
"surface-dim": "#dadad8",
"primary-fixed": "#ffdad7",
"on-secondary-fixed-variant": "#574500",
"surface": "#faf9f7",
"on-tertiary-container": "#c2cdc6",
"on-secondary-container": "#745c00",
"surface-bright": "#faf9f7",
"secondary-container": "#fed65b",
"error-container": "#ffdad6",
"on-tertiary": "#ffffff",
"primary": "#820012",
"on-tertiary-fixed": "#141e19",
"tertiary": "#37413b"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-sm": "4px",
"base": "8px",
"stack-lg": "32px",
"margin-page": "20px",
"gutter-card": "12px",
"stack-md": "16px"
},
"fontFamily": {
"label-md": ["Inter"],
"headline-lg": ["Manrope"],
"body-lg": ["Be Vietnam Pro"],
"headline-lg-mobile": ["Manrope"],
"coupon-amount": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"headline-xl": ["Manrope"],
"headline-md": ["Manrope"]
},
"fontSize": {
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}]
}
},
},
}
</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 App Bar -->
<header class="bg-surface dark:bg-on-background shadow-[0px_4px_20px_rgba(166,29,36,0.05)] w-full top-0 sticky z-40 transition-all">
<div class="flex justify-between items-center px-margin-page h-16 w-full max-w-7xl mx-auto">
<button class="text-heritage-red hover:opacity-80 transition-opacity active:scale-95 duration-150">
<span class="material-symbols-outlined">arrow_back</span>
</button>
<h1 class="text-headline-md font-headline-md font-bold tracking-tight text-heritage-red">杜康合伙人</h1>
<button class="text-heritage-red hover:opacity-80 transition-opacity active:scale-95 duration-150">
</button>
</div>
</header>
<main class="px-margin-page pt-stack-md space-y-stack-md max-w-md mx-auto">
<!-- Page Title & Week Selector -->
<section class="space-y-base">
<h2 class="text-headline-lg-mobile font-headline-lg-mobile text-ink-black">经营数据周报</h2>
<div class="flex gap-stack-sm overflow-x-auto custom-scrollbar pb-base">
<div class="flex-none px-4 py-2 rounded-xl bg-heritage-red text-white font-label-md text-label-md shadow-md">
10月23日 - 10月29日
</div>
<div class="flex-none px-4 py-2 rounded-xl bg-surface-container text-on-surface-variant font-label-md text-label-md">
10月16日 - 10月22日
</div>
<div class="flex-none px-4 py-2 rounded-xl bg-surface-container text-on-surface-variant font-label-md text-label-md">
10月09日 - 10月15日
</div>
<div class="flex-none px-4 py-2 rounded-xl bg-surface-container text-on-surface-variant font-label-md text-label-md">
10月02日 - 10月08日
</div>
</div>
</section>
<!-- Summary Hero Card -->
<section class="relative overflow-hidden rounded-xl bg-white p-stack-md shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5">
<div class="absolute top-0 right-0 -mr-8 -mt-8 opacity-10">
<span class="material-symbols-outlined text-[120px] text-heritage-red">analytics</span>
</div>
<div class="relative z-10 space-y-base">
<div class="flex justify-between items-start">
<div>
<p class="text-label-md font-label-md text-subtle-gray uppercase tracking-wider">累计成交额 (GMV)</p>
<p class="text-headline-xl font-headline-xl text-heritage-red mt-1">¥1,284,500</p>
</div>
<div class="flex items-center gap-1 bg-success-green/10 text-success-green px-2 py-1 rounded-full">
<span class="material-symbols-outlined text-[14px]">trending_up</span>
<span class="text-label-md font-label-md">12.5%</span>
</div>
</div>
<div class="grid grid-cols-2 gap-stack-md pt-base border-t border-surface-container-highest">
<div>
<p class="text-label-md font-label-md text-subtle-gray">活跃门店</p>
<div class="flex items-end gap-1">
<span class="text-headline-md font-headline-md text-ink-black">152</span>
<span class="text-label-md font-label-md text-subtle-gray pb-0.5">/ 180</span>
</div>
</div>
<div>
<p class="text-label-md font-label-md text-subtle-gray">订单总量</p>
<p class="text-headline-md font-headline-md text-ink-black">3,842</p>
</div>
</div>
</div>
</section>
<!-- New Stores Progress -->
<section class="bg-white rounded-xl p-stack-md shadow-[0px_4px_20px_rgba(166,29,36,0.05)] space-y-stack-md">
<div class="flex justify-between items-center">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-aged-amber" style="font-variation-settings: 'FILL' 1;">storefront</span>
<h3 class="text-headline-md font-headline-md text-ink-black">本周新签约门店</h3>
</div>
<span class="text-headline-md font-headline-md text-aged-amber">14 <span class="text-label-md font-label-md text-subtle-gray">/ 20</span></span>
</div>
<div class="relative h-3 w-full bg-surface-container-highest rounded-full overflow-hidden">
<div class="absolute top-0 left-0 h-full bg-gradient-to-r from-heritage-red to-aged-amber rounded-full transition-all duration-1000" style="width: 70%;"></div>
</div>
<p class="text-label-md font-label-md text-subtle-gray italic">已完成本周目标的 70%。还差 6 家!</p>
</section>
<!-- Trend Chart -->
<section class="bg-white rounded-xl p-stack-md shadow-[0px_4px_20px_rgba(166,29,36,0.05)] space-y-stack-md">
<div class="flex justify-between items-center">
<h3 class="text-headline-md font-headline-md text-ink-black">每日成交趋势</h3>
<span class="text-label-md font-label-md text-subtle-gray">过去 7 天</span>
</div>
<div class="h-40 w-full flex items-end justify-between px-2 pt-4">
<div class="flex flex-col items-center gap-2 w-full">
<div class="flex items-end justify-around w-full h-24 gap-2">
<div class="w-2 bg-surface-container-highest rounded-t-full h-[40%]"></div>
<div class="w-2 bg-surface-container-highest rounded-t-full h-[55%]"></div>
<div class="w-2 bg-heritage-red/60 rounded-t-full h-[75%]"></div>
<div class="w-2 bg-heritage-red/40 rounded-t-full h-[60%]"></div>
<div class="w-2 bg-heritage-red/80 rounded-t-full h-[85%]"></div>
<div class="w-2 bg-heritage-red rounded-t-full h-[100%] shadow-sm"></div>
<div class="w-2 bg-aged-amber rounded-t-full h-[70%]"></div>
</div>
<div class="flex justify-around w-full text-[10px] text-subtle-gray font-label-md">
<span class="">周一</span><span class="">周二</span><span class="">周三</span><span class="">周四</span><span class="">周五</span><span class="">周六</span><span class="">周日</span>
</div>
</div>
</div>
</section>
<!-- Store Performance Ranking -->
<section class="space-y-base">
<div class="flex justify-between items-center">
<h3 class="text-headline-md font-headline-md text-ink-black">门店业绩排行</h3>
<button class="text-label-md font-label-md text-heritage-red flex items-center gap-1">
查看全部 <span class="material-symbols-outlined text-[14px]">arrow_forward</span>
</button>
</div>
<div class="space-y-base">
<!-- Rank 1 -->
<div class="flex items-center gap-stack-md bg-white p-base rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border-l-4 border-aged-amber">
<div class="w-10 h-10 rounded-full bg-aged-amber/10 flex items-center justify-center">
<span class="material-symbols-outlined text-aged-amber" style="font-variation-settings: 'FILL' 1;">workspace_premium</span>
</div>
<div class="flex-1">
<p class="font-body-lg text-body-lg text-ink-black font-semibold">龙渊御府</p>
<p class="text-label-md font-label-md text-subtle-gray">VIP 宴会旗舰店</p>
</div>
<div class="text-right">
<p class="text-body-lg font-headline-md text-heritage-red">¥42,800</p>
</div>
</div>
<!-- Rank 2 -->
<div class="flex items-center gap-stack-md bg-white p-base rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="w-10 h-10 rounded-full bg-surface-container flex items-center justify-center">
<span class="text-headline-md font-headline-md text-subtle-gray italic">2</span>
</div>
<div class="flex-1">
<p class="font-body-lg text-body-lg text-ink-black font-semibold">杜康文化名酒荟</p>
<p class="text-label-md font-label-md text-subtle-gray">品牌体验店</p>
</div>
<div class="text-right">
<p class="text-body-lg font-headline-md text-ink-black">¥38,400</p>
</div>
</div>
<!-- Rank 3 -->
<div class="flex items-center gap-stack-md bg-white p-base rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="w-10 h-10 rounded-full bg-surface-container flex items-center justify-center">
<span class="text-headline-md font-headline-md text-subtle-gray italic">3</span>
</div>
<div class="flex-1">
<p class="font-body-lg text-body-lg text-ink-black font-semibold">望月阁大酒楼</p>
<p class="text-label-md font-label-md text-subtle-gray">高端餐饮合作伙伴</p>
</div>
<div class="text-right">
<p class="text-body-lg font-headline-md text-ink-black">¥31,200</p>
</div>
</div>
</div>
</section>
<!-- Partner Insight Card -->
<section class="bg-surface-container-low rounded-xl p-stack-md border-2 border-dashed border-heritage-red/10 flex items-start gap-stack-md">
<span class="material-symbols-outlined text-heritage-red" style="font-variation-settings: 'FILL' 1;">tips_and_updates</span>
<div class="space-y-1">
<p class="font-headline-md text-body-md text-ink-black font-bold">合伙人经营策略</p>
<p class="text-body-md text-on-surface-variant leading-relaxed">
本周 GMV 增长了 12.5%,主要得益于“龙渊御府”的高频核销。建议招募更多类似的高端宴会厅以保持增长势头。
</p>
</div>
</section>
</main>
<!-- Bottom Navigation -->
<!-- Micro-interaction Script -->
<script>
document.addEventListener('DOMContentLoaded', () => {
// Animating the progress bar on load
const progressBar = document.querySelector('.bg-gradient-to-r');
if (progressBar) {
progressBar.style.width = '0%';
setTimeout(() => {
progressBar.style.width = '70%';
}, 300);
}
// Simple week selector interaction
const selectors = document.querySelectorAll('.flex-none.px-4.py-2');
selectors.forEach(selector => {
selector.addEventListener('click', () => {
selectors.forEach(s => {
s.classList.remove('bg-heritage-red', 'text-white', 'shadow-md');
s.classList.add('bg-surface-container', 'text-on-surface-variant');
});
selector.classList.remove('bg-surface-container', 'text-on-surface-variant');
selector.classList.add('bg-heritage-red', 'text-white', 'shadow-md');
});
});
});
</script>
</body></html>