Files
dukang/pages/_archive/总部管理登录页_711baaec/code.html
T
2026-06-30 10:33:56 +08:00

261 lines
14 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, maximum-scale=1.0, user-scalable=no" name="viewport">
<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&amp;family=Inter:wght@400;500;600&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": {
"primary-container": "#a61d24",
"on-primary-fixed": "#410004",
"subtle-gray": "#999999",
"success-green": "#2D6A4F",
"secondary-fixed-dim": "#e9c349",
"on-secondary": "#ffffff",
"surface-container-high": "#e9e8e6",
"outline-variant": "#e2bebc",
"on-tertiary-fixed-variant": "#3f4943",
"on-secondary-fixed-variant": "#574500",
"surface-container": "#efeeec",
"on-primary-fixed-variant": "#910817",
"surface-variant": "#e3e2e0",
"secondary-fixed": "#ffe088",
"inverse-surface": "#2f3130",
"surface-container-low": "#f4f3f1",
"tertiary-fixed-dim": "#bec9c2",
"tertiary": "#37413b",
"status-blue": "#2A6EBB",
"on-primary-container": "#ffb9b4",
"on-tertiary-fixed": "#141e19",
"inverse-on-surface": "#f1f1ef",
"tertiary-fixed": "#dae5dd",
"on-tertiary": "#ffffff",
"surface": "#faf9f7",
"error": "#ba1a1a",
"surface-container-lowest": "#ffffff",
"inverse-primary": "#ffb3ae",
"surface-bright": "#faf9f7",
"on-error": "#ffffff",
"secondary-container": "#fed65b",
"secondary": "#735c00",
"tertiary-container": "#4e5852",
"on-secondary-fixed": "#241a00",
"outline": "#8d706e",
"on-primary": "#ffffff",
"on-background": "#1a1c1b",
"background": "#faf9f7",
"primary-fixed": "#ffdad7",
"on-error-container": "#93000a",
"on-surface-variant": "#5a413f",
"heritage-red": "#A61D24",
"primary-fixed-dim": "#ffb3ae",
"ink-black": "#1A1A1A",
"primary": "#820012",
"on-tertiary-container": "#c2cdc6",
"aged-amber": "#FFBF00",
"surface-tint": "#b3272c",
"surface-container-highest": "#e3e2e0",
"error-container": "#ffdad6",
"surface-dim": "#dadad8",
"on-secondary-container": "#745c00",
"on-surface": "#1a1c1b"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-sm": "4px",
"stack-md": "16px",
"base": "8px",
"margin-page": "20px",
"gutter-card": "12px",
"stack-lg": "32px"
},
"fontFamily": {
"headline-xl": ["Manrope"],
"label-md": ["Inter"],
"body-lg": ["Be Vietnam Pro"],
"headline-lg-mobile": ["Manrope"],
"headline-lg": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"headline-md": ["Manrope"],
"coupon-amount": ["Manrope"]
},
"fontSize": {
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.heritage-gradient {
background: linear-gradient(135deg, #A61D24 0%, #820012 100%);
}
.input-focus-ring:focus-within {
border-color: #A61D24;
box-shadow: 0 0 0 1px rgba(166, 29, 36, 0.1);
}
.paper-texture {
background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}
.glass-panel {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="bg-background font-body-md text-on-background min-h-screen flex flex-col items-center justify-center relative overflow-hidden">
<!-- Atmospheric Background Layers -->
<div class="fixed inset-0 pointer-events-none z-0">
<div class="absolute top-[-10%] right-[-10%] w-[60%] h-[60%] rounded-full bg-heritage-red/5 blur-[120px]"></div>
<div class="absolute bottom-[-10%] left-[-10%] w-[50%] h-[50%] rounded-full bg-aged-amber/5 blur-[100px]"></div>
<div class="absolute inset-0 paper-texture opacity-20"></div>
</div>
<!-- Main Content Canvas -->
<main class="relative z-10 w-full max-w-md px-margin-page py-stack-lg flex flex-col animate-in fade-in slide-in-from-bottom-4 duration-1000">
<!-- TopHeader -->
<header class="flex flex-col items-center mb-10">
<div class="w-32 h-32 mb-4 flex items-center justify-center bg-white rounded-full shadow-[0px_4px_20px_rgba(166,29,36,0.1)] border border-heritage-red/10 p-2">
<img class="w-full h-full object-contain rounded-full" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBxC4t2rFfu-vWvugzBfnEV93y2tnY4lTB9ngky0MpZLh8FKBpCQUP9qTl-9CFqNQS0xuo4BPszpCUi8NWGjcASZ4YIS9s5pnQtg3gRU718qGhIpLwyj-q-8jdanmtVxK6rsUYE58bbf26kNCNNGX3GVHguTQK2T0zaWgJzupfAVs3CponsRLtsMmruGYHGrm-LG0kSk_o138U-yqgOs8nwkhkbLOXsUkPGrkAtfoMi-CqYm3j_8TNF6Uq0XW2TJKG2_8YVQVD3DGo" alt="杜康好客 Logo" style="transform: scale(1.1); transform-origin: center center;">
</div>
<h1 class="font-headline-lg-mobile text-headline-lg-mobile md:font-headline-lg md:text-headline-lg text-heritage-red tracking-tight font-bold">
杜康好客 · 总部管理
</h1>
</header>
<!-- WelcomeSection -->
<section class="mb-8 text-center">
<h2 class="font-headline-xl text-headline-xl text-on-surface mb-2">欢迎登录</h2>
<p class="font-body-lg text-body-lg text-subtle-gray">总部运营管理系统</p>
</section><section class="mb-8">
<div class="glass-panel rounded-xl p-6 shadow-lg border border-white/40">
<form class="flex flex-col gap-4">
<!-- Username Field -->
<div class="flex flex-col gap-2">
<label class="font-label-md text-label-md text-on-surface-variant px-1">账号/手机号</label>
<div class="relative flex items-center input-focus-ring bg-white/50 rounded-lg border border-outline-variant overflow-hidden">
<span class="material-symbols-outlined absolute left-3 text-subtle-gray">person</span>
<input type="text" placeholder="请输入账号" class="w-full bg-transparent border-none py-3 pl-10 pr-4 focus:ring-0 font-body-md text-on-surface" style="transition: 0.5s; opacity: 1; transform: translateY(0px);">
</div>
</div>
<!-- Password Field -->
<div class="flex flex-col gap-2">
<label class="font-label-md text-label-md text-on-surface-variant px-1">密码</label>
<div class="relative flex items-center input-focus-ring bg-white/50 rounded-lg border border-outline-variant overflow-hidden">
<span class="material-symbols-outlined absolute left-3 text-subtle-gray">lock</span>
<input id="password-input" type="password" placeholder="请输入密码" class="w-full bg-transparent border-none py-3 pl-10 pr-12 focus:ring-0 font-body-md text-on-surface" style="transition: 0.5s; opacity: 1; transform: translateY(0px);">
<button type="button" onclick="togglePassword()" class="absolute right-3 flex items-center justify-center text-subtle-gray hover:text-heritage-red transition-colors">
<span id="password-toggle-icon" class="material-symbols-outlined">visibility</span>
</button>
</div>
</div>
<!-- Options Row -->
<div class="flex items-center justify-between mt-1">
<label class="flex items-center gap-2 cursor-pointer">
<input type="checkbox" class="w-4 h-4 rounded border-outline-variant text-heritage-red focus:ring-heritage-red/20" style="transition: 0.5s; opacity: 1; transform: translateY(0px);">
<span class="font-label-md text-label-md text-on-surface-variant">记住账号</span>
</label>
<a href="#" class="font-label-md text-label-md text-heritage-red hover:underline">忘记密码?</a>
</div>
<!-- Submit Button -->
<button type="submit" class="heritage-gradient text-white rounded-lg py-4 w-full font-bold shadow-md active:scale-95 transition-all mt-6">
登录
</button><div class="flex items-center gap-4 my-6">
<div class="h-px flex-1 bg-outline-variant"></div>
<span class="font-label-md text-label-md text-subtle-gray">其他登录方式</span>
<div class="h-px flex-1 bg-outline-variant"></div>
</div>
<button type="button" class="flex items-center justify-center gap-2 bg-white border border-heritage-red/30 text-on-surface rounded-lg py-3 w-full font-bold shadow-sm hover:bg-heritage-red/5 active:scale-95 transition-all">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="#07C160">
<path d="M8.21 10.05c0-.46.38-.84.84-.84.46 0 .84.38.84.84 0 .46-.38.84-.84.84-.46 0-.84-.38-.84-.84zm6.1 0c0-.46.38-.84.84-.84.46 0 .84.38.84.84 0 .46-.38.84-.84.84-.46 0-.84-.38-.84-.84zM12 4C7.03 4 3 7.58 3 12c0 2.42 1.19 4.58 3.06 6.03l-.77 2.28 2.66-1.33c.64.18 1.33.28 2.05.28.17 0 .33-.01.5-.02-.16-.48-.25-.98-.25-1.51 0-2.9 2.69-5.25 6-5.25.26 0 .51.02.75.05C16.56 9.46 14.5 7.5 12 4zm7.5 8.75c-2.48 0-4.5 1.79-4.5 4s2.02 4 4.5 4c.54 0 1.05-.09 1.53-.25l1.97.98-.57-1.69c1.4-1.08 2.32-2.7 2.32-4.52 0-2.21-2.02-4-4.5-4zm-1.12 2.63c0-.35.28-.63.62-.63.35 0 .63.28.63.63 0 .35-.28.63-.63.63-.34 0-.62-.28-.62-.63zm3 0c0-.35.28-.63.63-.63.34 0 .62.28.62.63 0 .35-.28.63-.62.63-.35 0-.63-.28-.63-.63z"></path>
</svg>
<span class="font-body-md">微信快捷登录</span>
</button>
</form>
</div>
</section>
<!-- LoginForm Container -->
</main>
<!-- Footer -->
<footer class="fixed bottom-0 w-full py-8 text-center z-10 px-margin-page">
<p class="font-label-md text-label-md text-subtle-gray mb-1">
© 2026 山西领势酒业有限责任公司 · 总部
</p>
<p class="font-label-md text-label-md text-subtle-gray/60 flex items-center justify-center gap-1">
<span class="material-symbols-outlined text-[14px]">shield_lock</span>
安全管理系统 V1.0.0
</p>
</footer>
<!-- Decorative Corner Element -->
<div class="fixed top-0 left-0 p-8 opacity-40 pointer-events-none">
<div class="w-32 h-32 border-l border-t border-heritage-red/30"></div>
</div>
<div class="fixed bottom-0 right-0 p-8 opacity-40 pointer-events-none">
<div class="w-32 h-32 border-r border-b border-heritage-red/30"></div>
</div>
<script>
function togglePassword() {
const input = document.getElementById('password-input');
const icon = document.getElementById('password-toggle-icon');
if (input.type === 'password') {
input.type = 'text';
icon.innerText = 'visibility_off';
} else {
input.type = 'password';
icon.innerText = 'visibility';
}
}
// Add subtle animation on load
document.addEventListener('DOMContentLoaded', () => {
const formInputs = document.querySelectorAll('input');
formInputs.forEach((input, index) => {
input.style.opacity = '0';
input.style.transform = 'translateY(10px)';
setTimeout(() => {
input.style.transition = 'all 0.5s ease';
input.style.opacity = '1';
input.style.transform = 'translateY(0)';
}, 200 + (index * 100));
});
});
</script>
</body></html>