feat: 技术支持工单/企微权限/开发版本管理/消息推送等迭代

This commit is contained in:
2026-08-04 21:32:13 +08:00
parent c8ea5a3119
commit 9d96c73246
1341 changed files with 0 additions and 195605 deletions
@@ -1,242 +0,0 @@
<!DOCTYPE html><html class="light" 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=Manrope:wght@400;500;600;700;800&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">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;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-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;
display: inline-block;
line-height: 1;
vertical-align: middle;
}
.notch-cutout {
mask-image: radial-gradient(circle at 0 50%, transparent 10px, black 11px),
radial-gradient(circle at 100% 50%, transparent 10px, black 11px);
mask-composite: intersect;
}
.paper-texture {
background-color: #ffffff;
background-image: url("https://www.transparenttextures.com/patterns/handmade-paper.png");
}
.pulse-soft {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: .8; }
}
</style>
</head>
<body class="bg-background font-body-md text-on-surface min-h-screen flex flex-col">
<!-- TopAppBar -->
<header class="flex items-center px-margin-page h-14 w-full z-50 bg-surface fixed top-0 left-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">核销确认</h1>
</header>
<!-- Main Content -->
<main class="flex-1 mt-14 px-margin-page py-stack-lg flex flex-col gap-6">
<!-- RedemptionCard (Bento Style & Paper Texture) -->
<section class="paper-texture rounded-xl overflow-hidden shadow-[0px_4px_20px_rgba(166,29,36,0.05)] border border-heritage-red/5" style="opacity: 1; transform: translateY(0px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);">
<!-- StoreVerified Banner -->
<div class="bg-success-green px-margin-page py-4 flex items-center gap-3 shadow-md">
<div class="w-10 h-10 rounded-full bg-white/20 flex items-center justify-center text-white">
<span class="material-symbols-outlined text-[24px]" style="font-variation-settings: 'FILL' 1;">verified_user</span>
</div>
<div>
<p class="font-label-md text-label-md text-white/80 uppercase tracking-wider">当前登录核销门店</p>
<h2 class="font-headline-md text-headline-md text-white font-bold">杜康大酒店 (龙门大道店)</h2>
</div>
</div>
<!-- Redemption Body -->
<div class="p-margin-page flex flex-col gap-8">
<!-- User Info -->
<div class="flex items-center justify-between bg-surface-container-low p-4 rounded-lg">
<div class="flex items-center gap-3">
<span class="material-symbols-outlined text-subtle-gray">person</span>
<span class="font-body-md text-body-md text-on-surface-variant">下单用户</span>
</div>
<span class="font-headline-md text-headline-md text-ink-black tabular-nums">138 **** 9021</span>
</div>
<!-- AmountSection -->
<div class="flex flex-col items-center py-4 border-y border-dashed border-outline-variant relative">
<!-- Ticket Notches -->
<div class="absolute -left-6 top-1/2 -translate-y-1/2 w-4 h-8 bg-background rounded-r-full border-r border-outline-variant/20"></div>
<div class="absolute -right-6 top-1/2 -translate-y-1/2 w-4 h-8 bg-background rounded-l-full border-l border-outline-variant/20"></div>
<p class="font-label-md text-label-md text-on-surface-variant mb-2">核销金额</p>
<div class="flex items-baseline gap-1 text-heritage-red">
<span class="font-headline-md text-headline-md">¥</span>
<span class="font-coupon-amount text-[48px] leading-none tracking-tight">100.00</span>
</div>
<div class="mt-4 bg-aged-amber/10 px-3 py-1 rounded-full flex items-center gap-1.5 border border-aged-amber/20">
<span class="material-symbols-outlined text-aged-amber text-[16px]" style="font-variation-settings: 'FILL' 1;">confirmation_number</span>
<span class="font-label-md text-label-md text-on-secondary-fixed-variant">好客权益</span>
</div>
</div>
<!-- Details List -->
<div class="space-y-3">
<div class="flex justify-between items-center text-sm">
<span class="text-subtle-gray">券编号</span>
<span class="text-ink-black font-medium">DK202310248892</span>
</div>
<div class="flex justify-between items-center text-sm"><span class="text-subtle-gray">有效期</span><span class="text-ink-black font-medium">永久</span></div></div>
<!-- ConfirmButton -->
<button class="w-full bg-heritage-red text-white h-14 rounded-xl font-headline-md text-headline-md flex items-center justify-center gap-2 active:scale-95 transition-all duration-150 shadow-lg shadow-heritage-red/20" id="confirmBtn" onclick="handleConfirm()"><span class="material-symbols-outlined" id="btnIcon">check_circle</span>
<span id="btnText" class="">确认核销 ¥100.00</span></button>
<!-- HintText -->
<p class="text-center font-body-md text-body-md text-subtle-gray">
请核对金额后点击确认
</p>
</div>
</section>
<!-- Illustration / Background Ornament -->
<div class="mt-auto opacity-10 flex justify-center pb-8 pointer-events-none">
<div class="w-32 h-32 relative">
<div class="absolute inset-0 border-2 border-heritage-red rounded-full animate-ping opacity-20"></div>
<div class="absolute inset-4 border border-heritage-red rounded-full opacity-40"></div>
<div class="absolute inset-0 flex items-center justify-center">
<span class="material-symbols-outlined text-heritage-red text-6xl">wine_bar</span>
</div>
</div>
</div>
</main>
<!-- BottomNavBar (Suppressed as per task focused rule, but shell is kept if relevant for top level - per prompt request, we are on a RedemptionPage (Store Side) which is a specific task, so we minimize UI clutter) -->
<script>
function handleConfirm() {
const btn = document.getElementById('confirmBtn');
const icon = document.getElementById('btnIcon');
const text = document.getElementById('btnText');
// Interaction Feedback
btn.disabled = true;
btn.classList.replace('bg-heritage-red', 'bg-success-green');
btn.classList.add('pulse-soft');
text.innerText = '正在核销...';
icon.innerText = 'sync';
icon.classList.add('animate-spin');
// Simulating API Call
setTimeout(() => {
icon.classList.remove('animate-spin');
icon.innerText = 'done_all';
text.innerText = '核销成功';
btn.classList.remove('pulse-soft');
// Optional: Vibrate on mobile
if (window.navigator.vibrate) {
window.navigator.vibrate(200);
}
}, 1500);
}
// Add a micro-interaction for the card on load
window.addEventListener('DOMContentLoaded', () => {
const card = document.querySelector('section');
card.style.opacity = '0';
card.style.transform = 'translateY(20px)';
card.style.transition = 'all 0.6s cubic-bezier(0.16, 1, 0.3, 1)';
setTimeout(() => {
card.style.opacity = '1';
card.style.transform = 'translateY(0)';
}, 100);
});
</script>
</body></html>
@@ -1,6 +0,0 @@
{
"title": "门店核销确认页 (S-01)",
"screenId": "2b153959031e473cb2c9965146766a86",
"category": "shop",
"syncedAt": "2026-06-29T02:34:46.552Z"
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB