199 lines
10 KiB
HTML
199 lines
10 KiB
HTML
<!DOCTYPE html><html lang="zh-CN"><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=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&family=Be+Vietnam+Pro:wght@400;500&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">
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"on-background": "#1a1c1b",
|
|
"error-container": "#ffdad6",
|
|
"background": "#faf9f7",
|
|
"tertiary": "#37413b",
|
|
"surface-bright": "#faf9f7",
|
|
"surface-variant": "#e3e2e0",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"on-secondary-container": "#745c00",
|
|
"on-surface-variant": "#5a413f",
|
|
"surface-container-high": "#e9e8e6",
|
|
"aged-amber": "#FFBF00",
|
|
"on-tertiary": "#ffffff",
|
|
"secondary": "#735c00",
|
|
"outline": "#8d706e",
|
|
"secondary-fixed": "#ffe088",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"error": "#ba1a1a",
|
|
"surface-tint": "#b3272c",
|
|
"on-error": "#ffffff",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"primary-fixed": "#ffdad7",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"on-primary-container": "#ffb9b4",
|
|
"on-error-container": "#93000a",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"inverse-surface": "#2f3130",
|
|
"surface-dim": "#dadad8",
|
|
"heritage-red": "#A61D24",
|
|
"outline-variant": "#e2bebc",
|
|
"surface-container-lowest": "#ffffff",
|
|
"subtle-gray": "#999999",
|
|
"tertiary-container": "#4e5852",
|
|
"secondary-container": "#fed65b",
|
|
"inverse-primary": "#ffb3ae",
|
|
"success-green": "#2D6A4F",
|
|
"primary-container": "#a61d24",
|
|
"on-primary-fixed": "#410004",
|
|
"primary": "#820012",
|
|
"on-primary": "#ffffff",
|
|
"on-surface": "#1a1c1b",
|
|
"surface": "#faf9f7",
|
|
"surface-container": "#efeeec",
|
|
"surface-container-low": "#f4f3f1",
|
|
"ink-black": "#1A1A1A",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"status-blue": "#2A6EBB",
|
|
"on-secondary-fixed": "#241a00",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"on-secondary": "#ffffff"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"margin-page": "20px",
|
|
"base": "8px",
|
|
"stack-md": "16px",
|
|
"stack-sm": "4px",
|
|
"gutter-card": "12px",
|
|
"stack-lg": "32px"
|
|
},
|
|
"fontFamily": {
|
|
"label-md": ["Inter"],
|
|
"headline-xl": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-md": ["Manrope"],
|
|
"headline-lg": ["Manrope"],
|
|
"coupon-amount": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
background-color: #faf9f7;
|
|
background-image:
|
|
radial-gradient(at 100% 0%, rgba(166, 29, 36, 0.03) 0px, transparent 50%),
|
|
radial-gradient(at 0% 100%, rgba(255, 191, 0, 0.03) 0px, transparent 50%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.glass-card {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="font-body-md text-on-background selection:bg-heritage-red selection:text-white">
|
|
<!-- Content Wrapper -->
|
|
<main class="flex-1 flex flex-col items-center justify-center px-margin-page py-stack-lg animate-in fade-in duration-700">
|
|
<!-- Top Area: Brand Identity -->
|
|
<header class="flex flex-col items-center mb-stack-lg space-y-stack-md text-center">
|
|
<div class="relative w-[120px] h-[120px] rounded-full overflow-hidden shadow-sm flex items-center justify-center bg-white border border-surface-container">
|
|
<img alt="杜康好客 Logo" class="w-full h-full object-cover" src="https://lh3.googleusercontent.com/aida-public/AB6AXuA9MEuvskCn6CviO6_-HdsuCwpPlM4__eFsLw2y3NtjGHvkJe_lqlBJNOP08Gm3b7HqfBiDpWm1T4InpgkuJte5ERbj49pbtE_0QLDDEty8DQC-yFxTqSNw3M4bzg0RTIqm8t2nrggVIhk4zi0VdbbBbDE3Q25zkmq9yBXQfo-ocfHUftnQxuWTM-Fri9ziXhRYDfYUpvCMQH7kyxvQrH19UPraYhL2eqO_8TJPOrWJgU9XttSSb2HKxCpCPARTRa7_UPEyly9HypA">
|
|
</div>
|
|
<div class="space-y-stack-sm">
|
|
<h1 class="font-headline-lg-mobile text-headline-lg-mobile text-heritage-red font-bold tracking-tight">杜康好客</h1>
|
|
<p class="font-label-md text-label-md text-subtle-gray tracking-[0.2em] uppercase">城市合伙人端</p>
|
|
</div>
|
|
</header>
|
|
<!-- Central Account Card -->
|
|
<section class="w-full max-w-sm mb-stack-lg">
|
|
<div class="glass-card rounded-xl p-stack-md shadow-[0px_4px_20px_rgba(166,29,36,0.05)] flex flex-col items-center space-y-stack-md relative overflow-hidden transition-all duration-300 hover:shadow-xl">
|
|
<!-- Status Badge -->
|
|
<div class="absolute top-0 right-0">
|
|
<div class="bg-aged-amber/10 text-aged-amber text-[10px] font-bold px-3 py-1 rounded-bl-xl tracking-wider">
|
|
已识别账号
|
|
</div>
|
|
</div>
|
|
<!-- User Avatar -->
|
|
<div class="mt-stack-sm">
|
|
<div class="w-20 h-20 rounded-full bg-surface-container flex items-center justify-center border-4 border-white shadow-inner">
|
|
<span class="material-symbols-outlined text-4xl text-subtle-gray" style="font-variation-settings: 'FILL' 1;">person</span>
|
|
</div>
|
|
</div>
|
|
<!-- Identity Details -->
|
|
<div class="text-center space-y-stack-sm">
|
|
<h2 class="font-headline-md text-headline-md text-on-background">李明 <span class="text-subtle-gray font-normal text-body-md">(郑州合伙人)</span></h2>
|
|
<p class="font-body-md text-body-md text-subtle-gray tracking-widest">138 **** 8888</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Action Buttons -->
|
|
<nav class="w-full max-w-sm space-y-stack-md">
|
|
<button class="w-full bg-heritage-red hover:bg-primary text-white font-headline-md text-headline-md py-4 rounded-xl shadow-lg transition-all duration-200 active:scale-[0.98] flex items-center justify-center space-x-2 group">
|
|
<span>一键登录</span>
|
|
<span class="material-symbols-outlined transition-transform duration-300 group-hover:translate-x-1">arrow_forward</span>
|
|
</button>
|
|
<button class="w-full bg-transparent text-on-surface-variant font-label-md text-label-md py-3 rounded-xl border border-transparent hover:border-outline-variant hover:bg-surface-container transition-all duration-200 active:opacity-70">
|
|
切换账号
|
|
</button>
|
|
</nav>
|
|
</main>
|
|
<!-- Footer Area -->
|
|
<footer class="py-stack-lg flex flex-col items-center justify-center">
|
|
<div class="flex items-center space-x-2 text-subtle-gray opacity-60">
|
|
<span class="material-symbols-outlined text-[16px]">verified_user</span>
|
|
<span class="font-label-md text-[10px] tracking-wider uppercase">Secured by Dukang Heritage</span>
|
|
</div>
|
|
<!-- Decorative bottom line -->
|
|
<div class="mt-4 w-24 h-[2px] bg-gradient-to-r from-transparent via-heritage-red/10 to-transparent"></div>
|
|
</footer>
|
|
<!-- Simple Interaction Script -->
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const loginBtn = document.querySelector('button.bg-heritage-red');
|
|
loginBtn.addEventListener('click', function() {
|
|
this.classList.add('opacity-80', 'cursor-wait');
|
|
const label = this.querySelector('span:first-child');
|
|
label.textContent = '登录中...';
|
|
|
|
// Mock redirection delay
|
|
setTimeout(() => {
|
|
label.textContent = '一键登录';
|
|
this.classList.remove('opacity-80', 'cursor-wait');
|
|
}, 2000);
|
|
});
|
|
});
|
|
</script>
|
|
</body></html> |