-
Notifications
You must be signed in to change notification settings - Fork 323
Expand file tree
/
Copy pathpreview-owner.html
More file actions
134 lines (132 loc) · 3.83 KB
/
Copy pathpreview-owner.html
File metadata and controls
134 lines (132 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes, viewport-fit=cover">
<title>车主页面预览 - MoveCar</title>
<style>
:root {
--sat: env(safe-area-inset-top, 0px);
--sar: env(safe-area-inset-right, 0px);
--sab: env(safe-area-inset-bottom, 0px);
--sal: env(safe-area-inset-left, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: clamp(16px, 4vw, 24px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card {
background: rgba(255,255,255,0.95);
padding: clamp(24px, 6vw, 36px);
border-radius: clamp(24px, 6vw, 32px);
text-align: center;
width: 100%;
max-width: 420px;
box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}
.emoji {
font-size: clamp(52px, 13vw, 72px);
margin-bottom: clamp(16px, 4vw, 24px);
display: block;
}
h1 {
font-size: clamp(22px, 5.5vw, 28px);
color: #2d3748;
margin-bottom: 8px;
}
.subtitle {
color: #718096;
font-size: clamp(14px, 3.5vw, 16px);
margin-bottom: clamp(20px, 5vw, 28px);
}
.map-section {
background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
border-radius: clamp(14px, 3.5vw, 18px);
padding: clamp(14px, 3.5vw, 20px);
margin-bottom: clamp(16px, 4vw, 24px);
}
.map-section p {
font-size: clamp(12px, 3.2vw, 14px);
color: #6366f1;
margin-bottom: 12px;
font-weight: 600;
}
.map-links {
display: flex;
gap: clamp(8px, 2vw, 12px);
flex-wrap: wrap;
}
.map-btn {
flex: 1;
min-width: 110px;
padding: clamp(12px, 3vw, 16px);
border-radius: clamp(10px, 2.5vw, 14px);
text-decoration: none;
font-weight: 600;
font-size: clamp(13px, 3.5vw, 15px);
text-align: center;
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
}
.map-btn.amap { background: #1890ff; color: white; }
.map-btn.apple { background: #1d1d1f; color: white; }
.btn {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
color: white;
border: none;
width: 100%;
padding: clamp(16px, 4vw, 20px);
border-radius: clamp(14px, 3.5vw, 18px);
font-size: clamp(16px, 4.2vw, 19px);
font-weight: 700;
cursor: pointer;
box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 56px;
}
.preview-badge {
position: fixed;
top: 10px;
right: 10px;
background: rgba(0,0,0,0.7);
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 12px;
z-index: 1000;
}
</style>
</head>
<body>
<div class="preview-badge">车主页面预览</div>
<div class="card">
<span class="emoji">👋</span>
<h1>收到挪车请求</h1>
<p class="subtitle">对方正在等待,请尽快确认</p>
<div class="map-section">
<p>📍 对方位置</p>
<div class="map-links">
<a href="#" class="map-btn amap">🗺️ 高德地图</a>
<a href="#" class="map-btn apple">🍎 Apple Maps</a>
</div>
</div>
<button class="btn">
<span>🚀</span>
<span>我已知晓,正在前往</span>
</button>
</div>
</body>
</html>