Files
dukang/pages/partner/08_录入新门店_照片上传_feae43dc/code.html
T
2026-06-30 10:33:56 +08:00

253 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">
<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&amp;display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&amp;family=Be+Vietnam+Pro:wght@400;500;600&amp;family=Inter: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">
<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>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
display: inline-block;
vertical-align: middle;
}
.upload-dashed {
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%23A61D244D' stroke-width='2' stroke-dasharray='8%2c 8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
border-radius: 12px;
}
.step-line {
height: 2px;
flex-grow: 1;
background-color: #E2BEBC;
margin: 0 12px;
}
.step-line.active {
background-color: #A61D24;
}
</style>
</head>
<body class="bg-surface-container-low min-h-screen font-body-md text-on-surface">
<!-- Top AppBar -->
<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 gap-2">
<span class="material-symbols-outlined text-primary">arrow_back</span>
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">杜康合作伙伴</h1>
</div>
</header>
<main class="pt-20 pb-32 px-margin-page">
<!-- Step Indicator -->
<nav class="mb-stack-lg flex items-center justify-between">
<div class="flex flex-col items-center gap-2">
<div class="w-8 h-8 rounded-full bg-heritage-red text-white flex items-center justify-center">
<span class="material-symbols-outlined text-sm">check</span>
</div>
<span class="font-label-md text-label-md text-on-surface-variant">基本信息</span>
</div>
<div class="step-line active"></div>
<div class="flex flex-col items-center gap-2">
<div class="w-8 h-8 rounded-full bg-heritage-red text-white flex items-center justify-center font-bold">2</div>
<span class="font-label-md text-label-md text-heritage-red font-semibold">照片上传</span>
</div>
<div class="step-line"></div>
<div class="flex flex-col items-center gap-2">
<div class="w-8 h-8 rounded-full bg-surface-container-highest text-subtle-gray flex items-center justify-center">3</div>
<span class="font-label-md text-label-md text-subtle-gray">结算资质</span>
</div>
</nav>
<!-- Section Title -->
<div class="flex items-center gap-3 mb-stack-md">
<div class="w-10 h-10 rounded-lg bg-primary-fixed flex items-center justify-center text-heritage-red">
<span class="material-symbols-outlined">photo_library</span>
</div>
<h2 class="font-headline-md text-headline-md text-ink-black">门店图片上传</h2>
</div>
<!-- Upload Groups -->
<div class="space-y-stack-lg">
<!-- Store Front Photo -->
<section class="bg-surface-container-lowest p-gutter-card rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="mb-stack-md">
<div class="flex items-baseline gap-2">
<label class="font-headline-md text-headline-md text-on-surface">门头照 *</label>
</div>
<p class="font-label-md text-label-md text-subtle-gray mt-1">至少1张,需包含完整招牌</p>
</div>
<button class="w-full aspect-[16/9] upload-dashed flex flex-col items-center justify-center gap-3 bg-surface-container-low active:scale-[0.98] transition-transform">
<span class="material-symbols-outlined text-primary text-4xl" data-weight="fill">add_a_photo</span>
<span class="text-primary font-medium">点击或拖拽上传</span>
</button>
</section>
<!-- Environment Photos Grid -->
<section class="bg-surface-container-lowest p-gutter-card rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="mb-stack-md">
<div class="flex items-baseline gap-2">
<label class="font-headline-md text-headline-md text-on-surface">环境照片 *</label>
</div>
<p class="font-label-md text-label-md text-subtle-gray mt-1">至少3张,展示店内整洁环境</p>
</div>
<div class="grid grid-cols-3 gap-base">
<!-- Placeholder Uploaded Image -->
<div class="aspect-square rounded-lg overflow-hidden relative group">
<img class="w-full h-full object-cover" data-alt="A clean, minimalist restaurant interior featuring wooden tables, warm lighting, and Dukang liquor bottles displayed elegantly on a shelf. The style is heritage modernism with a focus on high-end hospitality and traditional Chinese decorative elements in a bright, light-mode setting." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBpKdltzVr07TfibZJBOO2yXt94-X_zJLoJgb9oh7Avs300MhZDn3oGZblHnLI0agh_zXAnNQdfS6SwemG1wCwZDloYzQJPqYylHOPv5JkUVLcEbdp-NxTewojR5I8jXCY4-lovYVRj-B135w3-zyyGFshtWR-WNgZfi5UCKAWJwxhm1LlGiz0fMhCdIp5lXCBweYY3yNcNyNNf_9eW9OFfSsQu4N1Xjy7_lZ5y53bMpBtbDZPHK1xXfZw8tFTHsXIuyuDILan_Bn4">
<div class="absolute top-1 right-1 bg-ink-black/60 text-white rounded-full p-1 opacity-0 group-hover:opacity-100 transition-opacity">
<span class="material-symbols-outlined text-xs">close</span>
</div>
</div>
<!-- Empty Upload Boxes -->
<button class="aspect-square upload-dashed flex flex-col items-center justify-center bg-surface-container-low active:opacity-80 transition-opacity">
<span class="material-symbols-outlined text-primary">add_a_photo</span>
<span class="text-[10px] text-primary mt-1">添加照片</span>
</button>
<button class="aspect-square upload-dashed flex flex-col items-center justify-center bg-surface-container-low active:opacity-80 transition-opacity">
<span class="material-symbols-outlined text-primary">add_a_photo</span>
<span class="text-[10px] text-primary mt-1">添加照片</span>
</button>
</div>
</section>
<!-- Contract Documents -->
<section class="bg-surface-container-lowest p-gutter-card rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="mb-stack-md">
<div class="flex items-baseline gap-2">
<label class="font-headline-md text-headline-md text-on-surface">签约合同 *</label>
</div>
<p class="font-label-md text-label-md text-subtle-gray mt-1">拍照上传签约协议首页与盖章页</p>
</div>
<button class="w-full h-24 upload-dashed flex items-center justify-center gap-4 bg-surface-container-low active:scale-[0.99] transition-transform">
<div class="w-12 h-12 rounded-full bg-primary-fixed-dim flex items-center justify-center text-heritage-red">
<span class="material-symbols-outlined text-3xl">description</span>
</div>
<div class="text-left">
<span class="block text-primary font-bold">上传合同副本</span>
<span class="text-xs text-subtle-gray">支持 JPG, PNG, PDF</span>
</div>
</button>
</section>
</div>
<!-- Info Tip -->
<div class="mt-stack-lg p-base bg-secondary-container/20 border border-secondary-container rounded-lg flex gap-3">
<span class="material-symbols-outlined text-secondary text-sm">info</span>
<p class="text-xs text-on-secondary-container leading-relaxed">
温馨提示:请确保照片清晰无反光,避免遮挡关键信息。如上传失败,请检查网络或联系客户经理。
</p>
</div>
</main>
<!-- Bottom Navigation Bar (Action Buttons) -->
<footer class="fixed bottom-0 left-0 w-full h-20 flex justify-between items-center px-margin-page bg-surface-container-lowest shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] z-50">
<button class="flex-1 mr-base h-12 rounded-xl border border-outline text-on-surface font-semibold font-headline-md active:bg-surface-container-high transition-colors">
上一步
</button>
<button class="flex-[2] h-12 rounded-xl bg-heritage-red text-white font-bold font-headline-md shadow-lg shadow-heritage-red/20 active:scale-[0.97] transition-transform">
下一步
</button>
</footer>
<script>
// Simple Interaction logic for upload boxes
document.querySelectorAll('.upload-dashed').forEach(box => {
box.addEventListener('click', () => {
// Mock click visual feedback
box.classList.add('opacity-70');
setTimeout(() => box.classList.remove('opacity-70'), 150);
});
});
</script>
</body></html>