Files
dukang/pages/_archive/门店结算明细页_a8b599d7/code.html
T
2026-06-30 10:33:56 +08:00

277 lines
14 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">
<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=Inter:wght@400;500;600&amp;family=Be+Vietnam+Pro:wght@400;500&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">
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.paper-texture {
background-color: #faf9f7;
background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}
.ticket-notch {
position: relative;
}
.ticket-notch::before, .ticket-notch::after {
content: '';
position: absolute;
width: 12px;
height: 12px;
background-color: #faf9f7;
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
}
.ticket-notch::before { left: -7px; }
.ticket-notch::after { right: -7px; }
@keyframes subtle-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.85; }
}
.animate-subtle { animation: subtle-pulse 3s ease-in-out infinite; }
</style>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"primary": "#820012",
"ink-black": "#1A1A1A",
"primary-fixed-dim": "#ffb3ae",
"surface-container-highest": "#e3e2e0",
"inverse-surface": "#2f3130",
"inverse-on-surface": "#f1f1ef",
"outline": "#8d706e",
"on-tertiary-fixed": "#141e19",
"on-tertiary-container": "#c2cdc6",
"error": "#ba1a1a",
"error-container": "#ffdad6",
"on-primary-fixed": "#410004",
"status-blue": "#2A6EBB",
"secondary-fixed": "#ffe088",
"on-error-container": "#93000a",
"on-surface": "#1a1c1b",
"surface-container-high": "#e9e8e6",
"surface-dim": "#dadad8",
"on-secondary-container": "#745c00",
"on-surface-variant": "#5a413f",
"tertiary-fixed": "#dae5dd",
"surface-container": "#efeeec",
"on-secondary": "#ffffff",
"on-tertiary-fixed-variant": "#3f4943",
"inverse-primary": "#ffb3ae",
"success-green": "#2D6A4F",
"subtle-gray": "#999999",
"tertiary-fixed-dim": "#bec9c2",
"heritage-red": "#A61D24",
"surface-tint": "#b3272c",
"on-tertiary": "#ffffff",
"background": "#faf9f7",
"primary-container": "#a61d24",
"tertiary": "#37413b",
"on-secondary-fixed": "#241a00",
"surface-bright": "#faf9f7",
"tertiary-container": "#4e5852",
"on-error": "#ffffff",
"aged-amber": "#FFBF00",
"on-primary-container": "#ffb9b4",
"secondary": "#735c00",
"on-secondary-fixed-variant": "#574500",
"surface": "#faf9f7",
"surface-container-lowest": "#ffffff",
"primary-fixed": "#ffdad7",
"secondary-fixed-dim": "#e9c349",
"outline-variant": "#e2bebc",
"on-primary": "#ffffff",
"surface-container-low": "#f4f3f1",
"surface-variant": "#e3e2e0",
"on-primary-fixed-variant": "#910817",
"secondary-container": "#fed65b",
"on-background": "#1a1c1b"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-lg": "32px",
"margin-page": "20px",
"base": "8px",
"stack-sm": "4px",
"stack-md": "16px",
"gutter-card": "12px"
},
"fontFamily": {
"headline-lg-mobile": ["Manrope"],
"label-md": ["Inter"],
"coupon-amount": ["Manrope"],
"headline-xl": ["Manrope"],
"headline-md": ["Manrope"],
"headline-lg": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"body-lg": ["Be Vietnam Pro"]
},
"fontSize": {
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
}
}
}
}
</script>
</head>
<body class="paper-texture text-on-surface font-body-md text-body-md min-h-screen pb-24">
<!-- TopAppBar -->
<header class="w-full top-0 sticky bg-surface/80 backdrop-blur-md z-40 shadow-sm flex items-center justify-between px-margin-page h-16">
<div class="flex items-center gap-4">
<button class="active:scale-95 transition-transform text-primary">
<span class="material-symbols-outlined">arrow_back_ios</span>
</button>
<h1 class="font-headline-md text-headline-md-mobile text-primary">门店结算明细</h1>
</div>
</header>
<main class="px-margin-page pt-stack-md space-y-stack-md">
<!-- Settlement Summary Card -->
<section class="bg-surface-container-lowest rounded-xl p-stack-md shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-outline-variant/10">
<div class="flex justify-between items-start mb-stack-md">
<div class="space-y-1">
<p class="text-subtle-gray font-label-md text-label-md">结算账期</p>
<p class="font-headline-md text-headline-md-mobile">2023.10.01 - 2023.10.31</p>
</div>
</div>
<div class="flex flex-col items-center py-stack-md border-y border-dashed border-outline-variant/30 my-stack-md">
<p class="text-on-surface-variant font-label-md text-label-md uppercase tracking-wider mb-2">应结总额 (CNY)</p>
<h2 class="font-headline-xl text-headline-xl text-heritage-red">¥5,400.00</h2>
</div>
<div class="flex items-center gap-2 text-subtle-gray text-body-md italic">
<span class="material-symbols-outlined text-[18px]">info</span>
<span class="">包含增值税及平台服务费扣除</span>
</div>
<div class="mt-stack-md pt-stack-md border-t border-outline-variant/20 space-y-2"><div class="flex justify-between items-center"><span class="text-on-surface-variant text-label-md">结算门店</span><span class="font-medium text-ink-black">洛阳宴会中心旗舰店</span></div><div class="flex justify-between items-center"><span class="text-on-surface-variant text-label-md">收款银行</span><span class="font-medium text-ink-black">中国工商银行 (洛阳分行)</span></div><div class="flex justify-between items-center"><span class="text-on-surface-variant text-label-md">银行卡号</span><span class="font-medium text-ink-black">6222 5812 3456 8891</span></div><div class="flex justify-between items-center"><span class="text-on-surface-variant text-label-md">开户分行</span><span class="font-medium text-ink-black">中国工商银行洛阳分行牡丹支行</span></div><div class="flex justify-between items-center"><span class="text-on-surface-variant text-label-md">户主姓名</span><span class="font-medium text-ink-black">王德礼</span></div></div></section>
<!-- Breakdown Card -->
<section class="bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] overflow-hidden">
<div class="bg-primary/5 px-stack-md py-3 flex items-center gap-2">
<span class="material-symbols-outlined text-primary text-[20px]">confirmation_number</span>
<h3 class="font-headline-md text-headline-md-mobile text-ink-black">好客权益核销结算</h3>
</div>
<div class="p-stack-md space-y-stack-md">
<div class="flex justify-between items-center">
<span class="text-on-surface-variant">核销总额</span>
<span class="font-semibold">¥9,000.00</span>
</div>
<div class="flex justify-between items-center text-subtle-gray">
<span class="text-on-surface-variant">结算比例</span>
<span class="font-semibold">60%</span>
</div>
<div class="pt-stack-md border-t border-outline-variant/20 flex justify-between items-center">
<span class="font-semibold text-ink-black">应结净额</span>
<span class="font-bold text-headline-md text-heritage-red">¥5,400.00</span>
</div>
</div>
</section>
<!-- Transaction Detail List -->
<section class="space-y-stack-sm">
<div class="flex justify-between items-center py-2">
<h3 class="font-headline-md text-headline-md-mobile text-ink-black">核销记录明细</h3>
<button class="flex items-center gap-1 text-primary active:opacity-70">
<span class="material-symbols-outlined text-[18px]">filter_list</span>
<span class="text-label-md font-label-md">筛选</span>
</button>
</div>
<div class="space-y-3">
<!-- Transaction Item 1 -->
<div class="bg-surface-container-lowest rounded-lg p-stack-md flex justify-between items-center border border-transparent hover:border-heritage-red/10 transition-colors">
<div class="space-y-1">
<p class="font-semibold text-ink-black">SN-DK88291</p>
<p class="text-subtle-gray text-label-md">2023-10-15 12:44:02</p>
</div>
<div class="text-right">
<p class="font-bold text-ink-black">¥200.00</p>
<p class="text-success-green text-[10px] font-bold">已核销</p>
</div>
</div>
<!-- Transaction Item 2 -->
<div class="bg-surface-container-lowest rounded-lg p-stack-md flex justify-between items-center border border-transparent">
<div class="space-y-1">
<p class="font-semibold text-ink-black">SN-DK88295</p>
<p class="text-subtle-gray text-label-md">2023-10-15 13:10:15</p>
</div>
<div class="text-right">
<p class="font-bold text-ink-black">¥200.00</p>
<p class="text-success-green text-[10px] font-bold">已核销</p>
</div>
</div>
<!-- Transaction Item 3 -->
<div class="bg-surface-container-lowest rounded-lg p-stack-md flex justify-between items-center border border-transparent">
<div class="space-y-1">
<p class="font-semibold text-ink-black">SN-DK88302</p>
<p class="text-subtle-gray text-label-md">2023-10-16 18:22:50</p>
</div>
<div class="text-right">
<p class="font-bold text-ink-black">¥200.00</p>
<p class="text-success-green text-[10px] font-bold">已核销</p>
</div>
</div>
<!-- Transaction Item 4 -->
<div class="bg-surface-container-lowest rounded-lg p-stack-md flex justify-between items-center border border-transparent">
<div class="space-y-1">
<p class="font-semibold text-ink-black">SN-DK88310</p>
<p class="text-subtle-gray text-label-md">2023-10-17 11:05:33</p>
</div>
<div class="text-right">
<p class="font-bold text-ink-black">¥200.00</p>
<p class="text-success-green text-[10px] font-bold">已核销</p>
</div>
</div>
</div>
<button class="w-full py-4 text-subtle-gray text-label-md font-label-md hover:text-primary transition-colors">
点击加载更多明细
</button>
</section>
</main>
<!-- Fixed Bottom Action Bar -->
<nav class="fixed bottom-0 w-full z-50 bg-surface/90 backdrop-blur-xl border-t border-outline-variant/10 px-4 py-3 pb-safe flex items-center justify-between gap-3">
<div class="flex-1 flex gap-2">
<button class="flex-1 py-3 px-4 rounded-xl bg-heritage-red text-white font-semibold text-body-md shadow-lg shadow-heritage-red/20 active:scale-95 transition-all text-center">
确认打款
</button>
</div>
</nav>
<!-- Subtle Background Shader Overlay -->
<div class="fixed inset-0 pointer-events-none z-[-1] opacity-30">
</div>
<script>
// Simple micro-interaction for the confirm button
document.querySelector('button.bg-heritage-red').addEventListener('click', function() {
const originalText = this.innerText;
this.innerText = '确认中...';
this.classList.add('animate-pulse');
setTimeout(() => {
this.innerText = '已确认';
this.classList.remove('animate-pulse');
this.classList.replace('bg-heritage-red', 'bg-success-green');
}, 1500);
});
</script>
</body></html>