feat: 技术支持工单/企微权限/开发版本管理/消息推送等迭代
This commit is contained in:
@@ -1,230 +0,0 @@
|
||||
<!DOCTYPE html><html class="light" lang="zh-CN" style="width: 390px; height: 1066px; overflow: hidden; position: relative;"><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=Manrope:wght@400;600;700&family=Be+Vietnam+Pro:wght@400;600&family=Inter: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">
|
||||
<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": {
|
||||
"primary-fixed-dim": "#ffb3ae",
|
||||
"on-tertiary-fixed": "#141e19",
|
||||
"secondary-container": "#fed65b",
|
||||
"surface-dim": "#dadad8",
|
||||
"surface-container-high": "#e9e8e6",
|
||||
"subtle-gray": "#999999",
|
||||
"tertiary-container": "#4e5852",
|
||||
"on-primary-fixed-variant": "#910817",
|
||||
"on-tertiary-fixed-variant": "#3f4943",
|
||||
"status-blue": "#2A6EBB",
|
||||
"tertiary-fixed": "#dae5dd",
|
||||
"inverse-primary": "#ffb3ae",
|
||||
"outline-variant": "#e2bebc",
|
||||
"on-secondary-fixed": "#241a00",
|
||||
"surface-container-highest": "#e3e2e0",
|
||||
"on-surface": "#1a1c1b",
|
||||
"on-secondary-fixed-variant": "#574500",
|
||||
"on-error-container": "#93000a",
|
||||
"error-container": "#ffdad6",
|
||||
"on-background": "#1a1c1b",
|
||||
"tertiary-fixed-dim": "#bec9c2",
|
||||
"surface-container-lowest": "#ffffff",
|
||||
"on-secondary": "#ffffff",
|
||||
"on-primary": "#ffffff",
|
||||
"secondary-fixed-dim": "#e9c349",
|
||||
"inverse-on-surface": "#f1f1ef",
|
||||
"on-primary-fixed": "#410004",
|
||||
"tertiary": "#37413b",
|
||||
"primary-container": "#a61d24",
|
||||
"surface": "#faf9f7",
|
||||
"on-tertiary-container": "#c2cdc6",
|
||||
"on-error": "#ffffff",
|
||||
"heritage-red": "#A61D24",
|
||||
"primary": "#820012",
|
||||
"on-tertiary": "#ffffff",
|
||||
"secondary-fixed": "#ffe088",
|
||||
"secondary": "#735c00",
|
||||
"aged-amber": "#FFBF00",
|
||||
"ink-black": "#1A1A1A",
|
||||
"error": "#ba1a1a",
|
||||
"success-green": "#2D6A4F",
|
||||
"primary-fixed": "#ffdad7",
|
||||
"surface-variant": "#e3e2e0",
|
||||
"inverse-surface": "#2f3130",
|
||||
"surface-container": "#efeeec",
|
||||
"outline": "#8d706e",
|
||||
"surface-container-low": "#f4f3f1",
|
||||
"background": "#faf9f7",
|
||||
"surface-bright": "#faf9f7",
|
||||
"on-primary-container": "#ffb9b4",
|
||||
"on-surface-variant": "#5a413f"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"stack-md": "16px",
|
||||
"base": "8px",
|
||||
"stack-sm": "4px",
|
||||
"stack-lg": "32px",
|
||||
"margin-page": "20px",
|
||||
"gutter-card": "12px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"headline-xl": ["Manrope"],
|
||||
"headline-md": ["Manrope"],
|
||||
"coupon-amount": ["Manrope"],
|
||||
"body-md": ["Be Vietnam Pro"],
|
||||
"headline-lg-mobile": ["Manrope"],
|
||||
"body-lg": ["Be Vietnam Pro"],
|
||||
"headline-lg": ["Manrope"],
|
||||
"label-md": ["Inter"]
|
||||
},
|
||||
"fontSize": {
|
||||
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
||||
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
||||
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
||||
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
||||
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
||||
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
||||
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||||
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
.success-bg-glow {
|
||||
background: radial-gradient(circle at center, rgba(45, 106, 79, 0.08) 0%, rgba(250, 249, 247, 0) 70%);
|
||||
}
|
||||
@keyframes subtle-bounce {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-4px); }
|
||||
}
|
||||
.animate-subtle-bounce {
|
||||
animation: subtle-bounce 2s ease-in-out infinite;
|
||||
}
|
||||
.coupon-notch-l { clip-path: circle(8px at 0% 50%); }
|
||||
.coupon-notch-r { clip-path: circle(8px at 100% 50%); }
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-surface font-body-md text-on-surface selection:bg-heritage-red/10 overflow-x-hidden min-h-screen">
|
||||
<!-- Top App Bar -->
|
||||
<header class="flex items-center px-margin-page h-14 w-full z-50 bg-surface sticky top-0">
|
||||
<button class="active:opacity-70 transition-opacity duration-200 mr-4">
|
||||
<span class="material-symbols-outlined text-primary">arrow_back</span>
|
||||
</button>
|
||||
<h1 class="font-headline-md text-headline-md font-bold text-heritage-red flex-1 text-center pr-10">杜康好客</h1>
|
||||
</header>
|
||||
<main class="relative px-margin-page pb-10">
|
||||
<!-- Success State Container -->
|
||||
<section class="flex flex-col items-center justify-center pt-10 pb-8 text-center success-bg-glow rounded-b-[40px]">
|
||||
<div class="w-20 h-20 bg-success-green/10 rounded-full flex items-center justify-center mb-6 ring-8 ring-success-green/5">
|
||||
<span class="material-symbols-outlined text-success-green !text-5xl" style="font-variation-settings: "FILL" 1;">check_circle</span>
|
||||
</div>
|
||||
<h2 class="font-headline-lg-mobile text-headline-lg-mobile text-ink-black mb-2">核销成功</h2>
|
||||
<div class="flex flex-col items-center gap-1">
|
||||
<span class="font-coupon-amount text-coupon-amount text-aged-amber">¥ 100.00</span>
|
||||
<span class="font-label-md text-label-md text-subtle-gray uppercase tracking-wider">已入账到余额</span>
|
||||
<span class="font-body-md text-body-md text-subtle-gray mt-2">核销成功,账单通知已发送至老板手机</span></div>
|
||||
</section>
|
||||
<!-- Transaction Details Card -->
|
||||
<div class="mt-8 bg-surface-container-lowest rounded-xl p-stack-md relative overflow-hidden">
|
||||
<!-- Decorative Accent -->
|
||||
<div class="space-y-4 relative z-10">
|
||||
<div class="flex justify-between items-center group">
|
||||
<span class="font-label-md text-label-md text-subtle-gray">核销门店</span>
|
||||
<span class="font-body-md text-body-md text-ink-black font-semibold">杜康大酒店 (龙门大道店)</span>
|
||||
</div>
|
||||
<div class="w-full h-px bg-surface-container-highest"></div><div class="flex justify-between items-center">
|
||||
<span class="font-label-md text-label-md text-subtle-gray">核销用户</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="w-6 h-6 rounded-full bg-surface-container-highest flex items-center justify-center overflow-hidden">
|
||||
<span class="material-symbols-outlined text-subtle-gray !text-sm">person</span>
|
||||
</div>
|
||||
<div class="flex flex-col items-end">
|
||||
<span class="font-body-md text-body-md text-ink-black font-semibold">杜康用户***</span>
|
||||
<span class="font-label-md text-label-md text-subtle-gray">138 **** 8888</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full h-px bg-surface-container-highest"></div>
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="font-label-md text-label-md text-subtle-gray">核销时间</span>
|
||||
<span class="font-body-md text-body-md text-on-surface-variant">2023-10-24 15:45:12</span>
|
||||
</div>
|
||||
<div class="w-full h-px bg-surface-container-highest border-dashed"></div>
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="font-label-md text-label-md text-subtle-gray">订单编号</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-body-md text-body-md text-on-surface-variant font-mono">DK772839401</span>
|
||||
<span class="material-symbols-outlined text-subtle-gray !text-sm active:text-primary cursor-pointer">content_copy</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="mt-4 flex justify-center"><button class="text-primary font-label-md text-label-md flex items-center gap-1 active:opacity-70"></button></div>
|
||||
<!-- Redemption Illustration (Premium Feel) -->
|
||||
<!-- Action Buttons -->
|
||||
<div class="mt-12 space-y-4"><button class="w-full h-14 bg-heritage-red text-white font-headline-md text-headline-md rounded-xl flex items-center justify-center gap-2 active:opacity-90 transition-all">
|
||||
<span class="">继续核销</span>
|
||||
<span class="material-symbols-outlined !text-xl">qr_code_scanner</span>
|
||||
</button>
|
||||
<button class="w-full h-14 border border-heritage-red text-heritage-red font-headline-md text-headline-md rounded-xl flex items-center justify-center gap-2 active:bg-heritage-red/5 transition-all">
|
||||
<span class="">返回首页</span>
|
||||
<span class="material-symbols-outlined !text-xl">home</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Footer / Branding -->
|
||||
<div class="mt-16 flex flex-col items-center opacity-30 select-none">
|
||||
<div class="w-8 h-8 rounded-full border border-primary flex items-center justify-center mb-2">
|
||||
<span class="material-symbols-outlined text-primary !text-xs" style="font-variation-settings: "FILL" 1;">verified</span>
|
||||
</div>
|
||||
<p class="font-label-md text-label-md tracking-[0.2em] text-primary">山西领势酒业有限责任公司</p>
|
||||
</div>
|
||||
</main>
|
||||
<!-- Bottom Navigation Bar (Contextual) -->
|
||||
<!-- Micro-interaction Script -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const buttons = document.querySelectorAll('button');
|
||||
buttons.forEach(btn => {
|
||||
btn.addEventListener('touchstart', () => {
|
||||
btn.classList.add('scale-[0.98]');
|
||||
});
|
||||
btn.addEventListener('touchend', () => {
|
||||
btn.classList.remove('scale-[0.98]');
|
||||
});
|
||||
});
|
||||
|
||||
// Copy to clipboard mock
|
||||
const copyIcon = document.querySelector('.material-symbols-outlined[data-icon="content_copy"]');
|
||||
if(copyIcon) {
|
||||
copyIcon.addEventListener('click', () => {
|
||||
copyIcon.innerText = 'done';
|
||||
copyIcon.classList.add('text-success-green');
|
||||
setTimeout(() => {
|
||||
copyIcon.innerText = 'content_copy';
|
||||
copyIcon.classList.remove('text-success-green');
|
||||
}, 2000);
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user