-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
199 lines (187 loc) · 5.98 KB
/
index.html
File metadata and controls
199 lines (187 loc) · 5.98 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>睡眠助手 App - 原型预览</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
body {
background-color: #f0f2f5;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.prototype-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
margin: 20px auto;
max-width: 1200px;
}
.phone-wrapper {
width: 375px;
background-color: white;
border-radius: 40px;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
border: 12px solid #111;
position: relative;
}
.phone-wrapper::before {
content: '';
display: block;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 40%;
height: 30px;
background-color: #111;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
z-index: 10;
}
.iframe-container {
height: 812px;
width: 100%;
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
border: none;
}
.screen-title {
text-align: center;
margin-top: 15px;
margin-bottom: 5px;
font-weight: 500;
color: #333;
}
.return-top {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #4F46E5;
color: white;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<header class="bg-indigo-600 text-white py-6">
<div class="container mx-auto px-4">
<h1 class="text-3xl font-bold text-center">睡眠助手 App - 高保真原型</h1>
<p class="text-center mt-2">iOS 风格界面设计 | iPhone 15 Pro 尺寸</p>
</div>
</header>
<div class="prototype-container">
<!-- 欢迎页 -->
<div>
<h3 class="screen-title">欢迎页</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="welcome.html"></iframe>
</div>
</div>
</div>
<!-- 主页/仪表盘 -->
<div>
<h3 class="screen-title">主页/仪表盘</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="dashboard.html"></iframe>
</div>
</div>
</div>
<!-- 睡眠记录 -->
<div>
<h3 class="screen-title">睡眠记录</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="sleep-records.html"></iframe>
</div>
</div>
</div>
<!-- 睡眠详情 -->
<div>
<h3 class="screen-title">睡眠详情</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="sleep-detail.html"></iframe>
</div>
</div>
</div>
<!-- 睡眠音频 -->
<div>
<h3 class="screen-title">睡眠音频</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="audio-content.html"></iframe>
</div>
</div>
</div>
<!-- 音频播放 -->
<div>
<h3 class="screen-title">音频播放</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="audio-player.html"></iframe>
</div>
</div>
</div>
<!-- 智能闹钟 -->
<div>
<h3 class="screen-title">智能闹钟</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="smart-alarm.html"></iframe>
</div>
</div>
</div>
<!-- 设置闹钟 -->
<div>
<h3 class="screen-title">设置闹钟</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="set-alarm.html"></iframe>
</div>
</div>
</div>
<!-- 睡眠习惯 -->
<div>
<h3 class="screen-title">睡眠习惯</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="sleep-habits.html"></iframe>
</div>
</div>
</div>
<!-- 个人中心 -->
<div>
<h3 class="screen-title">个人中心</h3>
<div class="phone-wrapper">
<div class="iframe-container">
<iframe src="profile.html"></iframe>
</div>
</div>
</div>
</div>
<a href="#" class="return-top">
<i class="fas fa-arrow-up"></i>
</a>
<footer class="bg-gray-100 py-6 mt-10">
<div class="container mx-auto px-4 text-center text-gray-600">
<p>睡眠助手 App 原型设计 | iOS 风格界面</p>
</div>
</footer>
</body>
</html>