Files
dukang/pages/_archive/开城管理页_112c139b/code.html
T
2026-06-30 10:33:56 +08:00

310 lines
15 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=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": {
"surface-container-highest": "#e3e2e0",
"success-green": "#2D6A4F",
"inverse-primary": "#ffb3ae",
"on-secondary": "#ffffff",
"surface-bright": "#faf9f7",
"tertiary-fixed": "#dae5dd",
"on-tertiary-container": "#c2cdc6",
"on-primary-fixed-variant": "#910817",
"tertiary-container": "#4e5852",
"heritage-red": "#A61D24",
"inverse-on-surface": "#f1f1ef",
"surface-variant": "#e3e2e0",
"inverse-surface": "#2f3130",
"secondary-fixed": "#ffe088",
"on-tertiary-fixed-variant": "#3f4943",
"background": "#faf9f7",
"secondary": "#735c00",
"surface-container-low": "#f4f3f1",
"primary-container": "#a61d24",
"on-error-container": "#93000a",
"surface-dim": "#dadad8",
"on-error": "#ffffff",
"error": "#ba1a1a",
"tertiary-fixed-dim": "#bec9c2",
"primary": "#820012",
"surface": "#faf9f7",
"on-surface-variant": "#5a413f",
"on-primary-fixed": "#410004",
"on-tertiary": "#ffffff",
"surface-container": "#efeeec",
"primary-fixed-dim": "#ffb3ae",
"aged-amber": "#FFBF00",
"on-secondary-container": "#745c00",
"subtle-gray": "#999999",
"outline": "#8d706e",
"on-tertiary-fixed": "#141e19",
"outline-variant": "#e2bebc",
"surface-container-high": "#e9e8e6",
"secondary-fixed-dim": "#e9c349",
"status-blue": "#2A6EBB",
"on-background": "#1a1c1b",
"secondary-container": "#fed65b",
"error-container": "#ffdad6",
"on-secondary-fixed-variant": "#574500",
"on-surface": "#1a1c1b",
"on-secondary-fixed": "#241a00",
"primary-fixed": "#ffdad7",
"surface-container-lowest": "#ffffff",
"on-primary": "#ffffff",
"on-primary-container": "#ffb9b4",
"tertiary": "#37413b",
"ink-black": "#1A1A1A",
"surface-tint": "#b3272c"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-md": "16px",
"stack-sm": "4px",
"stack-lg": "32px",
"base": "8px",
"margin-page": "20px",
"gutter-card": "12px"
},
"fontFamily": {
"label-md": ["Inter"],
"coupon-amount": ["Manrope"],
"headline-lg-mobile": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"headline-lg": ["Manrope"],
"headline-md": ["Manrope"],
"headline-xl": ["Manrope"],
"body-lg": ["Be Vietnam Pro"]
},
"fontSize": {
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
body {
background-color: #faf9f7;
-webkit-tap-highlight-color: transparent;
}
.bento-card {
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
border: 1px solid rgba(166, 29, 36, 0.03);
}
.status-tag {
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
}
::-webkit-scrollbar {
display: none;
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="font-body-md text-on-surface">
<!-- TopAppBar -->
<header class="fixed top-0 w-full flex justify-between items-center px-margin-page h-14 bg-surface dark:bg-surface-dim z-50 shadow-sm">
<button class="w-10 h-10 flex items-center justify-start active:opacity-80 transition-opacity">
<span class="material-symbols-outlined text-primary dark:text-primary-fixed-dim">arrow_back</span>
</button>
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">开城管理</h1>
<button class="w-10 h-10 flex items-center justify-end active:opacity-80 transition-opacity">
<span class="material-symbols-outlined text-primary dark:text-primary-fixed-dim">add</span>
</button>
</header>
<!-- Main Content Area -->
<main class="pt-20 pb-24 px-margin-page space-y-stack-md">
<!-- Search & Filter Bar -->
<div class="relative flex items-center bg-white rounded-xl px-4 h-12 bento-card whitespace-nowrap">
<span class="material-symbols-outlined text-subtle-gray mr-3">search</span>
<input class="bg-transparent border-none focus:ring-0 text-body-md w-full placeholder:text-subtle-gray mr-3" placeholder="搜索城市或合伙人" type="text">
<span class="text-body-md font-semibold text-heritage-red active:opacity-80 transition-opacity">搜索</span>
</div>
<!-- City Stats Overview (Asymmetric Bento) -->
<div class="grid grid-cols-2 gap-3">
<div class="bg-primary text-white p-4 rounded-xl flex flex-col justify-between h-28 bento-card">
<span class="text-label-md opacity-80 uppercase tracking-wider">运营中城市</span>
<div class="flex items-end justify-between">
<span class="text-headline-xl font-headline-xl leading-none">24</span>
<span class="material-symbols-outlined opacity-30 text-4xl">location_city</span>
</div>
</div>
<div class="bg-white p-4 rounded-xl flex flex-col justify-between h-28 bento-card">
<span class="text-label-md text-subtle-gray uppercase tracking-wider">待开城申请</span>
<div class="flex items-end justify-between">
<span class="text-headline-xl font-headline-xl leading-none text-heritage-red">08</span>
<span class="material-symbols-outlined text-aged-amber text-4xl">pending_actions</span>
</div>
</div>
</div>
<!-- City List Section -->
<div class="space-y-4">
<!-- City Card 1 -->
<div class="bg-white rounded-xl overflow-hidden bento-card p-4">
<div class="flex justify-between items-start mb-4">
<div class="flex items-center gap-2">
<span class="font-headline-md text-headline-md text-ink-black">洛阳市</span>
<span class="status-tag bg-success-green/10 text-success-green">已开城</span>
</div>
<span class="material-symbols-outlined text-subtle-gray">more_horiz</span>
</div>
<div class="grid grid-cols-2 gap-y-4 gap-x-2 border-y border-surface-container py-4 mb-4">
<div class="space-y-1">
<p class="text-label-md text-subtle-gray">城市合伙人</p>
<p class="font-body-md font-semibold text-on-surface">张大为</p>
<p class="text-label-md text-subtle-gray">138 **** 9928</p>
</div>
<div class="space-y-1 text-right">
<p class="text-label-md text-subtle-gray">门店总数</p>
<p class="font-headline-md text-headline-md text-heritage-red">156</p>
</div>
<div class="col-span-2 bg-surface-container-low p-3 rounded-lg flex items-center justify-between">
<span class="text-label-md text-subtle-gray">累计流水 (GMV)</span>
<span class="font-body-lg text-body-lg font-bold text-ink-black">¥ 2,458,900.00</span>
</div>
</div>
<div class="flex gap-2">
<button class="flex-1 py-2 rounded-lg border border-outline-variant text-label-md font-semibold text-on-surface-variant hover:bg-surface-container-high transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">edit</span> 编辑
</button>
<button class="flex-1 py-2 rounded-lg border border-outline-variant text-label-md font-semibold text-on-surface-variant hover:bg-surface-container-high transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">pause_circle</span> 暂停
</button>
<button class="flex-1 py-2 rounded-lg bg-heritage-red text-white text-label-md font-semibold flex items-center justify-center gap-1 active:scale-95 transition-transform">
<span class="material-symbols-outlined text-sm">settings</span> 配置
</button>
</div>
</div>
<!-- City Card 2 -->
<div class="bg-white rounded-xl overflow-hidden bento-card p-4">
<div class="flex justify-between items-start mb-4">
<div class="flex items-center gap-2">
<span class="font-headline-md text-headline-md text-ink-black">西安市</span>
<span class="status-tag bg-aged-amber/10 text-aged-amber">暂停中</span>
</div>
<span class="material-symbols-outlined text-subtle-gray">more_horiz</span>
</div>
<div class="grid grid-cols-2 gap-y-4 gap-x-2 border-y border-surface-container py-4 mb-4">
<div class="space-y-1">
<p class="text-label-md text-subtle-gray">城市合伙人</p>
<p class="font-body-md font-semibold text-on-surface">王建国</p>
<p class="text-label-md text-subtle-gray">135 **** 2210</p>
</div>
<div class="space-y-1 text-right">
<p class="text-label-md text-subtle-gray">门店总数</p>
<p class="font-headline-md text-headline-md text-subtle-gray">84</p>
</div>
<div class="col-span-2 bg-surface-container-low p-3 rounded-lg flex items-center justify-between">
<span class="text-label-md text-subtle-gray">累计流水 (GMV)</span>
<span class="font-body-lg text-body-lg font-bold text-ink-black">¥ 980,500.00</span>
</div>
</div>
<div class="flex gap-2">
<button class="flex-1 py-2 rounded-lg border border-outline-variant text-label-md font-semibold text-on-surface-variant hover:bg-surface-container-high transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">edit</span> 编辑
</button>
<button class="flex-1 py-2 rounded-lg border border-heritage-red text-heritage-red text-label-md font-semibold hover:bg-heritage-red/5 transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">play_circle</span> 恢复
</button>
<button class="flex-1 py-2 rounded-lg bg-heritage-red text-white text-label-md font-semibold flex items-center justify-center gap-1 active:scale-95 transition-transform">
<span class="material-symbols-outlined text-sm">settings</span> 配置
</button>
</div>
</div>
<!-- City Card 3 (郑州市) -->
<div class="bg-white rounded-xl overflow-hidden bento-card p-4">
<div class="flex justify-between items-start mb-4">
<div class="flex items-center gap-2">
<span class="font-headline-md text-headline-md text-ink-black">郑州市</span>
<span class="status-tag bg-success-green/10 text-success-green">已开城</span>
</div>
<span class="material-symbols-outlined text-subtle-gray">more_horiz</span>
</div>
<div class="grid grid-cols-2 gap-y-4 gap-x-2 border-y border-surface-container py-4 mb-4">
<div class="space-y-1">
<p class="text-label-md text-subtle-gray">城市合伙人</p>
<p class="font-body-md font-semibold text-on-surface">李明华</p>
<p class="text-label-md text-subtle-gray">186 **** 0033</p>
</div>
<div class="space-y-1 text-right">
<p class="text-label-md text-subtle-gray">门店总数</p>
<p class="font-headline-md text-headline-md text-heritage-red">312</p>
</div>
<div class="col-span-2 bg-surface-container-low p-3 rounded-lg flex items-center justify-between">
<span class="text-label-md text-subtle-gray">累计流水 (GMV)</span>
<span class="font-body-lg text-body-lg font-bold text-ink-black">¥ 5,124,000.00</span>
</div>
</div>
<div class="flex gap-2">
<button class="flex-1 py-2 rounded-lg border border-outline-variant text-label-md font-semibold text-on-surface-variant hover:bg-surface-container-high transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">edit</span> 编辑
</button>
<button class="flex-1 py-2 rounded-lg border border-outline-variant text-label-md font-semibold text-on-surface-variant hover:bg-surface-container-high transition-colors flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-sm">pause_circle</span> 暂停
</button>
<button class="flex-1 py-2 rounded-lg bg-heritage-red text-white text-label-md font-semibold flex items-center justify-center gap-1 active:scale-95 transition-transform">
<span class="material-symbols-outlined text-sm">settings</span> 配置
</button>
</div>
</div>
</div>
</main>
<!-- BottomNavBar -->
<!-- Background Subtle Accents -->
<div class="fixed top-0 right-0 -z-10 w-64 h-64 bg-heritage-red/5 rounded-full blur-3xl"></div>
<div class="fixed bottom-20 left-0 -z-10 w-48 h-48 bg-aged-amber/5 rounded-full blur-3xl"></div>
<script>
// Micro-interaction for cards
document.querySelectorAll('.bento-card').forEach(card => {
card.addEventListener('touchstart', () => {
card.style.transform = 'scale(0.98)';
card.style.transition = 'transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1)';
});
card.addEventListener('touchend', () => {
card.style.transform = 'scale(1)';
});
});
</script>
</body></html>