306 lines
15 KiB
HTML
306 lines
15 KiB
HTML
<!DOCTYPE html><html 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">
|
|
<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": {
|
|
"tertiary-fixed": "#dae5dd",
|
|
"on-primary": "#ffffff",
|
|
"secondary-fixed": "#ffe088",
|
|
"aged-amber": "#FFBF00",
|
|
"tertiary-container": "#4e5852",
|
|
"surface-container": "#efeeec",
|
|
"inverse-on-surface": "#f1f1ef",
|
|
"primary-container": "#a61d24",
|
|
"heritage-red": "#A61D24",
|
|
"on-secondary-fixed": "#241a00",
|
|
"surface-container-low": "#f4f3f1",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"subtle-gray": "#999999",
|
|
"on-primary-container": "#ffb9b4",
|
|
"on-primary-fixed": "#410004",
|
|
"inverse-primary": "#ffb3ae",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"error": "#ba1a1a",
|
|
"on-background": "#1a1c1b",
|
|
"secondary": "#735c00",
|
|
"on-error-container": "#93000a",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"on-error": "#ffffff",
|
|
"outline": "#8d706e",
|
|
"surface-container-lowest": "#ffffff",
|
|
"on-secondary": "#ffffff",
|
|
"surface-container-high": "#e9e8e6",
|
|
"surface-variant": "#e3e2e0",
|
|
"background": "#faf9f7",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"on-surface": "#1a1c1b",
|
|
"inverse-surface": "#2f3130",
|
|
"surface-tint": "#b3272c",
|
|
"ink-black": "#1A1A1A",
|
|
"on-surface-variant": "#5a413f",
|
|
"success-green": "#2D6A4F",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"outline-variant": "#e2bebc",
|
|
"status-blue": "#2A6EBB",
|
|
"surface-dim": "#dadad8",
|
|
"primary-fixed": "#ffdad7",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"surface": "#faf9f7",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"on-secondary-container": "#745c00",
|
|
"surface-bright": "#faf9f7",
|
|
"secondary-container": "#fed65b",
|
|
"error-container": "#ffdad6",
|
|
"on-tertiary": "#ffffff",
|
|
"primary": "#820012",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"tertiary": "#37413b"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"stack-sm": "4px",
|
|
"base": "8px",
|
|
"stack-lg": "32px",
|
|
"margin-page": "20px",
|
|
"gutter-card": "12px",
|
|
"stack-md": "16px"
|
|
},
|
|
"fontFamily": {
|
|
"label-md": ["Inter"],
|
|
"headline-lg": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"coupon-amount": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"headline-xl": ["Manrope"],
|
|
"headline-md": ["Manrope"]
|
|
},
|
|
"fontSize": {
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.text-shadow-subtle {
|
|
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
body {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background min-h-screen pb-24 font-body-md text-body-md selection:bg-heritage-red/20">
|
|
<!-- TopAppBar -->
|
|
<header class="w-full top-0 sticky z-40 bg-surface dark:bg-on-background shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
|
|
<div class="flex justify-between items-center px-margin-page h-16 w-full max-w-7xl mx-auto">
|
|
<button class="text-heritage-red hover:opacity-80 transition-opacity active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined">arrow_back</span>
|
|
</button>
|
|
<h1 class="text-headline-md font-headline-md font-bold tracking-tight text-heritage-red">财务对账中心</h1>
|
|
<button class="text-heritage-red hover:opacity-80 transition-opacity active:scale-95 duration-150 relative">
|
|
|
|
|
|
</button>
|
|
</div>
|
|
</header>
|
|
<main class="px-margin-page pt-stack-md">
|
|
<!-- Summary Card -->
|
|
<section class="mb-stack-lg">
|
|
<div class="relative overflow-hidden bg-heritage-red rounded-xl p-6 shadow-[0px_8px_32px_rgba(166,29,36,0.15)] text-on-primary">
|
|
<!-- Abstract Texture Overlay -->
|
|
<div class="absolute top-0 right-0 opacity-10 transform translate-x-1/4 -translate-y-1/4">
|
|
<span class="material-symbols-outlined text-[160px]" style="font-variation-settings: 'wght' 700;">account_balance_wallet</span>
|
|
</div>
|
|
<div class="relative z-10">
|
|
<p class="text-label-md font-label-md opacity-80 mb-2 uppercase tracking-widest text-center">待结算总额</p>
|
|
<div class="flex items-baseline justify-center mb-6">
|
|
<span class="text-headline-md font-headline-md mr-1">¥</span>
|
|
<span class="text-headline-xl font-headline-xl tracking-tighter">128,450.00</span>
|
|
</div>
|
|
<div class="grid grid-cols-2 gap-4 pt-6 border-t border-white/10">
|
|
<div class="text-center">
|
|
<p class="text-label-md font-label-md opacity-70 mb-1">累计已结算</p>
|
|
<p class="font-headline-md text-headline-md">¥842,000</p>
|
|
</div>
|
|
<div class="text-center border-l border-white/10">
|
|
<p class="text-label-md font-label-md opacity-70 mb-1">本月预估收益</p>
|
|
<p class="font-headline-md text-headline-md text-secondary-fixed">¥45,320</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Filter Bar -->
|
|
<section class="mb-stack-md flex items-center justify-between gap-3">
|
|
<!-- Date Picker (Month) -->
|
|
<button class="flex-1 bg-surface-container-low rounded-lg h-12 px-4 flex items-center justify-between hover:bg-surface-container-high transition-colors active:scale-95 duration-150">
|
|
<span class="text-on-surface-variant font-medium">2026年6月</span>
|
|
<span class="material-symbols-outlined text-subtle-gray">calendar_month</span>
|
|
</button>
|
|
<!-- Status Filter -->
|
|
<button class="bg-surface-container-low rounded-lg h-12 px-4 flex items-center gap-2 hover:bg-surface-container-high transition-colors active:scale-95 duration-150" id="statusFilterBtn">
|
|
<span class="material-symbols-outlined text-heritage-red">filter_list</span>
|
|
<span class="text-on-surface-variant font-medium">状态</span>
|
|
</button>
|
|
</section>
|
|
<!-- Status Chips (Horizontal Scroll) -->
|
|
<div class="flex gap-2 mb-stack-md overflow-x-auto no-scrollbar pb-1">
|
|
<button class="px-4 py-1.5 rounded-full bg-heritage-red text-white text-label-md font-label-md shrink-0">全部</button>
|
|
<button class="px-4 py-1.5 rounded-full bg-surface-container-high text-on-surface-variant text-label-md font-label-md shrink-0 border border-transparent active:border-heritage-red/20 transition-all">待结算</button>
|
|
<button class="px-4 py-1.5 rounded-full bg-surface-container-high text-on-surface-variant text-label-md font-label-md shrink-0 border border-transparent active:border-heritage-red/20 transition-all">已结算</button>
|
|
<button class="px-4 py-1.5 rounded-full bg-surface-container-high text-on-surface-variant text-label-md font-label-md shrink-0 border border-transparent active:border-heritage-red/20 transition-all">审核中</button>
|
|
</div>
|
|
<!-- Reconciliation List -->
|
|
<section class="space-y-4">
|
|
<h3 class="text-label-md font-label-md text-subtle-gray uppercase tracking-wider px-1">对账明细记录</h3>
|
|
<!-- List Items -->
|
|
<div class="space-y-3">
|
|
<!-- Item 1: Pending -->
|
|
<div class="bg-white rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-transparent hover:border-heritage-red/10 active:scale-[0.98] transition-all duration-150 cursor-pointer flex items-center justify-between">
|
|
<div class="flex-1">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="text-on-surface font-semibold">SID20260601-A</span>
|
|
<span class="px-2 py-0.5 rounded-md bg-secondary-fixed/30 text-on-secondary-fixed text-[10px] font-bold uppercase tracking-tight">待结算</span>
|
|
</div>
|
|
<p class="text-subtle-gray text-label-md flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[14px]">event</span> 2026-06
|
|
<span class="w-1 h-1 rounded-full bg-outline-variant"></span>
|
|
42 笔订单
|
|
</p>
|
|
<div class="mt-2 text-headline-md font-headline-md text-heritage-red">
|
|
¥12,450.00
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
|
</div>
|
|
<!-- Item 2: Completed -->
|
|
<div class="bg-white rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-transparent hover:border-heritage-red/10 active:scale-[0.98] transition-all duration-150 cursor-pointer flex items-center justify-between">
|
|
<div class="flex-1">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="text-on-surface font-semibold">SID20260501-A</span>
|
|
<span class="px-2 py-0.5 rounded-md bg-success-green/10 text-success-green text-[10px] font-bold uppercase tracking-tight">已结算</span>
|
|
</div>
|
|
<p class="text-subtle-gray text-label-md flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[14px]">event</span> 2026-05
|
|
<span class="w-1 h-1 rounded-full bg-outline-variant"></span>
|
|
156 笔订单
|
|
</p>
|
|
<div class="mt-2 text-headline-md font-headline-md text-ink-black">
|
|
¥58,220.50
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
|
</div>
|
|
<!-- Item 3: Completed -->
|
|
<div class="bg-white rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-transparent hover:border-heritage-red/10 active:scale-[0.98] transition-all duration-150 cursor-pointer flex items-center justify-between">
|
|
<div class="flex-1">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="text-on-surface font-semibold">SID20260401-B</span>
|
|
<span class="px-2 py-0.5 rounded-md bg-success-green/10 text-success-green text-[10px] font-bold uppercase tracking-tight">已结算</span>
|
|
</div>
|
|
<p class="text-subtle-gray text-label-md flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[14px]">event</span> 2026-04
|
|
<span class="w-1 h-1 rounded-full bg-outline-variant"></span>
|
|
89 笔订单
|
|
</p>
|
|
<div class="mt-2 text-headline-md font-headline-md text-ink-black">
|
|
¥34,110.00
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
|
</div>
|
|
<!-- Item 4: Pending -->
|
|
<div class="bg-white rounded-xl p-4 shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-transparent hover:border-heritage-red/10 active:scale-[0.98] transition-all duration-150 cursor-pointer flex items-center justify-between">
|
|
<div class="flex-1">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="text-on-surface font-semibold">SID20260602-C</span>
|
|
<span class="px-2 py-0.5 rounded-md bg-secondary-fixed/30 text-on-secondary-fixed text-[10px] font-bold uppercase tracking-tight">待结算</span>
|
|
</div>
|
|
<p class="text-subtle-gray text-label-md flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[14px]">event</span> 2026-06
|
|
<span class="w-1 h-1 rounded-full bg-outline-variant"></span>
|
|
12 笔订单
|
|
</p>
|
|
<div class="mt-2 text-headline-md font-headline-md text-heritage-red">
|
|
¥4,800.00
|
|
</div>
|
|
</div>
|
|
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
|
</div>
|
|
</div>
|
|
<div class="py-8 text-center">
|
|
<p class="text-label-md text-subtle-gray">已展示全部记录</p>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
|
|
<script>
|
|
// Simple Interaction logic
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const filterBtns = document.querySelectorAll('.flex.gap-2.mb-stack-md button');
|
|
|
|
filterBtns.forEach(btn => {
|
|
btn.addEventListener('click', () => {
|
|
filterBtns.forEach(b => {
|
|
b.classList.remove('bg-heritage-red', 'text-white');
|
|
b.classList.add('bg-surface-container-high', 'text-on-surface-variant');
|
|
});
|
|
btn.classList.remove('bg-surface-container-high', 'text-on-surface-variant');
|
|
btn.classList.add('bg-heritage-red', 'text-white');
|
|
});
|
|
});
|
|
|
|
// Card click simulation
|
|
const cards = document.querySelectorAll('.bg-white.rounded-xl');
|
|
cards.forEach(card => {
|
|
card.addEventListener('click', () => {
|
|
card.classList.add('bg-surface-container-low');
|
|
setTimeout(() => card.classList.remove('bg-surface-container-low'), 200);
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body></html> |