334 lines
17 KiB
HTML
334 lines
17 KiB
HTML
<!DOCTYPE html><html 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;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">
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"secondary-container": "#fed65b",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"on-primary-container": "#ffb9b4",
|
|
"surface-dim": "#dadad8",
|
|
"tertiary": "#37413b",
|
|
"surface": "#faf9f7",
|
|
"primary": "#820012",
|
|
"surface-container-high": "#e9e8e6",
|
|
"error": "#ba1a1a",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"background": "#faf9f7",
|
|
"surface-variant": "#e3e2e0",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-primary-fixed": "#410004",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"error-container": "#ffdad6",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"outline-variant": "#e2bebc",
|
|
"on-error": "#ffffff",
|
|
"status-blue": "#2A6EBB",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"heritage-red": "#A61D24",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"on-primary": "#ffffff",
|
|
"on-surface-variant": "#5a413f",
|
|
"inverse-surface": "#2f3130",
|
|
"outline": "#8d706e",
|
|
"surface-container-low": "#f4f3f1",
|
|
"on-background": "#1a1c1b",
|
|
"on-tertiary": "#ffffff",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"on-secondary": "#ffffff",
|
|
"aged-amber": "#FFBF00",
|
|
"on-secondary-fixed": "#241a00",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"primary-container": "#a61d24",
|
|
"surface-container": "#efeeec",
|
|
"surface-bright": "#faf9f7",
|
|
"surface-tint": "#b3272c",
|
|
"subtle-gray": "#999999",
|
|
"ink-black": "#1A1A1A",
|
|
"inverse-primary": "#ffb3ae",
|
|
"on-surface": "#1a1c1b",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-error-container": "#93000a",
|
|
"success-green": "#2D6A4F",
|
|
"on-secondary-container": "#745c00",
|
|
"secondary": "#735c00",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"tertiary-container": "#4e5852",
|
|
"surface-container-highest": "#e3e2e0"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"base": "8px",
|
|
"stack-sm": "4px",
|
|
"stack-lg": "32px",
|
|
"margin-page": "20px",
|
|
"gutter-card": "12px",
|
|
"stack-md": "16px"
|
|
},
|
|
"fontFamily": {
|
|
"label-md": ["Inter"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-md": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"headline-lg": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"coupon-amount": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"label-md": ["12px", { "lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500" }],
|
|
"body-md": ["14px", { "lineHeight": "20px", "fontWeight": "400" }],
|
|
"headline-md": ["18px", { "lineHeight": "26px", "fontWeight": "600" }],
|
|
"headline-xl": ["32px", { "lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700" }],
|
|
"headline-lg-mobile": ["20px", { "lineHeight": "28px", "fontWeight": "600" }],
|
|
"headline-lg": ["24px", { "lineHeight": "32px", "fontWeight": "600" }],
|
|
"body-lg": ["16px", { "lineHeight": "24px", "fontWeight": "400" }],
|
|
"coupon-amount": ["28px", { "lineHeight": "28px", "fontWeight": "700" }]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.hide-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
body {
|
|
min-height: 100dvh;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-surface text-on-surface font-body-md text-body-md">
|
|
<!-- TopAppBar -->
|
|
<header class="fixed top-0 w-full flex items-center px-margin-page h-14 bg-surface/90 backdrop-blur-md z-50 border-b border-surface-container-high">
|
|
<div class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2">
|
|
<h1 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-heritage-red">财务结算中心</h1>
|
|
</div>
|
|
<div class="flex items-center ml-auto">
|
|
<button class="p-2 active:bg-surface-container rounded-full transition-colors">
|
|
<span class="material-symbols-outlined text-on-surface-variant">notifications</span>
|
|
</button>
|
|
</div>
|
|
</header>
|
|
<main class="pt-14 pb-20 px-margin-page">
|
|
<!-- Unified Dashboard Area -->
|
|
<div class="mt-6 p-6 bg-surface-container-lowest rounded-xl shadow-[0px_4px_24px_rgba(166,29,36,0.06)] border border-heritage-red/5">
|
|
<div class="text-center">
|
|
<p class="text-subtle-gray font-label-md text-label-md uppercase tracking-wider">待结算总额</p>
|
|
<div class="mt-2 flex items-baseline gap-1 justify-center">
|
|
<span class="text-heritage-red font-headline-lg text-headline-lg">¥</span>
|
|
<span class="text-heritage-red font-headline-xl text-headline-xl">428,500.00</span>
|
|
</div>
|
|
<!-- Progress Indicator -->
|
|
<div class="mt-4 relative h-1.5 w-full bg-surface-container rounded-full overflow-hidden">
|
|
<div class="absolute top-0 left-0 h-full bg-heritage-red rounded-full" style="width: 75%"></div>
|
|
</div>
|
|
</div>
|
|
<div class="mt-6 pt-6 border-t border-surface-container-high grid grid-cols-2 gap-4">
|
|
<div class="text-center">
|
|
<p class="text-subtle-gray font-label-md text-label-md">已结算总额</p>
|
|
<p class="mt-1 text-on-surface font-headline-md text-headline-md font-bold">¥1,240,000</p>
|
|
</div>
|
|
<div class="text-center border-l border-surface-container-high">
|
|
<p class="text-subtle-gray font-label-md text-label-md">本月GMV</p>
|
|
<p class="mt-1 text-on-surface font-headline-md text-headline-md font-bold">¥3.85M</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Segmented Control Tabs -->
|
|
<div class="mt-6 flex bg-surface-container-low rounded-lg p-1">
|
|
<button class="flex-1 py-2 text-center rounded transition-all duration-200 bg-surface-container-lowest text-heritage-red shadow-sm font-semibold" id="tab-1" onclick="switchTab(1)">城市合伙人</button>
|
|
<button class="flex-1 py-2 text-center rounded transition-all duration-200 hover:text-on-surface text-on-surface-variant font-medium" id="tab-2" onclick="switchTab(2)">
|
|
门店结算
|
|
</button>
|
|
</div>
|
|
<!-- Sticky Search/Filter Bar -->
|
|
<div class="sticky top-14 z-40 bg-surface/95 backdrop-blur-sm py-4 -mx-margin-page px-margin-page flex gap-2">
|
|
<div class="flex-1 relative">
|
|
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-subtle-gray text-[20px]">search</span>
|
|
<input class="w-full pl-10 pr-4 py-2.5 bg-surface-container-lowest border-none rounded-xl text-body-md focus:ring-1 focus:ring-heritage-red/20 shadow-sm" placeholder="搜索合作伙伴或单号" type="text">
|
|
</div>
|
|
<button class="px-4 bg-surface-container-lowest rounded-xl flex items-center gap-1 border border-surface-container-high active:bg-surface-container-low">
|
|
<span class="material-symbols-outlined text-[20px] text-on-surface-variant">filter_alt</span>
|
|
<span class="text-label-md font-medium">筛选</span>
|
|
</button>
|
|
</div>
|
|
<!-- Settlement List -->
|
|
<div class="mt-2 space-y-0.5">
|
|
<div class="flex justify-between items-center mb-4">
|
|
<h2 class="font-headline-md text-headline-md text-ink-black">待处理记录 (3)</h2>
|
|
</div>
|
|
<!-- Settlement Item 1 -->
|
|
<div class="py-5 bg-surface transition-colors active:bg-surface-container-low border-b border-surface-container-high">
|
|
<div class="flex justify-between items-start mb-2">
|
|
<div>
|
|
<h3 class="font-bold text-ink-black text-body-lg font-body-lg flex items-center gap-2">
|
|
郑州<span class="text-subtle-gray font-normal text-label-md">ID: P10293</span>
|
|
</h3>
|
|
<p class="text-on-surface-variant font-medium text-body-md mt-0.5">河南杜康文化产业有限公司</p>
|
|
<button class="mt-2 flex items-center gap-1 text-heritage-red font-medium text-label-md">
|
|
<span class="material-symbols-outlined text-[18px]">description</span>
|
|
<span class="">查看详情</span>
|
|
</button>
|
|
</div>
|
|
<span class="px-2 py-0.5 rounded-full bg-status-blue/10 text-status-blue font-label-md text-label-md flex items-center gap-1">
|
|
<span class="w-1 h-1 rounded-full bg-status-blue"></span> 待确认
|
|
</span>
|
|
</div>
|
|
<div class="mt-1 flex justify-between items-end">
|
|
<div>
|
|
<p class="text-subtle-gray text-label-md font-label-md">结算金额</p>
|
|
<p class="text-heritage-red font-headline-lg text-headline-lg font-bold">¥12,500.00</p>
|
|
<p class="text-subtle-gray text-label-md font-label-md mt-1">周期: 2023.10.01 - 10.31</p>
|
|
</div>
|
|
<div class="flex gap-2">
|
|
<button class="border border-heritage-red text-heritage-red px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform">
|
|
发送账单
|
|
</button>
|
|
<button class="bg-heritage-red text-white px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform shadow-md shadow-heritage-red/10">
|
|
确认打款
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Settlement Item 2 -->
|
|
<div class="py-5 bg-surface transition-colors active:bg-surface-container-low border-b border-surface-container-high">
|
|
<div class="flex justify-between items-start mb-2">
|
|
<div>
|
|
<h3 class="font-bold text-ink-black text-body-lg font-body-lg flex items-center gap-2">
|
|
洛阳<span class="text-subtle-gray font-normal text-label-md">ID: S002</span>
|
|
</h3>
|
|
<p class="text-on-surface-variant font-medium text-body-md mt-0.5">河南杜康文化产业有限公司</p>
|
|
<button class="mt-2 flex items-center gap-1 text-heritage-red font-medium text-label-md">
|
|
<span class="material-symbols-outlined text-[18px]">description</span>
|
|
<span class="">查看详情</span>
|
|
</button>
|
|
</div>
|
|
<span class="px-2 py-0.5 rounded-full bg-aged-amber/10 text-aged-amber font-label-md text-label-md flex items-center gap-1">
|
|
<span class="w-1 h-1 rounded-full bg-aged-amber"></span> 待结算
|
|
</span>
|
|
</div>
|
|
<div class="mt-1 flex justify-between items-end">
|
|
<div>
|
|
<p class="text-subtle-gray text-label-md font-label-md">结算金额</p>
|
|
<p class="text-heritage-red font-headline-lg text-headline-lg font-bold">¥8,240.50</p>
|
|
<p class="text-subtle-gray text-label-md font-label-md mt-1">周期: 2023.10.15 - 10.31</p>
|
|
</div>
|
|
<div class="flex gap-2">
|
|
<button class="border border-heritage-red text-heritage-red px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform">
|
|
发送账单
|
|
</button>
|
|
<button class="bg-heritage-red text-white px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform shadow-md shadow-heritage-red/10">
|
|
确认打款
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Settlement Item 3 -->
|
|
<div class="py-5 bg-surface transition-colors active:bg-surface-container-low border-b border-surface-container-high">
|
|
<div class="flex justify-between items-start mb-2">
|
|
<div>
|
|
<h3 class="font-bold text-ink-black text-body-lg font-body-lg flex items-center gap-2">
|
|
开封<span class="text-subtle-gray font-normal text-label-md">ID: P8821</span>
|
|
</h3>
|
|
<p class="text-on-surface-variant font-medium text-body-md mt-0.5">河南杜康文化产业有限公司</p>
|
|
<button class="mt-2 flex items-center gap-1 text-heritage-red font-medium text-label-md">
|
|
<span class="material-symbols-outlined text-[18px]">description</span>
|
|
<span class="">查看详情</span>
|
|
</button>
|
|
</div>
|
|
<span class="px-2 py-0.5 rounded-full bg-aged-amber/10 text-aged-amber font-label-md text-label-md flex items-center gap-1">
|
|
<span class="w-1 h-1 rounded-full bg-aged-amber"></span> 待结算
|
|
</span>
|
|
</div>
|
|
<div class="mt-1 flex justify-between items-end">
|
|
<div>
|
|
<p class="text-subtle-gray text-label-md font-label-md">结算金额</p>
|
|
<p class="text-heritage-red font-headline-lg text-headline-lg font-bold">¥5,100.00</p>
|
|
<p class="text-subtle-gray text-label-md font-label-md mt-1">周期: 2023.10.01 - 10.15</p>
|
|
</div>
|
|
<div class="flex gap-2">
|
|
<button class="border border-heritage-red text-heritage-red px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform">
|
|
发送账单
|
|
</button>
|
|
<button class="bg-heritage-red text-white px-4 py-2.5 rounded-lg font-bold text-label-md font-label-md active:scale-95 transition-transform shadow-md shadow-heritage-red/10">
|
|
确认打款
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Footer Note -->
|
|
<div class="mt-12 mb-8 text-center px-4">
|
|
<div class="inline-flex items-center justify-center w-12 h-12 rounded-full bg-surface-container-high text-subtle-gray mb-4">
|
|
<span class="material-symbols-outlined">security</span>
|
|
</div>
|
|
<p class="text-subtle-gray font-label-md text-label-md leading-relaxed">
|
|
所有财务结算由杜康总部统一监管<br>保障每一分收益合规透明
|
|
</p>
|
|
</div>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 left-0 w-full h-16 flex justify-around items-center px-4 bg-surface-container-lowest/90 backdrop-blur-md z-50 rounded-t-2xl border-t border-surface-container shadow-[0px_-4px_20px_rgba(0,0,0,0.02)]">
|
|
<div class="flex flex-col items-center justify-center text-subtle-gray transition-transform active:scale-90">
|
|
<span class="material-symbols-outlined">dashboard</span>
|
|
<span class="font-label-md text-label-md mt-0.5">管理中心</span>
|
|
</div>
|
|
<div class="flex flex-col items-center justify-center text-subtle-gray transition-transform active:scale-90">
|
|
<span class="material-symbols-outlined">rule</span>
|
|
<span class="font-label-md text-label-md mt-0.5">门店审核</span>
|
|
</div>
|
|
<div class="flex flex-col items-center justify-center text-heritage-red font-bold transition-transform active:scale-90">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">account_balance_wallet</span>
|
|
<span class="font-label-md text-label-md mt-0.5">结算中心</span>
|
|
</div>
|
|
<div class="flex flex-col items-center justify-center text-subtle-gray transition-transform active:scale-90">
|
|
<span class="material-symbols-outlined">support_agent</span>
|
|
<span class="font-label-md text-label-md mt-0.5">客服中心</span>
|
|
</div>
|
|
</nav>
|
|
<script>
|
|
function switchTab(tabId) {
|
|
const tab1 = document.getElementById('tab-1');
|
|
const tab2 = document.getElementById('tab-2');
|
|
|
|
const activeClasses = ['bg-surface-container-lowest', 'text-heritage-red', 'shadow-sm', 'font-semibold'];
|
|
const inactiveClasses = ['text-on-surface-variant', 'font-medium'];
|
|
|
|
if (tabId === 1) {
|
|
tab1.classList.add(...activeClasses);
|
|
tab1.classList.remove(...inactiveClasses);
|
|
tab2.classList.remove(...activeClasses);
|
|
tab2.classList.add(...inactiveClasses);
|
|
} else {
|
|
tab2.classList.add(...activeClasses);
|
|
tab2.classList.remove(...inactiveClasses);
|
|
tab1.classList.remove(...activeClasses);
|
|
tab1.classList.add(...inactiveClasses);
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
</body></html> |