init
This commit is contained in:
@@ -0,0 +1,322 @@
|
||||
<!DOCTYPE html><html class="light" lang="zh-CN" style=""><head>
|
||||
<meta charset="utf-8">
|
||||
<meta content="width=device-width, initial-scale=1.0, viewport-fit=cover" 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&family=Be+Vietnam+Pro:wght@400;500;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">
|
||||
<!-- Tailwind Configuration -->
|
||||
<script id="tailwind-config">
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
"colors": {
|
||||
"surface-tint": "#b3272c",
|
||||
"secondary-fixed": "#ffe088",
|
||||
"primary": "#820012",
|
||||
"on-primary": "#ffffff",
|
||||
"secondary": "#735c00",
|
||||
"on-tertiary-container": "#c2cdc6",
|
||||
"inverse-on-surface": "#f1f1ef",
|
||||
"surface": "#faf9f7",
|
||||
"status-blue": "#2A6EBB",
|
||||
"aged-amber": "#FFBF00",
|
||||
"on-tertiary-fixed": "#141e19",
|
||||
"secondary-container": "#fed65b",
|
||||
"on-primary-container": "#ffb9b4",
|
||||
"on-primary-fixed": "#410004",
|
||||
"error-container": "#ffdad6",
|
||||
"surface-dim": "#dadad8",
|
||||
"ink-black": "#1A1A1A",
|
||||
"on-surface": "#1a1c1b",
|
||||
"tertiary": "#37413b",
|
||||
"on-secondary-fixed": "#241a00",
|
||||
"primary-container": "#a61d24",
|
||||
"inverse-primary": "#ffb3ae",
|
||||
"surface-container-high": "#e9e8e6",
|
||||
"heritage-red": "#A61D24",
|
||||
"tertiary-fixed": "#dae5dd",
|
||||
"on-secondary-container": "#745c00",
|
||||
"surface-container": "#efeeec",
|
||||
"on-surface-variant": "#5a413f",
|
||||
"on-tertiary": "#ffffff",
|
||||
"on-secondary-fixed-variant": "#574500",
|
||||
"primary-fixed-dim": "#ffb3ae",
|
||||
"tertiary-fixed-dim": "#bec9c2",
|
||||
"success-green": "#2D6A4F",
|
||||
"on-error-container": "#93000a",
|
||||
"on-primary-fixed-variant": "#910817",
|
||||
"on-secondary": "#ffffff",
|
||||
"secondary-fixed-dim": "#e9c349",
|
||||
"background": "#faf9f7",
|
||||
"tertiary-container": "#4e5852",
|
||||
"on-background": "#1a1c1b",
|
||||
"surface-container-low": "#f4f3f1",
|
||||
"surface-bright": "#faf9f7",
|
||||
"primary-fixed": "#ffdad7",
|
||||
"inverse-surface": "#2f3130",
|
||||
"outline": "#8d706e",
|
||||
"outline-variant": "#e2bebc",
|
||||
"on-tertiary-fixed-variant": "#3f4943",
|
||||
"surface-container-highest": "#e3e2e0",
|
||||
"surface-container-lowest": "#ffffff",
|
||||
"error": "#ba1a1a",
|
||||
"subtle-gray": "#999999",
|
||||
"on-error": "#ffffff",
|
||||
"surface-variant": "#e3e2e0"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"base": "8px",
|
||||
"stack-sm": "4px",
|
||||
"stack-lg": "32px",
|
||||
"margin-page": "20px",
|
||||
"gutter-card": "12px",
|
||||
"stack-md": "16px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"headline-lg": ["Manrope"],
|
||||
"coupon-amount": ["Manrope"],
|
||||
"body-lg": ["Be Vietnam Pro"],
|
||||
"headline-lg-mobile": ["Manrope"],
|
||||
"headline-xl": ["Manrope"],
|
||||
"body-md": ["Be Vietnam Pro"],
|
||||
"label-md": ["Inter"],
|
||||
"headline-md": ["Manrope"]
|
||||
},
|
||||
"fontSize": {
|
||||
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
||||
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
||||
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
||||
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
||||
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
||||
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
||||
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
||||
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
background-color: #faf9f7;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.heritage-gradient {
|
||||
background: linear-gradient(135deg, #820012 0%, #A61D24 40%, #D4A373 100%);
|
||||
}
|
||||
.paper-texture {
|
||||
background-image: url("https://www.transparenttextures.com/patterns/handmade-paper.png");
|
||||
opacity: 0.05;
|
||||
}
|
||||
.glass-card {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(8px);
|
||||
box-shadow: 0px 4px 20px rgba(166, 29, 36, 0.05);
|
||||
}
|
||||
.active-scale:active {
|
||||
transform: scale(0.95);
|
||||
transition: transform 0.1s;
|
||||
}
|
||||
.safe-bottom {
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-body-md text-on-surface">
|
||||
<!-- Top Profile Header -->
|
||||
<header class="relative w-full heritage-gradient pt-16 pb-24 px-margin-page overflow-hidden">
|
||||
<!-- Background texture overlay -->
|
||||
<div class="absolute inset-0 paper-texture pointer-events-none"></div>
|
||||
<!-- Profile Content -->
|
||||
<div class="relative flex items-center space-x-4">
|
||||
<div class="relative">
|
||||
<div class="w-20 h-20 rounded-full border-2 border-white/30 overflow-hidden bg-white shadow-lg">
|
||||
<img class="w-full h-full object-cover" data-alt="A high-quality, professional headshot of a sophisticated middle-aged man with a warm and welcoming expression. He is dressed in business casual attire. The lighting is soft and cinematic, with a warm amber glow reflecting the premium Heritage Modernism aesthetic. The background is a blurred, elegant interior of a high-end hospitality lounge featuring traditional Chinese elements." src="https://lh3.googleusercontent.com/aida-public/AB6AXuAz_9Pnpk_Md4sEU6PXkeybus8oLZO9e-3pOpLuSwBX0jm_Z0JCfX1w2oZxz1VZayTh0PKUPjwjSuxJVX410fjtWFGR_f55f-nWppXWUweHRnEC7WyIWEqx4AyVHt-k02OhyaSGQfvY5cHG5IuRe9EqdcHy47gBQ82_cxGgX-DrKV4oYcwLoNRynAV0_xv2p1GOhisnQVulHwZcQClUJcP8q4nTY0Y3DR1w4ioa0DYTHePE43mLDJptjZcQqS7V8LihJdn4ze6fvQA">
|
||||
</div>
|
||||
<div class="absolute bottom-0 right-0 w-6 h-6 bg-aged-amber rounded-full flex items-center justify-center border-2 border-primary shadow-sm">
|
||||
<span class="material-symbols-outlined text-[14px] text-primary" style="font-variation-settings: 'FILL' 1;">verified</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col">
|
||||
<h1 class="font-headline-lg-mobile text-headline-lg-mobile text-on-primary">李先生</h1>
|
||||
<div class="flex items-center mt-1 space-x-2">
|
||||
<span class="font-label-md text-label-md text-on-primary/80 tracking-wider">ID: DK88293401</span>
|
||||
<span class="bg-white/10 px-2 py-0.5 rounded-full font-label-md text-[10px] text-on-primary/90">至尊会员</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<button class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center text-on-primary active-scale">
|
||||
<span class="material-symbols-outlined">settings</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Floating Abstract Shapes for Modernism -->
|
||||
<div class="absolute -right-10 -bottom-10 w-40 h-40 bg-white/5 rounded-full blur-3xl"></div>
|
||||
</header>
|
||||
<!-- Main Content Container -->
|
||||
<main class="relative -mt-10 px-margin-page pb-32 space-y-gutter-card">
|
||||
<!-- My Assets Section -->
|
||||
<section class="glass-card rounded-xl p-5 border border-heritage-red/5">
|
||||
<div class="flex justify-between items-center mb-4">
|
||||
<h2 class="font-headline-md text-headline-md text-ink-black flex items-center">
|
||||
<span class="material-symbols-outlined mr-2 text-primary">account_balance_wallet</span>
|
||||
我的资产
|
||||
</h2>
|
||||
<a class="font-label-md text-label-md text-subtle-gray flex items-center active-scale" href="#">
|
||||
查看明细 <span class="material-symbols-outlined text-[16px] ml-1">chevron_right</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex items-end justify-between bg-surface-container-lowest p-4 rounded-lg border border-outline-variant/30 relative overflow-hidden">
|
||||
<div>
|
||||
<p class="font-label-md text-label-md text-on-surface-variant mb-1">好客权益余额</p>
|
||||
<div class="flex items-baseline space-x-1">
|
||||
<span class="font-coupon-amount text-coupon-amount text-primary">¥</span>
|
||||
<span class="font-coupon-amount text-[32px] text-primary">1,280.00</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="relative z-10">
|
||||
<button class="bg-primary text-on-primary px-4 py-2 rounded-lg font-label-md active-scale">
|
||||
去使用
|
||||
</button>
|
||||
</div>
|
||||
<!-- Subtle Amber Notch Decoration -->
|
||||
<div class="absolute -right-4 top-1/2 -translate-y-1/2 w-8 h-8 bg-surface rounded-full"></div>
|
||||
<div class="absolute top-0 bottom-0 right-[4.5rem] border-r border-dashed border-outline-variant/50"></div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- My Orders Section -->
|
||||
<section class="glass-card rounded-xl p-5 border border-heritage-red/5">
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<h2 class="font-headline-md text-headline-md text-ink-black">我的订单</h2>
|
||||
<a class="font-label-md text-label-md text-subtle-gray flex items-center active-scale" href="#">
|
||||
全部订单 <span class="material-symbols-outlined text-[16px] ml-1">chevron_right</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="grid grid-cols-4 gap-2"><button class="flex flex-col items-center space-y-2 active-scale">
|
||||
<div class="relative">
|
||||
<span class="material-symbols-outlined text-[28px] text-on-surface-variant">payments</span>
|
||||
<span class="absolute -top-1 -right-2 w-4 h-4 bg-primary text-white text-[10px] rounded-full flex items-center justify-center">2</span>
|
||||
</div>
|
||||
<span class="font-label-md text-label-md text-on-surface-variant">待付款</span>
|
||||
</button>
|
||||
<button class="flex flex-col items-center space-y-2 active-scale">
|
||||
<span class="material-symbols-outlined text-[28px] text-on-surface-variant">package_2</span>
|
||||
<span class="font-label-md text-label-md text-on-surface-variant">待发货</span>
|
||||
</button>
|
||||
<button class="flex flex-col items-center space-y-2 active-scale">
|
||||
<span class="material-symbols-outlined text-[28px] text-on-surface-variant">local_shipping</span>
|
||||
<span class="font-label-md text-label-md text-on-surface-variant">配送中</span>
|
||||
</button>
|
||||
<button class="flex flex-col items-center space-y-2 active-scale">
|
||||
<span class="material-symbols-outlined text-[28px] text-on-surface-variant">task_alt</span>
|
||||
<span class="font-label-md text-label-md text-on-surface-variant">已完成</span>
|
||||
</button></div>
|
||||
</section>
|
||||
<!-- Services List -->
|
||||
<section class="glass-card rounded-xl overflow-hidden border border-heritage-red/5">
|
||||
<div class="divide-y divide-outline-variant/20">
|
||||
<!-- Service Item 1 -->
|
||||
<button class="w-full flex items-center justify-between p-5 active:bg-surface-container-low transition-colors text-left group">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="w-10 h-10 rounded-full bg-primary/5 flex items-center justify-center text-primary group-hover:bg-primary group-hover:text-white transition-all">
|
||||
<span class="material-symbols-outlined text-[20px]">location_on</span>
|
||||
</div>
|
||||
<span class="font-body-md text-body-md text-ink-black">地址管理</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
||||
</button>
|
||||
<!-- Service Item 2 -->
|
||||
<button class="w-full flex items-center justify-between p-5 active:bg-surface-container-low transition-colors text-left group">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="w-10 h-10 rounded-full bg-primary/5 flex items-center justify-center text-primary group-hover:bg-primary group-hover:text-white transition-all">
|
||||
<span class="material-symbols-outlined text-[20px]">storefront</span>
|
||||
</div>
|
||||
<span class="font-body-md text-body-md text-ink-black">可用门店</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
||||
</button>
|
||||
<!-- Service Item 3 -->
|
||||
<button class="w-full flex items-center justify-between p-5 active:bg-surface-container-low transition-colors text-left group">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="w-10 h-10 rounded-full bg-primary/5 flex items-center justify-center text-primary group-hover:bg-primary group-hover:text-white transition-all">
|
||||
<span class="material-symbols-outlined text-[20px]">headset_mic</span>
|
||||
</div>
|
||||
<span class="font-body-md text-body-md text-ink-black">联系客服</span>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<span class="font-label-md text-label-md text-primary mr-1">在线中</span>
|
||||
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
||||
</div>
|
||||
</button>
|
||||
<!-- Service Item 4 -->
|
||||
<button class="w-full flex items-center justify-between p-5 active:bg-surface-container-low transition-colors text-left group">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="w-10 h-10 rounded-full bg-primary/5 flex items-center justify-center text-primary group-hover:bg-primary group-hover:text-white transition-all">
|
||||
<span class="material-symbols-outlined text-[20px]">info</span>
|
||||
</div>
|
||||
<span class="font-body-md text-body-md text-ink-black">关于我们</span>
|
||||
</div>
|
||||
<span class="material-symbols-outlined text-subtle-gray">chevron_right</span>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
<!-- App Version/Sign Out -->
|
||||
<div class="py-4 text-center">
|
||||
<p class="font-label-md text-label-md text-subtle-gray/60">杜康好客 V2.4.0</p>
|
||||
<button class="mt-4 font-label-md text-label-md text-primary active:opacity-60 transition-opacity">
|
||||
退出当前账号
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
<!-- Bottom Navigation Bar (JSON Mapping) -->
|
||||
<nav class="fixed bottom-0 w-full z-50 flex justify-around items-center px-4 py-2 pb-safe bg-surface shadow-lg border-t border-outline-variant/30"><!-- Home -->
|
||||
<a class="flex flex-col items-center justify-center text-subtle-gray hover:bg-surface-container-low py-1 flex-1 transition-transform active:scale-90" href="#">
|
||||
<span class="material-symbols-outlined">home</span>
|
||||
<span class="font-label-md text-label-md mt-1">首页</span>
|
||||
</a>
|
||||
<!-- Stores -->
|
||||
<a class="flex flex-col items-center justify-center text-subtle-gray hover:bg-surface-container-low py-1 flex-1 transition-transform active:scale-90" href="#">
|
||||
<span class="material-symbols-outlined">storefront</span>
|
||||
<span class="font-label-md text-label-md mt-1">门店</span>
|
||||
</a>
|
||||
<!-- Benefits -->
|
||||
<a class="flex flex-col items-center justify-center text-subtle-gray hover:bg-surface-container-low py-1 flex-1 transition-transform active:scale-90" href="#">
|
||||
<span class="material-symbols-outlined">card_giftcard</span>
|
||||
<span class="font-label-md text-label-md mt-1">好客权益</span>
|
||||
</a>
|
||||
<!-- Profile (Active) -->
|
||||
<a class="flex flex-col items-center justify-center text-primary dark:text-primary-fixed-dim hover:bg-surface-container-low py-1 flex-1 transition-transform active:scale-90" href="#">
|
||||
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">person</span>
|
||||
<span class="font-label-md text-label-md mt-1">我的</span>
|
||||
</a></nav>
|
||||
<script>
|
||||
// Micro-interactions for scrolling
|
||||
window.addEventListener('scroll', () => {
|
||||
const header = document.querySelector('header');
|
||||
const scroll = window.scrollY;
|
||||
if (scroll > 100) {
|
||||
// Potential header shrinkage or styling change
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "我的 - 个人中心页",
|
||||
"screenId": "70b6f4222d2d4331a7cdf3e185a4c961",
|
||||
"category": "user",
|
||||
"syncedAt": "2026-06-29T08:06:33.707Z"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user