232 lines
12 KiB
HTML
232 lines
12 KiB
HTML
<!DOCTYPE html><html class="light" 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=Manrope:wght@400;500;600;700&family=Inter:wght@400;500;600&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">
|
|
<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": {
|
|
"tertiary": "#37413b",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"subtle-gray": "#999999",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"primary-fixed": "#ffdad7",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"aged-amber": "#FFBF00",
|
|
"on-secondary-fixed": "#241a00",
|
|
"on-surface": "#1a1c1b",
|
|
"on-background": "#1a1c1b",
|
|
"on-primary": "#ffffff",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"surface-container-high": "#e9e8e6",
|
|
"surface-dim": "#dadad8",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"on-secondary-container": "#745c00",
|
|
"background": "#faf9f7",
|
|
"secondary-fixed": "#ffe088",
|
|
"secondary-container": "#fed65b",
|
|
"on-secondary": "#ffffff",
|
|
"surface-container-low": "#f4f3f1",
|
|
"outline-variant": "#e2bebc",
|
|
"tertiary-container": "#4e5852",
|
|
"on-error-container": "#93000a",
|
|
"secondary": "#735c00",
|
|
"on-primary-container": "#ffb9b4",
|
|
"surface-container": "#efeeec",
|
|
"surface-bright": "#faf9f7",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"inverse-primary": "#ffb3ae",
|
|
"surface-variant": "#e3e2e0",
|
|
"on-surface-variant": "#5a413f",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"error-container": "#ffdad6",
|
|
"surface": "#faf9f7",
|
|
"outline": "#8d706e",
|
|
"surface-tint": "#b3272c",
|
|
"primary-container": "#a61d24",
|
|
"primary": "#820012",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"ink-black": "#1A1A1A",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"on-tertiary": "#ffffff",
|
|
"on-primary-fixed": "#410004",
|
|
"heritage-red": "#A61D24",
|
|
"success-green": "#2D6A4F",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"inverse-surface": "#2f3130",
|
|
"error": "#ba1a1a",
|
|
"on-error": "#ffffff",
|
|
"surface-container-lowest": "#ffffff",
|
|
"status-blue": "#2A6EBB"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"stack-md": "16px",
|
|
"base": "8px",
|
|
"stack-lg": "32px",
|
|
"margin-page": "20px",
|
|
"stack-sm": "4px",
|
|
"gutter-card": "12px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-lg": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"label-md": ["Inter"],
|
|
"coupon-amount": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-md": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"]
|
|
},
|
|
"fontSize": {
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.paper-texture {
|
|
background-color: #faf9f7;
|
|
background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
|
|
}
|
|
.red-glow {
|
|
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="paper-texture min-h-screen flex flex-col items-center justify-center p-margin-page text-on-surface" style="background-position: 1.59px 2.57px;">
|
|
<!-- Logo & Branding -->
|
|
<div class="mb-stack-lg text-center">
|
|
<div class="w-20 h-20 mx-auto mb-4 bg-heritage-red rounded-full flex items-center justify-center red-glow">
|
|
<span class="material-symbols-outlined text-white text-4xl" style="font-variation-settings: 'FILL' 1;">wine_bar</span>
|
|
</div>
|
|
<h1 class="font-headline-xl text-headline-xl tracking-tight text-heritage-red">杜康好客</h1>
|
|
<p class="font-headline-md text-headline-md text-subtle-gray mt-1">城市合伙人端</p>
|
|
</div>
|
|
<!-- Login Card -->
|
|
<main class="w-full max-w-md bg-surface-container-lowest rounded-xl p-stack-lg shadow-lg border border-surface-container-highest">
|
|
<h2 class="font-headline-lg-mobile text-headline-lg-mobile mb-stack-lg text-center text-ink-black">城市合伙人登录</h2>
|
|
<form class="space-y-stack-md" onsubmit="return false;">
|
|
<!-- Phone Input -->
|
|
<div class="relative">
|
|
<div class="absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none">
|
|
<span class="material-symbols-outlined text-subtle-gray text-[20px]">smartphone</span>
|
|
</div>
|
|
<input class="block w-full pl-11 pr-4 py-4 bg-background border-transparent rounded-xl font-body-md text-body-md focus:ring-2 focus:ring-heritage-red focus:border-transparent transition-all placeholder:text-subtle-gray" placeholder="请输入手机号" type="tel">
|
|
</div>
|
|
<!-- SMS Code Input -->
|
|
<div class="flex gap-2">
|
|
<div class="relative flex-grow">
|
|
<div class="absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none">
|
|
<span class="material-symbols-outlined text-subtle-gray text-[20px]">shield</span>
|
|
</div>
|
|
<input class="block w-full pl-11 pr-4 py-4 bg-background border-transparent rounded-xl font-body-md text-body-md focus:ring-2 focus:ring-heritage-red focus:border-transparent transition-all placeholder:text-subtle-gray" placeholder="验证码" type="text">
|
|
</div>
|
|
<button class="px-4 py-4 font-label-md text-label-md text-heritage-red bg-surface-container-low rounded-xl hover:bg-surface-container-high active:scale-95 transition-all whitespace-nowrap border border-outline-variant/20" type="button">
|
|
获取验证码
|
|
</button>
|
|
</div>
|
|
<!-- Login Button -->
|
|
<div class="flex items-center gap-2 mt-stack-md px-1">
|
|
<input class="w-4 h-4 rounded text-heritage-red focus:ring-heritage-red border-outline-variant" id="remember-me" type="checkbox">
|
|
<label class="font-body-md text-[12px] text-on-surface-variant" for="remember-me">
|
|
记住账号
|
|
</label>
|
|
</div><button class="w-full mt-stack-lg py-4 bg-heritage-red text-on-primary rounded-xl font-headline-md text-headline-md flex items-center justify-center gap-2 hover:opacity-90 active:scale-[0.98] transition-all shadow-md" type="submit">
|
|
登录
|
|
<span class="material-symbols-outlined">arrow_forward</span>
|
|
</button><!-- Divider -->
|
|
<div class="flex items-center gap-3 my-stack-md">
|
|
<div class="flex-grow h-px bg-outline-variant/20"></div>
|
|
<span class="text-subtle-gray font-label-md text-[12px]">其他登录方式</span>
|
|
<div class="flex-grow h-px bg-outline-variant/20"></div>
|
|
</div>
|
|
|
|
<!-- WeChat Login Button -->
|
|
<button type="button" class="w-full py-4 bg-surface-container-low border border-outline-variant/20 text-on-surface rounded-xl font-headline-md text-headline-md flex items-center justify-center gap-2 hover:bg-surface-container-high active:scale-[0.98] transition-all">
|
|
<svg class="w-6 h-6" viewBox="0 0 24 24" fill="#07C160">
|
|
<path d="M8.25 4.5C4.52 4.5 1.5 7.04 1.5 10.17c0 1.78.98 3.37 2.5 4.48l-.63 1.88 2.19-1.09c.84.24 1.74.38 2.69.38.25 0 .5 0 .75-.03-.16-.53-.25-1.09-.25-1.66 0-3.13 3.02-5.67 6.75-5.67.57 0 1.13.06 1.66.17C15.17 6.13 12 4.5 8.25 4.5zm10.5 6.33c-3.11 0-5.62 2.12-5.62 4.73 0 2.61 2.51 4.73 5.62 4.73.79 0 1.54-.14 2.24-.38l1.83.91-.53-1.57c1.27-.92 2.08-2.25 2.08-3.73 0-2.61-2.51-4.73-5.62-4.73z"></path>
|
|
</svg>
|
|
微信一键登录
|
|
</button>
|
|
<!-- Terms -->
|
|
<div class="flex items-start gap-3 mt-stack-md px-1">
|
|
<div class="pt-1">
|
|
<input class="w-4 h-4 rounded text-heritage-red focus:ring-heritage-red border-outline-variant" id="terms" type="checkbox">
|
|
</div>
|
|
<label class="font-body-md text-[12px] leading-tight text-on-surface-variant" for="terms">
|
|
我已阅读并同意
|
|
<a class="text-heritage-red font-semibold" href="#">《用户协议》</a> 与
|
|
<a class="text-heritage-red font-semibold" href="#">《隐私政策》</a>
|
|
</label>
|
|
</div>
|
|
</form>
|
|
</main>
|
|
<!-- Decoration / Ambient Background Images -->
|
|
<div class="fixed bottom-0 left-0 -z-10 opacity-10">
|
|
|
|
</div>
|
|
<!-- Footer -->
|
|
<footer class="mt-stack-lg flex flex-col items-center gap-2">
|
|
<div class="flex items-center gap-1.5 text-subtle-gray">
|
|
<span class="material-symbols-outlined text-[16px]">verified_user</span>
|
|
<span class="font-label-md text-[10px] tracking-widest uppercase">SECURED BY DUKANG HERITAGE</span>
|
|
</div>
|
|
<div class="w-12 h-0.5 bg-outline-variant/30 rounded-full"></div>
|
|
</footer>
|
|
<script>
|
|
// Micro-interaction for the "Get Code" button
|
|
const getCodeBtn = document.querySelector('button[type="button"]');
|
|
getCodeBtn.addEventListener('click', function() {
|
|
if (this.classList.contains('disabled')) return;
|
|
|
|
let seconds = 60;
|
|
const originalText = this.innerText;
|
|
this.classList.add('opacity-50', 'pointer-events-none');
|
|
|
|
const timer = setInterval(() => {
|
|
seconds--;
|
|
this.innerText = `${seconds}s 后重发`;
|
|
if (seconds <= 0) {
|
|
clearInterval(timer);
|
|
this.innerText = originalText;
|
|
this.classList.remove('opacity-50', 'pointer-events-none');
|
|
}
|
|
}, 1000);
|
|
});
|
|
|
|
// Background parallax effect
|
|
document.addEventListener('mousemove', (e) => {
|
|
const moveX = (e.clientX - window.innerWidth / 2) * 0.01;
|
|
const moveY = (e.clientY - window.innerHeight / 2) * 0.01;
|
|
document.querySelector('.paper-texture').style.backgroundPosition = `${moveX}px ${moveY}px`;
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body></html> |