278 lines
16 KiB
HTML
278 lines
16 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=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">
|
|
<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": {
|
|
"surface-container-highest": "#e3e2e0",
|
|
"success-green": "#2D6A4F",
|
|
"inverse-primary": "#ffb3ae",
|
|
"on-secondary": "#ffffff",
|
|
"surface-bright": "#faf9f7",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"tertiary-container": "#4e5852",
|
|
"heritage-red": "#A61D24",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"surface-variant": "#e3e2e0",
|
|
"inverse-surface": "#2f3130",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"background": "#faf9f7",
|
|
"secondary": "#735c00",
|
|
"surface-container-low": "#f4f3f1",
|
|
"primary-container": "#a61d24",
|
|
"on-error-container": "#93000a",
|
|
"surface-dim": "#dadad8",
|
|
"on-error": "#ffffff",
|
|
"error": "#ba1a1a",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"primary": "#820012",
|
|
"surface": "#faf9f7",
|
|
"on-surface-variant": "#5a413f",
|
|
"on-primary-fixed": "#410004",
|
|
"on-tertiary": "#ffffff",
|
|
"surface-container": "#efeeec",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"aged-amber": "#FFBF00",
|
|
"on-secondary-container": "#745c00",
|
|
"subtle-gray": "#999999",
|
|
"outline": "#8d706e",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"outline-variant": "#e2bebc",
|
|
"surface-container-high": "#e9e8e6",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"status-blue": "#2A6EBB",
|
|
"on-background": "#1a1c1b",
|
|
"secondary-container": "#fed65b",
|
|
"error-container": "#ffdad6",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"on-surface": "#1a1c1b",
|
|
"on-secondary-fixed": "#241a00",
|
|
"primary-fixed": "#ffdad7",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-primary": "#ffffff",
|
|
"on-primary-container": "#ffb9b4",
|
|
"tertiary": "#37413b",
|
|
"ink-black": "#1A1A1A",
|
|
"surface-tint": "#b3272c"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"stack-md": "16px",
|
|
"stack-sm": "4px",
|
|
"stack-lg": "32px",
|
|
"base": "8px",
|
|
"margin-page": "20px",
|
|
"gutter-card": "12px"
|
|
},
|
|
"fontFamily": {
|
|
"label-md": ["Inter"],
|
|
"coupon-amount": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-lg": ["Manrope"],
|
|
"headline-md": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"]
|
|
},
|
|
"fontSize": {
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.active-tab::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 20%;
|
|
right: 20%;
|
|
height: 3px;
|
|
background-color: #A61D24;
|
|
border-radius: 99px;
|
|
}
|
|
.notch-badge {
|
|
clip-path: polygon(0% 0%, 100% 0%, 100% 35%, 98% 50%, 100% 65%, 100% 100%, 0% 100%, 0% 65%, 2% 50%, 0% 35%);
|
|
}
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.card-elevation {
|
|
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-surface font-body-md text-on-surface antialiased scrollbar-hide">
|
|
<!-- TopAppBar -->
|
|
<header class="fixed top-0 w-full z-50 bg-surface h-14 px-margin-page flex justify-between items-center shadow-sm"><div class="flex items-center justify-center w-full"><h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">门店审核</h1></div></header>
|
|
<!-- Content Area -->
|
|
<main class="pt-14 pb-20 min-h-screen">
|
|
<!-- FilterTabs -->
|
|
<div class="sticky top-14 bg-surface z-40 px-margin-page py-4 border-b border-surface-container">
|
|
<div class="flex justify-between items-center overflow-x-auto scrollbar-hide gap-6">
|
|
<button class="relative pb-2 font-label-md text-label-md text-on-surface-variant whitespace-nowrap">全部</button>
|
|
<button class="relative pb-2 font-label-md text-label-md text-heritage-red font-bold active-tab whitespace-nowrap flex items-center gap-1">
|
|
待审核
|
|
<span class="bg-heritage-red text-white text-[10px] px-1.5 py-0.5 rounded-full">12</span>
|
|
</button>
|
|
<button class="relative pb-2 font-label-md text-label-md text-on-surface-variant whitespace-nowrap">已通过</button>
|
|
<button class="relative pb-2 font-label-md text-label-md text-on-surface-variant whitespace-nowrap">已驳回</button>
|
|
</div>
|
|
</div>
|
|
<!-- AuditList -->
|
|
<div class="px-margin-page py-6 flex flex-col gap-4">
|
|
<!-- AuditCard 1 -->
|
|
<div class="bg-surface-container-lowest rounded-xl p-4 card-elevation border border-heritage-red/5">
|
|
<div class="flex justify-between items-start mb-3">
|
|
<div class="flex flex-col gap-1">
|
|
<h3 class="font-headline-md text-headline-md text-ink-black">洛阳老酒馆</h3>
|
|
<div class="flex items-center gap-2">
|
|
<span class="bg-heritage-red/10 text-heritage-red text-[10px] px-2 py-0.5 rounded font-bold uppercase tracking-wider">首次入驻</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="grid grid-cols-1 gap-2 text-on-surface-variant font-body-md mb-4">
|
|
<div class="flex items-center gap-2 w-full">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">location_on</span>
|
|
<span class="">河南省洛阳市涧西区...</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">person</span>
|
|
<span class="">合伙人:张建设</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">schedule</span>
|
|
<span class="">申请时间:2023-10-24 14:30</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-center justify-between gap-3 pt-3 border-t border-surface-container"><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant hover:bg-surface-container-high transition-colors rounded-lg">查看详情</button><div class="flex gap-2"><button class="px-4 py-2 font-label-md text-label-md text-heritage-red border border-heritage-red/5 rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">修改</button><button class="px-4 py-2 font-label-md text-label-md text-white bg-heritage-red rounded-lg active:scale-95 transition-transform">通过</button><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant border border-surface-container rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">驳回</button></div></div>
|
|
</div>
|
|
<!-- AuditCard 2 -->
|
|
<div class="bg-surface-container-lowest rounded-xl p-4 card-elevation border border-heritage-red/5">
|
|
<div class="flex justify-between items-start mb-3">
|
|
<div class="flex flex-col gap-1">
|
|
<h3 class="font-headline-md text-headline-md text-ink-black">郑州杜康商行</h3>
|
|
<div class="flex items-center gap-2">
|
|
<span class="bg-status-blue/10 text-status-blue text-[10px] px-2 py-0.5 rounded font-bold uppercase tracking-wider">信息修改</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="grid grid-cols-1 gap-2 text-on-surface-variant font-body-md mb-4">
|
|
<div class="flex items-center gap-2 w-full">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">location_on</span>
|
|
<span class="">河南省郑州市金水区...</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">person</span>
|
|
<span class="">合伙人:李卫东</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">schedule</span>
|
|
<span class="">申请时间:2023-10-24 11:20</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-center justify-between gap-3 pt-3 border-t border-surface-container"><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant hover:bg-surface-container-high transition-colors rounded-lg">查看详情</button><div class="flex gap-2"><button class="px-4 py-2 font-label-md text-label-md text-heritage-red border border-heritage-red/5 rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">修改</button><button class="px-4 py-2 font-label-md text-label-md text-white bg-heritage-red rounded-lg active:scale-95 transition-transform">通过</button><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant border border-surface-container rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">驳回</button></div></div>
|
|
</div>
|
|
<!-- AuditCard 3 -->
|
|
<div class="bg-surface-container-lowest rounded-xl p-4 card-elevation border border-heritage-red/5">
|
|
<div class="flex justify-between items-start mb-3">
|
|
<div class="flex flex-col gap-1">
|
|
<h3 class="font-headline-md text-headline-md text-ink-black">开封汴京雅集</h3>
|
|
<div class="flex items-center gap-2">
|
|
<span class="bg-heritage-red/10 text-heritage-red text-[10px] px-2 py-0.5 rounded font-bold uppercase tracking-wider">首次入驻</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="grid grid-cols-1 gap-2 text-on-surface-variant font-body-md mb-4">
|
|
<div class="flex items-center gap-2 w-full">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">location_on</span>
|
|
<span class="">河南省开封市鼓楼区...</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">person</span>
|
|
<span class="">合伙人:王清</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[18px] text-outline">schedule</span>
|
|
<span class="">申请时间:2023-10-23 16:45</span>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-center justify-between gap-3 pt-3 border-t border-surface-container"><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant hover:bg-surface-container-high transition-colors rounded-lg">查看详情</button><div class="flex gap-2"><button class="px-4 py-2 font-label-md text-label-md text-heritage-red border border-heritage-red/5 rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">修改</button><button class="px-4 py-2 font-label-md text-label-md text-white bg-heritage-red rounded-lg active:scale-95 transition-transform">通过</button><button class="px-4 py-2 font-label-md text-label-md text-on-surface-variant border border-surface-container rounded-lg active:scale-95 transition-transform hover:bg-surface-container-high">驳回</button></div></div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 left-0 w-full h-16 flex justify-around items-center px-4 bg-surface z-50 rounded-t-xl shadow-[0px_-4px_20px_rgba(166,29,36,0.05)]"><button class="flex flex-col items-center justify-center text-subtle-gray hover:text-primary transition-colors active:scale-95 transition-transform duration-200">
|
|
<span class="material-symbols-outlined">dashboard</span>
|
|
<span class="font-label-md text-label-md">管理中心</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-heritage-red font-bold hover:text-primary transition-colors active:scale-95 transition-transform duration-200">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">fact_check</span>
|
|
<span class="font-label-md text-label-md">门店审核</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-subtle-gray hover:text-primary transition-colors active:scale-95 transition-transform duration-200">
|
|
<span class="material-symbols-outlined">account_balance_wallet</span>
|
|
<span class="font-label-md text-label-md">结算中心</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-subtle-gray hover:text-primary transition-colors active:scale-95 transition-transform duration-200">
|
|
<span class="material-symbols-outlined">support_agent</span>
|
|
<span class="font-label-md text-label-md">客服中心</span>
|
|
</button></nav>
|
|
<script>
|
|
// Simple Interaction logic for tabs
|
|
document.querySelectorAll('.flex.overflow-x-auto button').forEach(button => {
|
|
button.addEventListener('click', () => {
|
|
document.querySelectorAll('.flex.overflow-x-auto button').forEach(btn => {
|
|
btn.classList.remove('text-heritage-red', 'font-bold', 'active-tab');
|
|
btn.classList.add('text-on-surface-variant');
|
|
const badge = btn.querySelector('span');
|
|
if(badge) badge.classList.add('bg-heritage-red');
|
|
});
|
|
button.classList.remove('text-on-surface-variant');
|
|
button.classList.add('text-heritage-red', 'font-bold', 'active-tab');
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body></html> |