245 lines
13 KiB
HTML
245 lines
13 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=Manrope:wght@400;500;600;700&family=Be+Vietnam+Pro:wght@400;500&family=Inter: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">
|
|
<!-- Tailwind Config Verbatim -->
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"outline": "#8d706e",
|
|
"tertiary-container": "#4e5852",
|
|
"primary": "#820012",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"on-primary": "#ffffff",
|
|
"surface": "#faf9f7",
|
|
"on-secondary-fixed": "#241a00",
|
|
"success-green": "#2D6A4F",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"aged-amber": "#FFBF00",
|
|
"inverse-surface": "#2f3130",
|
|
"heritage-red": "#A61D24",
|
|
"surface-container": "#efeeec",
|
|
"inverse-primary": "#ffb3ae",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-surface-variant": "#5a413f",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"on-error-container": "#93000a",
|
|
"surface-tint": "#b3272c",
|
|
"surface-container-low": "#f4f3f1",
|
|
"outline-variant": "#e2bebc",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"subtle-gray": "#999999",
|
|
"primary-container": "#a61d24",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"on-primary-container": "#ffb9b4",
|
|
"secondary": "#735c00",
|
|
"status-blue": "#2A6EBB",
|
|
"on-primary-fixed": "#410004",
|
|
"on-tertiary": "#ffffff",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"on-background": "#1a1c1b",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"ink-black": "#1A1A1A",
|
|
"surface-container-high": "#e9e8e6",
|
|
"background": "#faf9f7",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"error": "#ba1a1a",
|
|
"on-secondary": "#ffffff",
|
|
"surface-dim": "#dadad8",
|
|
"on-error": "#ffffff",
|
|
"surface-variant": "#e3e2e0",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"on-surface": "#1a1c1b",
|
|
"surface-container-lowest": "#ffffff",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"tertiary": "#37413b",
|
|
"on-secondary-container": "#745c00",
|
|
"surface-bright": "#faf9f7",
|
|
"error-container": "#ffdad6",
|
|
"secondary-container": "#fed65b"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"base": "8px",
|
|
"margin-page": "20px",
|
|
"stack-md": "16px",
|
|
"gutter-card": "12px",
|
|
"stack-sm": "4px",
|
|
"stack-lg": "32px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-xl": ["Manrope"],
|
|
"headline-lg": ["Manrope"],
|
|
"coupon-amount": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"label-md": ["Inter"],
|
|
"headline-md": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</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;
|
|
}
|
|
.step-line {
|
|
height: 2px;
|
|
flex-grow: 1;
|
|
margin: 0 12px;
|
|
}
|
|
.card-shadow {
|
|
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="font-body-md text-on-surface">
|
|
<!-- TopAppBar - Map style_ keys from JSON -->
|
|
<header class="fixed top-0 w-full flex justify-between items-center px-margin-page h-14 bg-surface dark:bg-surface-dim shadow-sm z-50">
|
|
<div class="flex items-center">
|
|
<button class="material-symbols-outlined text-primary dark:text-primary-fixed-dim hover:bg-surface-container-high transition-colors p-2 rounded-full">menu</button>
|
|
</div>
|
|
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">杜康合作伙伴</h1>
|
|
<div class="flex items-center">
|
|
|
|
</div>
|
|
</header>
|
|
<main class="pt-20 pb-32 px-margin-page max-w-lg mx-auto">
|
|
<!-- StepIndicator -->
|
|
<div class="flex items-center justify-between mb-stack-lg px-2">
|
|
<div class="flex flex-col items-center">
|
|
<div class="w-8 h-8 rounded-full bg-heritage-red text-white flex items-center justify-center mb-1">
|
|
<span class="material-symbols-outlined text-[18px]">check</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md text-heritage-red">基本信息</span>
|
|
</div>
|
|
<div class="step-line bg-heritage-red"></div>
|
|
<div class="flex flex-col items-center">
|
|
<div class="w-8 h-8 rounded-full bg-heritage-red text-white flex items-center justify-center mb-1">
|
|
<span class="material-symbols-outlined text-[18px]">check</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md text-heritage-red">照片上传</span>
|
|
</div>
|
|
<div class="step-line bg-surface-container-high"></div>
|
|
<div class="flex flex-col items-center">
|
|
<div class="w-8 h-8 rounded-full bg-heritage-red text-white flex items-center justify-center mb-1 ring-4 ring-primary-fixed">
|
|
<span class="text-label-md font-bold">3</span>
|
|
</div>
|
|
<span class="font-label-md text-label-md text-heritage-red font-bold">结算资质</span>
|
|
</div>
|
|
</div>
|
|
<!-- Section Title -->
|
|
<div class="flex items-center gap-2 mb-stack-md">
|
|
<span class="material-symbols-outlined text-heritage-red">account_balance</span>
|
|
<h2 class="font-headline-md text-headline-md text-ink-black">结算信息配置</h2>
|
|
</div>
|
|
<!-- Form Section -->
|
|
<div class="bg-surface-container-lowest rounded-xl p-stack-md card-shadow border border-surface-container mb-stack-md space-y-stack-md">
|
|
<!-- FormField: 户主姓名 -->
|
|
<div class="space-y-stack-sm">
|
|
<label class="block font-label-md text-label-md text-on-surface-variant ml-1">户主姓名 *</label>
|
|
<input class="w-full h-12 px-4 rounded-lg bg-surface border-transparent focus:border-heritage-red focus:ring-0 text-on-surface placeholder-subtle-gray transition-all" placeholder="请输入银行卡实名姓名" type="text">
|
|
</div>
|
|
<!-- FormField: 银行卡号 -->
|
|
<div class="space-y-stack-sm">
|
|
<label class="block font-label-md text-label-md text-on-surface-variant ml-1">银行卡号 *</label>
|
|
<input class="w-full h-12 px-4 rounded-lg bg-surface border-transparent focus:border-heritage-red focus:ring-0 text-on-surface placeholder-subtle-gray transition-all" placeholder="请输入16-19位银行卡号" type="number">
|
|
</div>
|
|
<!-- FormField: 开户支行 -->
|
|
<div class="space-y-stack-sm">
|
|
<label class="block font-label-md text-label-md text-on-surface-variant ml-1">开户支行 *</label>
|
|
<input class="w-full h-12 px-4 rounded-lg bg-surface border-transparent focus:border-heritage-red focus:ring-0 text-on-surface placeholder-subtle-gray transition-all" placeholder="例如:中国工商银行洛阳分行" type="text">
|
|
</div>
|
|
</div>
|
|
<!-- InfoCard -->
|
|
<div class="bg-secondary-container bg-opacity-10 rounded-xl p-stack-md flex gap-3 border border-secondary-container border-opacity-20 mb-stack-lg">
|
|
<span class="material-symbols-outlined text-secondary shrink-0">info</span>
|
|
<p class="font-body-md text-body-md text-on-secondary-container">
|
|
请确保银行卡信息准确,以免影响每月的餐费结算。结算将按合同约定账期执行。
|
|
</p>
|
|
</div>
|
|
<!-- BrandWatermark -->
|
|
<div class="flex flex-col items-center justify-center opacity-30 mt-12 py-8">
|
|
<img class="w-12 h-12 mb-2 grayscale brightness-50" data-alt="A sophisticated digital rendering of a traditional Chinese red wax seal featuring the characters for Dukang in elegant calligraphy. The seal sits on a textured, off-white handmade paper background with subtle fiber inclusions. The lighting is warm and directional, casting a soft shadow that gives the seal a tactile, three-dimensional presence. The overall mood is one of heritage, authority, and timeless quality." src="https://lh3.googleusercontent.com/aida-public/AB6AXuATNhMs0RuZOyG8YJHEMtebj2ZjEwfq-dCbKPXCakqUtR0Ld1DUbWQcmLZqVqU99TxQuEL-chBTjyRtPM3MZqdmhti1CWH8GVx8HfzwsIo2i7P4UY6yWpwFesbI5BqWjXTfjpSIdJ-7lMltW5-f4psvWIwG9Pbrm7LV_L046rXs04u-_de3kGB3TUY72E-g3WRFsE9YoDf2se9wOuQaW3ic6tI9mGpKLDyXolj7bfZ64nt-x0eUmrl1Dnc5iTM60UJjcgUo6wWQzoA">
|
|
<p class="font-headline-lg-mobile text-headline-lg-mobile tracking-widest text-subtle-gray font-light">杜康 · 传承千年好客</p>
|
|
</div>
|
|
</main>
|
|
<!-- Bottom Action Bar (Contextual override for Shell) -->
|
|
<nav class="fixed bottom-0 left-0 w-full h-20 bg-surface-container-lowest flex items-center px-margin-page gap-4 shadow-[0px_-4px_20px_rgba(0,0,0,0.05)] z-50">
|
|
<button class="flex-1 h-12 rounded-xl border border-outline-variant text-on-surface-variant font-label-md text-label-md hover:bg-surface-container-low transition-colors active:scale-95 duration-200">
|
|
上一步
|
|
</button>
|
|
<button class="flex-[2] h-12 rounded-xl bg-heritage-red text-white font-headline-md text-headline-md shadow-lg shadow-primary/20 active:opacity-90 active:scale-95 transition-all duration-200">
|
|
提交审核
|
|
</button>
|
|
</nav>
|
|
<!-- BottomNavBar (Hidden for transactional flow) -->
|
|
<!-- Suppressed per "The Destination Rule" - Task-focused page with back action -->
|
|
<script>
|
|
// Micro-interaction for input focus
|
|
document.querySelectorAll('input').forEach(input => {
|
|
input.addEventListener('focus', () => {
|
|
input.parentElement.classList.add('scale-[1.01]');
|
|
});
|
|
input.addEventListener('blur', () => {
|
|
input.parentElement.classList.remove('scale-[1.01]');
|
|
});
|
|
});
|
|
|
|
// Simple validation simulation
|
|
const submitBtn = document.querySelector('button.bg-heritage-red');
|
|
submitBtn.addEventListener('click', () => {
|
|
const inputs = document.querySelectorAll('input');
|
|
let allFilled = true;
|
|
inputs.forEach(i => {
|
|
if(!i.value) {
|
|
i.classList.add('border-error');
|
|
allFilled = false;
|
|
} else {
|
|
i.classList.remove('border-error');
|
|
}
|
|
});
|
|
|
|
if(allFilled) {
|
|
submitBtn.innerHTML = '<span class="material-symbols-outlined animate-spin">progress_activity</span> 提交中...';
|
|
setTimeout(() => {
|
|
alert('提交成功!我们将会在3个工作日内完成审核。');
|
|
submitBtn.textContent = '提交审核';
|
|
}, 2000);
|
|
}
|
|
});
|
|
</script>
|
|
|
|
|
|
</body></html> |