332 lines
17 KiB
HTML
332 lines
17 KiB
HTML
<!DOCTYPE html><html class="light" lang="zh-CN" style="width: 390px; height: 1312px; overflow: hidden; position: relative;"><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=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">
|
|
<!-- Use the exact Tailwind Config provided -->
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"secondary-container": "#fed65b",
|
|
"surface": "#faf9f7",
|
|
"subtle-gray": "#999999",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"surface-bright": "#faf9f7",
|
|
"primary-container": "#a61d24",
|
|
"error": "#ba1a1a",
|
|
"aged-amber": "#FFBF00",
|
|
"outline": "#8d706e",
|
|
"surface-container": "#efeeec",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"tertiary": "#37413b",
|
|
"on-error": "#ffffff",
|
|
"status-blue": "#2A6EBB",
|
|
"on-surface": "#1a1c1b",
|
|
"error-container": "#ffdad6",
|
|
"inverse-primary": "#ffb3ae",
|
|
"ink-black": "#1A1A1A",
|
|
"heritage-red": "#A61D24",
|
|
"on-surface-variant": "#5a413f",
|
|
"on-background": "#1a1c1b",
|
|
"surface-container-high": "#e9e8e6",
|
|
"on-primary-fixed": "#410004",
|
|
"success-green": "#2D6A4F",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"on-secondary-fixed": "#241a00",
|
|
"on-secondary-container": "#745c00",
|
|
"on-error-container": "#93000a",
|
|
"inverse-surface": "#2f3130",
|
|
"primary": "#820012",
|
|
"surface-variant": "#e3e2e0",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"tertiary-container": "#4e5852",
|
|
"background": "#faf9f7",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"surface-container-low": "#f4f3f1",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"on-primary-container": "#ffb9b4",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"on-primary": "#ffffff",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"outline-variant": "#e2bebc",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"on-tertiary": "#ffffff",
|
|
"surface-tint": "#b3272c",
|
|
"surface-dim": "#dadad8",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"on-secondary": "#ffffff",
|
|
"secondary": "#735c00"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"gutter-card": "12px",
|
|
"stack-sm": "4px",
|
|
"stack-md": "16px",
|
|
"stack-lg": "32px",
|
|
"base": "8px",
|
|
"margin-page": "20px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-lg": ["Manrope"],
|
|
"label-md": ["Inter"],
|
|
"headline-md": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"coupon-amount": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"]
|
|
},
|
|
"fontSize": {
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
background-color: #faf9f7;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
vertical-align: middle;
|
|
}
|
|
.glass-effect {
|
|
backdrop-filter: blur(10px);
|
|
background: rgba(255, 255, 255, 0.8);
|
|
}
|
|
.tonal-shadow {
|
|
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
.ticket-notch {
|
|
position: relative;
|
|
}
|
|
.ticket-notch::before, .ticket-notch::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-color: #faf9f7;
|
|
border-radius: 50%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
.ticket-notch::before { left: -6px; }
|
|
.ticket-notch::after { right: -6px; }
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="antialiased text-on-background">
|
|
<!-- TopAppBar -->
|
|
<header class="bg-background dark:bg-background docked full-width top-0 sticky z-40 transition-colors duration-200 flex justify-between items-center px-margin-page w-full h-14">
|
|
<button class="flex items-center justify-center w-10 h-10 rounded-full hover:bg-surface-container transition-colors duration-200">
|
|
<span class="material-symbols-outlined text-heritage-red dark:text-inverse-primary" data-icon="arrow_back">arrow_back</span>
|
|
</button>
|
|
<h1 class="font-headline-md text-headline-md-mobile dark:text-on-background font-bold text-heritage-red">杜康好客</h1>
|
|
<button class="flex items-center justify-center w-10 h-10 rounded-full hover:bg-surface-container transition-colors duration-200">
|
|
<span class="material-symbols-outlined text-heritage-red dark:text-inverse-primary" data-icon="settings">settings</span>
|
|
</button>
|
|
</header>
|
|
<main class="pb-24">
|
|
<!-- Profile Header Section -->
|
|
<section class="px-margin-page pt-stack-md">
|
|
<div class="bg-surface-container-lowest p-stack-md rounded-xl tonal-shadow flex items-center space-x-stack-md border border-heritage-red/5">
|
|
<div class="relative">
|
|
<img class="w-16 h-16 rounded-full object-cover border-2 border-heritage-red/10" data-alt="A professional studio portrait of a distinguished Chinese business leader in a tailored dark suit. The lighting is soft and cinematic, highlighting a calm and confident expression. The background is a minimalist, warm off-white, reflecting a high-end heritage brand aesthetic with premium clarity and depth." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBsjzWQtbs4GqPdKFjln-x3niqTNfgG8Xat72e56Fbp-vxVJoWOBhk0yTXm7NRmUW_gZDtuyYx35paB26UfCucXtEVGDRLkkUseLuGJTQwyglYXkeVE-E6eKmh0BdI9Ix9dPmvabDdFnj0wBsN_PIjbjjBwhTd_jcnN3bhxhxtebSFIjUdq4SYD3fN1U7b9mlJZI-cHU5KJdGecyZUBulzjk5J0x3_tguDWm059lFX6GvEp2F8Cs4vvuDRcMOGSYov6U-n0Mo_zcbY">
|
|
<div class="absolute -bottom-1 -right-1 bg-aged-amber text-on-secondary px-2 py-0.5 rounded-full border-2 border-white shadow-sm flex items-center">
|
|
<span class="material-symbols-outlined text-[12px]" data-icon="stars" style="font-variation-settings: 'FILL' 1;">stars</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex-1">
|
|
<div class="flex items-center justify-between">
|
|
<h2 class="font-headline-lg-mobile text-headline-lg-mobile text-ink-black">张建国</h2>
|
|
<span class="bg-secondary-container text-on-secondary-container px-2 py-1 rounded-lg font-label-md text-[10px] uppercase tracking-wider">城市合伙人</span>
|
|
</div>
|
|
<div class="flex items-center mt-1 text-subtle-gray space-x-1">
|
|
<span class="material-symbols-outlined text-body-md" data-icon="location_on">location_on</span>
|
|
<span class="font-body-md text-body-md">洛阳市 · 涧西区</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Financial Section -->
|
|
<section class="mt-stack-lg px-margin-page">
|
|
<div class="flex items-center justify-between mb-stack-sm">
|
|
<h3 class="font-headline-md text-headline-md text-ink-black">资产概览</h3>
|
|
<button class="text-heritage-red font-label-md flex items-center">
|
|
明细 <span class="material-symbols-outlined text-[16px]" data-icon="chevron_right">chevron_right</span>
|
|
</button>
|
|
</div>
|
|
<!-- Bento-style Financial Cards -->
|
|
<div class="mb-3 bg-heritage-red/5 border border-heritage-red/10 p-4 rounded-xl flex items-center justify-between active:opacity-80 transition-colors">
|
|
<div class="flex items-center space-x-3">
|
|
<div class="w-10 h-10 rounded-full bg-heritage-red/10 flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="pending_actions">pending_actions</span>
|
|
</div>
|
|
<div>
|
|
<p class="font-body-lg text-ink-black font-medium">待确认账单</p>
|
|
<p class="text-label-md text-heritage-red">您有 3 笔账单待确认</p>
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="chevron_right">chevron_right</span>
|
|
</div><div class="grid grid-cols-2 gap-3">
|
|
<div class="col-span-2 bg-heritage-red p-stack-md rounded-xl text-white shadow-lg relative overflow-hidden">
|
|
|
|
<div class="relative z-10">
|
|
<p class="font-label-md opacity-80 mb-1">账户余额 (元)</p>
|
|
<div class="flex items-baseline justify-between">
|
|
<span class="font-coupon-amount text-headline-xl">128,450.00</span>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bg-surface-container-lowest p-stack-md rounded-xl tonal-shadow border border-heritage-red/5">
|
|
<p class="font-label-md text-subtle-gray mb-1">待结算</p>
|
|
<div class="flex items-center space-x-1">
|
|
<span class="text-heritage-red font-headline-md">¥</span>
|
|
<span class="font-headline-md text-ink-black">12,680.00</span>
|
|
</div>
|
|
</div>
|
|
<div class="bg-surface-container-lowest p-stack-md rounded-xl tonal-shadow border border-heritage-red/5">
|
|
<p class="font-label-md text-subtle-gray mb-1">提现记录</p>
|
|
<div class="flex items-center justify-between">
|
|
<span class="font-headline-md text-ink-black">15 笔</span>
|
|
<span class="material-symbols-outlined text-subtle-gray" data-icon="history">history</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Management Tools -->
|
|
<section class="mt-stack-lg px-margin-page">
|
|
<h3 class="font-headline-md text-headline-md text-ink-black mb-stack-sm">运营管理</h3>
|
|
<div class="bg-surface-container-lowest rounded-xl tonal-shadow overflow-hidden border border-heritage-red/5">
|
|
<!-- Tool Item -->
|
|
<div class="flex items-center justify-between p-4 border-b border-surface-container hover:bg-surface-container-low transition-colors group">
|
|
<div class="flex items-center space-x-3">
|
|
<div class="w-10 h-10 rounded-full bg-heritage-red/5 flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="badge">badge</span>
|
|
</div>
|
|
<span class="font-body-lg text-ink-black">我的员工</span>
|
|
</div>
|
|
<div class="flex items-center space-x-2">
|
|
<span class="bg-heritage-red/10 text-heritage-red px-2 py-0.5 rounded-full font-label-md">12人</span>
|
|
<span class="material-symbols-outlined text-subtle-gray group-hover:translate-x-1 transition-transform" data-icon="chevron_right">chevron_right</span>
|
|
</div>
|
|
</div>
|
|
<!-- Tool Item -->
|
|
<div class="flex items-center justify-between p-4 border-b border-surface-container hover:bg-surface-container-low transition-colors group">
|
|
<div class="flex items-center space-x-3">
|
|
<div class="w-10 h-10 rounded-full bg-heritage-red/5 flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="store">store</span>
|
|
</div>
|
|
<span class="font-body-lg text-ink-black">门店审核记录</span>
|
|
</div>
|
|
<span class="material-symbols-outlined text-subtle-gray group-hover:translate-x-1 transition-transform" data-icon="chevron_right">chevron_right</span>
|
|
</div>
|
|
<!-- Tool Item -->
|
|
<div class="flex items-center justify-between p-4 hover:bg-surface-container-low transition-colors group">
|
|
<div class="flex items-center space-x-3">
|
|
<div class="w-10 h-10 rounded-full bg-heritage-red/5 flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="description">description</span>
|
|
</div>
|
|
<span class="font-body-lg text-ink-black">合同管理</span>
|
|
</div>
|
|
<div class="flex items-center space-x-2">
|
|
<span class="font-label-md text-status-blue">待续约</span>
|
|
<span class="material-symbols-outlined text-subtle-gray group-hover:translate-x-1 transition-transform" data-icon="chevron_right">chevron_right</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Support & Settings -->
|
|
<section class="mt-stack-lg px-margin-page">
|
|
|
|
<div class="bg-surface-container-lowest rounded-xl tonal-shadow overflow-hidden border border-heritage-red/5">
|
|
|
|
|
|
<button class="w-full flex items-center justify-center p-4 hover:bg-error-container/20 transition-colors group">
|
|
<span class="material-symbols-outlined text-error mr-2" data-icon="logout">logout</span>
|
|
<span class="font-body-lg text-error font-medium">退出登录</span>
|
|
</button>
|
|
</div>
|
|
</section>
|
|
<!-- Aesthetic Branding Element -->
|
|
<div class="mt-12 mb-8 flex flex-col items-center justify-center opacity-30">
|
|
<img class="w-16 h-16 grayscale mb-2" data-alt="A stylized minimalist watermark logo of ancient Chinese calligraphy representing Dukang liquor, rendered in a very subtle, pale earth-toned outline on a light background. The style is clean, editorial, and sophisticated." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCJwsfHcjEGuUXImV012a29rYlqzDwDjNeSws1D5Y7oC_uOjjjmhD1RrcmefngFfHHmPzTdlN_b7KTLp51B4-TGAv0OxhCKWnTCP5u1xyxT1nnzZEOt0EE2eAHBoHCqxi_lG0EG91n0gG9Wxzq0X2nnObleJSi5uJS1hiitpLFEuRfkiKEF1HuztSPXHjljT4m4AFIXfrSF2bBnFV9lFzsI5nOJll3M0YrLtUcqw0aYoishKp4aKybHJhlIv4LCkO5wSlUU7YePpTE">
|
|
<p class="font-label-md text-subtle-gray">传承千年 · 杜康好客</p>
|
|
</div>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 w-full z-50 flex justify-around items-center px-4 py-2 h-16 bg-surface dark:bg-surface-dim shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] rounded-t-xl">
|
|
<a class="flex flex-col items-center justify-center text-subtle-gray dark:text-on-surface-variant active:opacity-80 scale-95 transition-transform duration-150" href="#">
|
|
<span class="material-symbols-outlined" data-icon="home">home</span>
|
|
<span class="font-label-md text-label-md">首页</span>
|
|
</a>
|
|
<a class="flex flex-col items-center justify-center text-subtle-gray dark:text-on-surface-variant active:opacity-80 scale-95 transition-transform duration-150" href="#">
|
|
<span class="material-symbols-outlined" data-icon="work">work</span>
|
|
<span class="font-label-md text-label-md">门店管理</span>
|
|
</a>
|
|
<a class="flex flex-col items-center justify-center text-heritage-red dark:text-primary-fixed-dim font-bold active:opacity-80 scale-95 transition-transform duration-150" href="#">
|
|
<span class="material-symbols-outlined" data-icon="account_circle" style="font-variation-settings: 'FILL' 1;">account_circle</span>
|
|
<span class="font-label-md text-label-md">合伙人中心</span>
|
|
</a>
|
|
</nav>
|
|
<script>
|
|
// Simple micro-interaction for list items
|
|
document.querySelectorAll('.group').forEach(item => {
|
|
item.addEventListener('touchstart', function() {
|
|
this.classList.add('bg-surface-container-low');
|
|
});
|
|
item.addEventListener('touchend', function() {
|
|
setTimeout(() => {
|
|
this.classList.remove('bg-surface-container-low');
|
|
}, 100);
|
|
});
|
|
});
|
|
|
|
// Sticky header transition logic
|
|
window.addEventListener('scroll', () => {
|
|
const header = document.querySelector('header');
|
|
if (window.scrollY > 20) {
|
|
header.classList.add('shadow-md', 'glass-effect');
|
|
} else {
|
|
header.classList.remove('shadow-md', 'glass-effect');
|
|
}
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="snapdom-sandbox" data-snapdom-sandbox="true" aria-hidden="true" style="position: absolute; left: -9999px; top: -9999px; width: 0px; height: 0px; overflow: hidden;"></div></body></html> |