Files
dukang/pages/partner/02_合伙人待确认账单页_f9b208b8/code.html
T
2026-06-30 10:33:56 +08:00

293 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" 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&amp;family=Be+Vietnam+Pro:wght@400;500&amp;family=Inter: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;
display: inline-block;
line-height: 1;
}
.paper-texture {
background-color: #faf9f7;
background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}
.glass-panel {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.coupon-notch {
position: relative;
}
.coupon-notch::before, .coupon-notch::after {
content: '';
position: absolute;
left: -10px;
width: 20px;
height: 20px;
background: #faf9f7;
border-radius: 50%;
z-index: 10;
}
.coupon-notch::before { top: -10px; }
.coupon-notch::after { bottom: -10px; }
</style>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"success-green": "#2D6A4F",
"secondary-container": "#fed65b",
"inverse-primary": "#ffb3ae",
"tertiary-container": "#4e5852",
"surface-container-lowest": "#ffffff",
"subtle-gray": "#999999",
"heritage-red": "#A61D24",
"outline-variant": "#e2bebc",
"surface-dim": "#dadad8",
"on-tertiary-fixed": "#141e19",
"inverse-surface": "#2f3130",
"on-primary-container": "#ffb9b4",
"on-error-container": "#93000a",
"on-secondary": "#ffffff",
"tertiary-fixed-dim": "#bec9c2",
"on-secondary-fixed": "#241a00",
"primary-fixed-dim": "#ffb3ae",
"status-blue": "#2A6EBB",
"surface-container-low": "#f4f3f1",
"ink-black": "#1A1A1A",
"surface": "#faf9f7",
"surface-container": "#efeeec",
"on-surface": "#1a1c1b",
"on-primary": "#ffffff",
"primary": "#820012",
"on-primary-fixed": "#410004",
"primary-container": "#a61d24",
"secondary-fixed": "#ffe088",
"secondary": "#735c00",
"outline": "#8d706e",
"on-tertiary": "#ffffff",
"surface-container-high": "#e9e8e6",
"aged-amber": "#FFBF00",
"on-surface-variant": "#5a413f",
"on-tertiary-container": "#c2cdc6",
"on-secondary-container": "#745c00",
"surface-variant": "#e3e2e0",
"tertiary": "#37413b",
"surface-bright": "#faf9f7",
"on-background": "#1a1c1b",
"error-container": "#ffdad6",
"background": "#faf9f7",
"on-secondary-fixed-variant": "#574500",
"on-primary-fixed-variant": "#910817",
"secondary-fixed-dim": "#e9c349",
"on-tertiary-fixed-variant": "#3f4943",
"primary-fixed": "#ffdad7",
"inverse-on-surface": "#f1f1ef",
"tertiary-fixed": "#dae5dd",
"on-error": "#ffffff",
"surface-tint": "#b3272c",
"surface-container-highest": "#e3e2e0",
"error": "#ba1a1a"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-md": "16px",
"margin-page": "20px",
"base": "8px",
"stack-lg": "32px",
"stack-sm": "4px",
"gutter-card": "12px"
},
"fontFamily": {
"coupon-amount": ["Manrope"],
"headline-md": ["Manrope"],
"headline-lg": ["Manrope"],
"label-md": ["Inter"],
"headline-lg-mobile": ["Manrope"],
"body-md": ["Be Vietnam Pro"],
"headline-xl": ["Manrope"],
"body-lg": ["Be Vietnam Pro"]
},
"fontSize": {
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
}
},
},
}
</script>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="paper-texture min-h-screen text-on-surface flex flex-col font-body-md text-body-md">
<!-- Top AppBar -->
<header class="fixed top-0 w-full z-50 bg-surface-container-low shadow-[0px_4px_20px_rgba(166,29,36,0.05)]">
<div class="flex items-center justify-between px-margin-page h-16 w-full max-w-screen-xl mx-auto">
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-surface-container-high transition-colors active:scale-95 duration-200">
<span class="material-symbols-outlined text-primary">arrow_back</span>
</button>
<h1 class="font-headline-md text-headline-md-mobile text-primary font-bold">待确认账单</h1>
<div class="w-10 h-10 flex items-center justify-center rounded-full overflow-hidden border border-outline-variant/20">
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-grow pt-24 pb-32 px-margin-page w-full max-w-md mx-auto">
<!-- Status Indicator -->
<div class="flex items-center justify-between mb-stack-lg px-2">
<div class="flex flex-col items-center gap-1">
<div class="w-6 h-6 rounded-full bg-heritage-red text-white flex items-center justify-center">
<span class="material-symbols-outlined text-[14px]" style="font-variation-settings: 'FILL' 1;">check</span>
</div>
<span class="font-label-md text-label-md text-heritage-red">数据核算</span>
</div>
<div class="flex-grow h-[2px] bg-heritage-red mx-2 -mt-4"></div>
<div class="flex flex-col items-center gap-1">
<div class="w-6 h-6 rounded-full bg-heritage-red border-2 border-heritage-red text-white flex items-center justify-center font-bold text-[12px]">2</div>
<span class="font-label-md text-label-md text-heritage-red">账单确认</span>
</div>
<div class="flex-grow h-[2px] bg-surface-container-highest mx-2 -mt-4"></div>
<div class="flex flex-col items-center gap-1">
<div class="w-6 h-6 rounded-full bg-surface-container-highest text-subtle-gray flex items-center justify-center font-bold text-[12px]">3</div>
<span class="font-label-md text-label-md text-subtle-gray">申请打款</span>
</div>
</div>
<!-- Hero Bill Card -->
<section class="relative bg-white rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-outline-variant/10 overflow-hidden mb-stack-md">
<!-- Decorative Header -->
<div class="h-2 bg-heritage-red w-full"></div>
<div class="p-stack-md">
<div class="flex justify-between items-start mb-6">
<div>
<p class="text-subtle-gray font-label-md text-label-md uppercase tracking-wider mb-1">SETTLEMENT PERIOD</p>
<h2 class="font-headline-lg text-headline-lg-mobile text-ink-black">10月度结算账单</h2>
</div>
<div class="bg-aged-amber/10 text-aged-amber px-3 py-1 rounded-full border border-aged-amber/20">
<span class="font-label-md text-label-md font-bold">待确认</span>
</div>
</div>
<div class="flex flex-col items-center py-6 border-y border-dashed border-outline-variant/30 relative">
<p class="text-subtle-gray mb-2">应结总金额</p>
<div class="flex items-baseline gap-1">
<span class="text-primary font-bold text-xl">¥</span>
<span class="text-primary font-coupon-amount text-coupon-amount">12,500.00</span>
</div>
</div>
<div class="mt-6 space-y-4">
<div class="flex justify-between items-center text-body-md">
<span class="text-on-surface-variant">订单分佣收入</span>
<span class="font-bold text-ink-black">¥ 10,200.00</span>
</div>
<div class="flex justify-between items-center text-body-md">
<span class="text-on-surface-variant">核销权益分佣</span>
<span class="font-bold text-ink-black">¥ 1,800.00</span>
</div>
</div>
<a class="flex items-center justify-center gap-2 mt-8 py-3 text-status-blue font-medium hover:bg-surface-container-low rounded-lg transition-colors group" href="#">
<span class="">查看详情</span>
<span class="material-symbols-outlined text-[18px] group-hover:translate-x-1 transition-transform">arrow_forward</span>
</a>
</div>
</section>
<!-- Informational Notice -->
<div class="bg-surface-container-low rounded-lg p-4 mb-stack-lg border border-outline-variant/10">
<div class="flex gap-3">
<span class="material-symbols-outlined text-primary" style="font-variation-settings: 'FILL' 1;">info</span>
<div class="text-body-md text-on-surface-variant leading-relaxed">
账单确认后将正式进入打款流程。如有异议,请在确认前联系城市运营经理核实数据。
</div>
</div>
</div>
</main>
<!-- Fixed Bottom Confirmation Section -->
<footer class="fixed bottom-0 w-full glass-panel border-t border-outline-variant/20 px-margin-page pb-10 pt-4 z-50">
<div class="max-w-md mx-auto space-y-4">
<label class="flex items-start gap-3 cursor-pointer group">
<div class="relative mt-0.5">
<input class="peer hidden" id="confirmCheck" type="checkbox">
<div class="w-5 h-5 border-2 border-outline rounded flex items-center justify-center peer-checked:bg-heritage-red peer-checked:border-heritage-red transition-all">
<span class="material-symbols-outlined text-white text-[16px] hidden peer-checked:block" style="font-variation-settings: 'FILL' 1;">check</span>
</div>
</div>
<span class="text-body-md text-on-surface-variant group-hover:text-ink-black transition-colors">我已核对数据无误,同意根据此账单进行结算</span>
</label>
<button class="w-full h-14 bg-subtle-gray text-white font-bold rounded-xl shadow-lg opacity-50 cursor-not-allowed transition-all active:scale-[0.98] flex items-center justify-center gap-2" disabled="" id="submitBtn">
<span class="">确认并申请打款</span>
<span class="material-symbols-outlined">payments</span>
</button>
</div>
</footer>
<!-- Bottom Nav Bar (Simulated Context) -->
<nav class="fixed bottom-0 w-full h-20 bg-surface-container-lowest border-t border-outline-variant/20 flex justify-around items-center px-4 pb-safe z-40 md:hidden">
<div class="flex flex-col items-center justify-center text-subtle-gray hover:opacity-80">
<span class="material-symbols-outlined">dashboard</span>
<span class="font-label-md text-label-md">工作台</span>
</div>
<div class="flex flex-col items-center justify-center text-subtle-gray hover:opacity-80">
<span class="material-symbols-outlined">storefront</span>
<span class="font-label-md text-label-md">门店</span>
</div>
<div class="flex flex-col items-center justify-center text-primary bg-primary-fixed/30 rounded-xl px-3 py-1">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">account_balance_wallet</span>
<span class="font-label-md text-label-md">财务</span>
</div>
<div class="flex flex-col items-center justify-center text-subtle-gray hover:opacity-80">
<span class="material-symbols-outlined">person</span>
<span class="font-label-md text-label-md">我的</span>
</div>
</nav>
<script>
const checkbox = document.getElementById('confirmCheck');
const submitBtn = document.getElementById('submitBtn');
checkbox.addEventListener('change', function() {
if (this.checked) {
submitBtn.disabled = false;
submitBtn.classList.remove('bg-subtle-gray', 'opacity-50', 'cursor-not-allowed');
submitBtn.classList.add('bg-heritage-red', 'opacity-100', 'cursor-pointer');
} else {
submitBtn.disabled = true;
submitBtn.classList.add('bg-subtle-gray', 'opacity-50', 'cursor-not-allowed');
submitBtn.classList.remove('bg-heritage-red', 'opacity-100', 'cursor-pointer');
}
});
submitBtn.addEventListener('click', function() {
if (!this.disabled) {
this.innerHTML = `<span class="material-symbols-outlined animate-spin">sync</span> 正在提交...`;
setTimeout(() => {
alert('申请已提交,请耐心等待打款审核。');
this.innerHTML = `<span>已申请</span> <span class="material-symbols-outlined">check_circle</span>`;
this.disabled = true;
this.classList.add('bg-success-green');
this.classList.remove('bg-heritage-red');
}, 1500);
}
});
</script>
</body></html>