Files
2026-06-30 10:33:56 +08:00

272 lines
12 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=Manrope:wght@400;500;600;700&amp;family=Be+Vietnam+Pro:wght@400;500;600&amp;family=Inter:wght@400;500;600&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">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet">
<!-- Tailwind Configuration -->
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"tertiary": "#37413b",
"surface-container": "#efeeec",
"secondary-container": "#fed65b",
"on-primary-container": "#ffb9b4",
"tertiary-fixed-dim": "#bec9c2",
"ink-black": "#1A1A1A",
"on-secondary-container": "#745c00",
"outline-variant": "#e2bebc",
"on-tertiary-container": "#c2cdc6",
"primary-fixed-dim": "#ffb3ae",
"on-surface-variant": "#5a413f",
"on-error-container": "#93000a",
"tertiary-container": "#4e5852",
"surface-bright": "#faf9f7",
"surface-container-lowest": "#ffffff",
"error-container": "#ffdad6",
"surface-container-high": "#e9e8e6",
"error": "#ba1a1a",
"inverse-surface": "#2f3130",
"primary-container": "#a61d24",
"on-tertiary": "#ffffff",
"secondary-fixed": "#ffe088",
"surface-tint": "#b3272c",
"outline": "#8d706e",
"on-secondary-fixed": "#241a00",
"on-error": "#ffffff",
"on-primary": "#ffffff",
"subtle-gray": "#999999",
"background": "#faf9f7",
"on-tertiary-fixed": "#141e19",
"surface-container-highest": "#e3e2e0",
"inverse-on-surface": "#f1f1ef",
"on-primary-fixed-variant": "#910817",
"heritage-red": "#A61D24",
"secondary": "#735c00",
"primary-fixed": "#ffdad7",
"surface-dim": "#dadad8",
"aged-amber": "#FFBF00",
"status-blue": "#2A6EBB",
"on-surface": "#1a1c1b",
"surface-variant": "#e3e2e0",
"surface": "#faf9f7",
"on-secondary-fixed-variant": "#574500",
"surface-container-low": "#f4f3f1",
"tertiary-fixed": "#dae5dd",
"on-background": "#1a1c1b",
"on-primary-fixed": "#410004",
"secondary-fixed-dim": "#e9c349",
"on-secondary": "#ffffff",
"success-green": "#2D6A4F",
"primary": "#820012",
"inverse-primary": "#ffb3ae",
"on-tertiary-fixed-variant": "#3f4943"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"stack-lg": "32px",
"margin-page": "20px",
"stack-sm": "4px",
"stack-md": "16px",
"gutter-card": "12px",
"base": "8px"
},
"fontFamily": {
"headline-lg": ["Manrope"],
"headline-lg-mobile": ["Manrope"],
"body-lg": ["Be Vietnam Pro"],
"headline-md": ["Manrope"],
"headline-xl": ["Manrope"],
"label-md": ["Inter"],
"coupon-amount": ["Manrope"],
"body-md": ["Be Vietnam Pro"]
},
"fontSize": {
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.contract-gradient {
background: linear-gradient(135deg, #A61D24 0%, #820012 100%);
}
.amber-blur {
background: rgba(255, 191, 0, 0.1);
backdrop-filter: blur(4px);
}
body {
background-color: #faf9f7;
-webkit-tap-highlight-color: transparent;
}
</style>
</head>
<body class="font-body-md text-on-surface">
<!-- TopAppBar -->
<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">
<div class="flex items-center gap-4">
<button class="active:scale-95 duration-200 p-2 -ml-2 rounded-full hover:bg-surface-container-high transition-colors">
<span class="material-symbols-outlined text-primary">arrow_back</span>
</button>
<h1 class="font-headline-lg-mobile text-headline-lg-mobile text-primary font-bold">合同管理</h1>
</div>
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-primary">verified_user</span>
</div>
</div>
</header>
<main class="pt-24 pb-32 px-margin-page max-w-screen-xl mx-auto space-y-stack-lg">
<!-- Active Contract Section -->
<section>
<div class="flex items-center justify-between mb-4">
<h2 class="font-headline-md text-headline-md text-on-surface flex items-center gap-2">
<span class="w-1 h-5 bg-heritage-red rounded-full"></span>
当前生效合同
</h2>
<span class="text-label-md font-label-md bg-success-green/10 text-success-green px-3 py-1 rounded-full">进行中</span>
</div>
<!-- Hero Card -->
<div class="contract-gradient rounded-xl p-6 shadow-xl relative overflow-hidden text-white">
<!-- Decorative background elements -->
<div class="absolute -right-10 -top-10 w-40 h-40 bg-white/5 rounded-full blur-3xl"></div>
<div class="absolute right-4 top-4">
<span class="material-symbols-outlined text-white/20 text-6xl" style="font-variation-settings: 'FILL' 1;">description</span>
</div>
<div class="relative z-10">
<div class="mb-6">
<p class="text-white/70 text-label-md font-label-md mb-1">合同编号</p>
<p class="font-headline-md text-headline-md tracking-wider">DK-2025-LY-00892</p>
</div>
<div class="grid grid-cols-2 gap-4 mb-8">
<div>
<p class="text-white/70 text-label-md font-label-md mb-1">签约日期</p>
<p class="font-body-lg text-body-lg">2025年01月01日</p>
</div>
<div>
<p class="text-white/70 text-label-md font-label-md mb-1">到期日期</p>
<p class="font-body-lg text-body-lg">2025年12月31日</p>
</div>
</div>
<div class="flex gap-3">
<button class="flex-1 bg-white text-heritage-red font-bold py-3 rounded-lg active:scale-95 transition-transform text-body-md">
查看详情
</button>
<button class="flex-1 bg-aged-amber text-on-secondary-fixed font-bold py-3 rounded-lg active:scale-95 transition-transform text-body-md flex items-center justify-center gap-2">
申请续约
<span class="material-symbols-outlined text-sm">bolt</span>
</button>
</div>
</div>
</div>
</section>
<!-- Historical Contracts List -->
<section>
<h2 class="font-headline-md text-headline-md text-on-surface mb-4 flex items-center gap-2">
<span class="w-1 h-5 bg-outline rounded-full"></span>
历史合同
</h2>
<div class="space-y-4">
<!-- Contract Item 1 -->
<div class="bg-surface-container-lowest p-4 rounded-xl shadow-[0px_4px_20px_rgba(0,0,0,0.04)] border border-outline-variant/10 flex items-center justify-between group active:bg-surface-container-low transition-colors">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-lg bg-surface-container-high flex items-center justify-center">
<span class="material-symbols-outlined text-outline">contract</span>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<h3 class="font-headline-md text-body-lg text-on-surface">2024年度城市合作协议</h3>
<span class="text-[10px] bg-outline-variant/30 text-on-surface-variant px-1.5 py-0.5 rounded whitespace-nowrap">已过期</span>
</div>
<p class="text-subtle-gray text-label-md">2024.01.01 - 2024.12.31</p>
</div>
</div>
<button class="w-10 h-10 rounded-full flex items-center justify-center text-primary hover:bg-primary-fixed/20 transition-colors">
<span class="material-symbols-outlined">download</span>
</button>
</div>
<!-- Contract Item 2 -->
<div class="bg-surface-container-lowest p-4 rounded-xl shadow-[0px_4px_20px_rgba(0,0,0,0.04)] border border-outline-variant/10 flex items-center justify-between group active:bg-surface-container-low transition-colors">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-lg bg-surface-container-high flex items-center justify-center">
<span class="material-symbols-outlined text-outline">contract</span>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<h3 class="font-headline-md text-body-lg text-on-surface">2023年度区域分销授权</h3>
<span class="text-[10px] bg-outline-variant/30 text-on-surface-variant px-1.5 py-0.5 rounded whitespace-nowrap">已过期</span>
</div>
<p class="text-subtle-gray text-label-md">2023.01.01 - 2023.12.31</p>
</div>
</div>
<button class="w-10 h-10 rounded-full flex items-center justify-center text-primary hover:bg-primary-fixed/20 transition-colors">
<span class="material-symbols-outlined">download</span>
</button>
</div>
<!-- Contract Item 3 -->
<div class="bg-surface-container-lowest p-4 rounded-xl shadow-[0px_4px_20px_rgba(0,0,0,0.04)] border border-outline-variant/10 flex items-center justify-between group active:bg-surface-container-low transition-colors">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-lg bg-surface-container-high flex items-center justify-center">
<span class="material-symbols-outlined text-outline">contract</span>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<h3 class="font-headline-md text-body-lg text-on-surface">品牌联合推广协议 (Q3)</h3>
<span class="text-[10px] bg-outline-variant/30 text-on-surface-variant px-1.5 py-0.5 rounded whitespace-nowrap">已过期</span>
</div>
<p class="text-subtle-gray text-label-md">2023.07.01 - 2023.09.30</p>
</div>
</div>
<button class="w-10 h-10 rounded-full flex items-center justify-center text-primary hover:bg-primary-fixed/20 transition-colors">
<span class="material-symbols-outlined">download</span>
</button>
</div>
</div>
</section>
<!-- Information Notice -->
<div class="bg-surface-container rounded-xl p-4 flex gap-3">
<span class="material-symbols-outlined text-heritage-red text-xl">info</span>
<p class="text-on-surface-variant text-label-md leading-relaxed">
所有电子合同均具有法律效力。如需纸质合同原件,请联系所属区域经理或拨打合伙人服务热线:<span class="text-heritage-red font-bold">400-888-9999</span>
</p>
</div>
</main>
<!-- Bottom Navigation Bar -->
<nav class="fixed bottom-0 w-full z-50 rounded-t-xl bg-surface-container-lowest border-t border-outline-variant/20 shadow-[0px_-4px_16px_rgba(0,0,0,0.04)]"></nav>
<script>
// Simple micro-interaction for buttons
document.querySelectorAll('button').forEach(btn => {
btn.addEventListener('touchstart', function() {
this.classList.add('opacity-80');
});
btn.addEventListener('touchend', function() {
this.classList.remove('opacity-80');
});
});
</script>
</body></html>