feat: multi-module iteration
This commit is contained in:
@@ -0,0 +1,181 @@
|
||||
<!DOCTYPE html><html lang="zh-CN"><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;600;700;800&family=Be+Vietnam+Pro:wght@400;500&family=Inter:wght@500&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": {
|
||||
"on-secondary-fixed": "#241a00",
|
||||
"on-primary-fixed": "#410004",
|
||||
"on-background": "#1a1c1b",
|
||||
"outline-variant": "#e2bebc",
|
||||
"aged-amber": "#FFBF00",
|
||||
"heritage-red": "#A61D24",
|
||||
"tertiary-fixed": "#dae5dd",
|
||||
"on-secondary-fixed-variant": "#574500",
|
||||
"subtle-gray": "#999999",
|
||||
"on-tertiary": "#ffffff",
|
||||
"secondary-container": "#fed65b",
|
||||
"success-green": "#2D6A4F",
|
||||
"on-tertiary-fixed": "#141e19",
|
||||
"tertiary": "#37413b",
|
||||
"on-primary-fixed-variant": "#910817",
|
||||
"tertiary-fixed-dim": "#bec9c2",
|
||||
"on-secondary": "#ffffff",
|
||||
"inverse-on-surface": "#f1f1ef",
|
||||
"surface-container-high": "#e9e8e6",
|
||||
"error-container": "#ffdad6",
|
||||
"surface-bright": "#faf9f7",
|
||||
"on-error-container": "#93000a",
|
||||
"surface-container-low": "#f4f3f1",
|
||||
"primary": "#820012",
|
||||
"surface-container": "#efeeec",
|
||||
"on-primary": "#ffffff",
|
||||
"inverse-primary": "#ffb3ae",
|
||||
"surface": "#faf9f7",
|
||||
"on-secondary-container": "#745c00",
|
||||
"primary-container": "#a61d24",
|
||||
"on-tertiary-container": "#c2cdc6",
|
||||
"secondary": "#735c00",
|
||||
"surface-container-lowest": "#ffffff",
|
||||
"tertiary-container": "#4e5852",
|
||||
"primary-fixed": "#ffdad7",
|
||||
"ink-black": "#1A1A1A",
|
||||
"outline": "#8d706e",
|
||||
"on-surface": "#1a1c1b",
|
||||
"surface-container-highest": "#e3e2e0",
|
||||
"secondary-fixed": "#ffe088",
|
||||
"surface-tint": "#b3272c",
|
||||
"status-blue": "#2A6EBB",
|
||||
"primary-fixed-dim": "#ffb3ae",
|
||||
"on-error": "#ffffff",
|
||||
"inverse-surface": "#2f3130",
|
||||
"background": "#faf9f7",
|
||||
"on-surface-variant": "#5a413f",
|
||||
"on-tertiary-fixed-variant": "#3f4943",
|
||||
"secondary-fixed-dim": "#e9c349",
|
||||
"surface-variant": "#e3e2e0",
|
||||
"surface-dim": "#dadad8",
|
||||
"error": "#ba1a1a",
|
||||
"on-primary-container": "#ffb9b4"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"margin-page": "20px",
|
||||
"stack-sm": "4px",
|
||||
"stack-md": "16px",
|
||||
"gutter-card": "12px",
|
||||
"stack-lg": "32px",
|
||||
"base": "8px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"headline-lg": ["Manrope"],
|
||||
"label-md": ["Inter"],
|
||||
"headline-md": ["Manrope"],
|
||||
"headline-lg-mobile": ["Manrope"],
|
||||
"body-lg": ["Be Vietnam Pro"],
|
||||
"body-md": ["Be Vietnam Pro"],
|
||||
"headline-xl": ["Manrope"]
|
||||
},
|
||||
"fontSize": {
|
||||
"headline-lg": ["24px", { "lineHeight": "32px", "fontWeight": "600" }],
|
||||
"label-md": ["12px", { "lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500" }],
|
||||
"headline-md": ["18px", { "lineHeight": "26px", "fontWeight": "600" }],
|
||||
"headline-lg-mobile": ["20px", { "lineHeight": "28px", "fontWeight": "600" }],
|
||||
"body-lg": ["16px", { "lineHeight": "24px", "fontWeight": "400" }],
|
||||
"body-md": ["14px", { "lineHeight": "20px", "fontWeight": "400" }],
|
||||
"headline-xl": ["32px", { "lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
.premium-bg {
|
||||
background: radial-gradient(circle at 50% 50%, #faf9f7 0%, #f4f3f1 100%);
|
||||
background-image:
|
||||
url("https://www.transparenttextures.com/patterns/natural-paper.png"),
|
||||
radial-gradient(circle at 50% 50%, #faf9f7 0%, #f4f3f1 100%);
|
||||
}
|
||||
.cloud-pattern {
|
||||
opacity: 0.03;
|
||||
background-image: url("https://www.transparenttextures.com/patterns/oriental-tiles.png");
|
||||
pointer-events: none;
|
||||
}
|
||||
.fade-in {
|
||||
animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(15px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
.location-glow {
|
||||
box-shadow: 0 0 40px 10px rgba(166, 29, 36, 0.08);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-surface text-ink-black min-h-screen flex flex-col items-center premium-bg relative overflow-hidden">
|
||||
<!-- Decorative Pattern Overlay -->
|
||||
<div class="absolute inset-0 cloud-pattern"></div>
|
||||
<!-- Subtle Border -->
|
||||
<div class="absolute inset-4 border border-heritage-red/5 pointer-events-none rounded-xl"></div>
|
||||
<main class="relative z-10 flex-1 w-full max-w-md flex flex-col items-center justify-center px-margin-page py-12 text-center">
|
||||
<!-- Logo Section -->
|
||||
<div class="mb-12 fade-in" style="animation-delay: 0.1s;">
|
||||
<img alt="Dukang Royal Logo" class="w-[150px] h-[150px] object-contain drop-shadow-sm" src="https://lh3.googleusercontent.com/aida-public/AB6AXuC3IUJWK-i7jw318irlvTJsKs_8962q64yBy8I6f6yl41ra6iiam_rcrDPFufjn1n4sNi9QCTWA8NisLnb51mMFoTOTj7lqRdNx6dOWTD-aRyW1LjqkrnJLlGDV5z5GeUhMmFquCwhpVm3Xrt4RBfs7RcBOBm06jB2QspOuEn-2nLvtpipBoBzmrqdAIpEAWNGIhgBUFVb6IDoeHy1hc4z2umn0dXF4vljKx9IHLpZJZL-a8wQhPBFjQKEXTXpG6SfVZOLOtG6kvWU">
|
||||
</div>
|
||||
<!-- Enhanced Location Illustration -->
|
||||
<div class="mb-10 fade-in" style="animation-delay: 0.2s;">
|
||||
<div class="relative inline-flex items-center justify-center">
|
||||
<!-- Multi-layered animated background -->
|
||||
<div class="absolute w-28 h-28 bg-heritage-red/5 rounded-full animate-ping opacity-20"></div>
|
||||
<div class="absolute w-24 h-24 bg-heritage-red/10 rounded-full location-glow"></div>
|
||||
<div class="relative w-20 h-20 bg-white rounded-full flex items-center justify-center shadow-md">
|
||||
<span class="material-symbols-outlined text-heritage-red text-5xl" style="font-variation-settings: 'FILL' 1, 'wght' 300;">location_on</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Content Section -->
|
||||
<div class="space-y-4 mb-14 fade-in" style="animation-delay: 0.3s;">
|
||||
<h2 class="text-headline-xl font-headline-xl text-on-surface tracking-tight">发现本地服务</h2>
|
||||
<p class="text-body-lg font-body-lg text-on-surface-variant leading-relaxed px-4">
|
||||
开启位置权限,为您匹配最近的配送城市及本地专属优惠。
|
||||
</p>
|
||||
</div>
|
||||
<!-- Action Buttons Section -->
|
||||
<div class="w-full space-y-5 fade-in px-2" style="animation-delay: 0.4s;">
|
||||
<!-- Primary Button -->
|
||||
<button class="w-full h-14 bg-heritage-red hover:bg-primary transition-all text-white rounded-xl font-headline-md text-headline-md flex items-center justify-center shadow-[0_8px_20px_-6px_rgba(166,29,36,0.35)] active:scale-[0.98] active:shadow-inner">
|
||||
允许获取位置
|
||||
</button>
|
||||
<!-- Secondary Button -->
|
||||
<button class="w-full h-14 bg-transparent text-on-surface-variant font-body-md text-body-md flex items-center justify-center hover:bg-white/50 rounded-xl transition-colors border border-outline/10">
|
||||
手动选择城市
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
document.querySelectorAll('button').forEach(button => {
|
||||
button.addEventListener('touchstart', () => {
|
||||
button.style.transform = 'scale(0.97)';
|
||||
});
|
||||
button.addEventListener('touchend', () => {
|
||||
button.style.transform = 'scale(1)';
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "定位授权页面 - 中文版",
|
||||
"screenId": "c5555bc49c5b43b1be6a285f9cc6968b",
|
||||
"category": "user",
|
||||
"syncedAt": "2026-06-29T08:06:48.711Z"
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 98 KiB |
Reference in New Issue
Block a user