-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
236 lines (221 loc) · 10.2 KB
/
index.html
File metadata and controls
236 lines (221 loc) · 10.2 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>夢幻果凍旅遊手帳 ✨ (最終確認版)</title>
<!-- 引入可愛字體 -->
<link href="https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&family=Yomogi&family=Zen+Maru+Gothic:wght@500;700&display=swap" rel="stylesheet">
<!-- 引入 FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'jelly-pink': '#FF9EAA',
'jelly-blue': '#89CFF0',
'cream': '#FFFDF9',
'choco': '#6D5C54',
},
fontFamily: {
'cute': ['"Zen Maru Gothic"', 'sans-serif'],
'hand': ['"Kiwi Maru"', 'serif']
},
animation: {
'float': 'float 6s ease-in-out infinite',
'blob': 'blob 7s infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
blob: {
'0%': { transform: 'translate(0px, 0px) scale(1)' },
'33%': { transform: 'translate(30px, -50px) scale(1.1)' },
'66%': { transform: 'translate(-20px, 20px) scale(0.9)' },
'100%': { transform: 'translate(0px, 0px) scale(1)' },
}
}
}
}
}
</script>
<style>
body {
font-family: 'Zen Maru Gothic', sans-serif;
color: #6D5C54;
background: linear-gradient(135deg, #FFE5EC 0%, #E0F7FA 100%);
background-attachment: fixed;
min-height: 100vh;
}
/* 果凍按鈕特效 */
.btn-jelly {
position: relative;
border: none;
outline: none;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow:
inset 0px 5px 10px rgba(255,255,255, 0.7),
inset 0px -5px 10px rgba(0,0,0, 0.05),
0px 5px 15px rgba(0,0,0, 0.1);
}
.btn-jelly:active {
transform: scale(0.95) translateY(2px);
box-shadow:
inset 0px 5px 10px rgba(0,0,0, 0.1),
0px 2px 5px rgba(0,0,0, 0.1);
}
.btn-jelly::after {
content: '';
position: absolute;
top: 5px;
left: 10px;
width: 30%;
height: 30%;
border-radius: 20px;
background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.1) 100%);
filter: blur(1px);
}
.jelly-pink {
background: linear-gradient(145deg, #FFB7C5, #FF8FA3);
color: white;
text-shadow: 1px 1px 2px rgba(255,100,100,0.3);
}
.jelly-blue {
background: linear-gradient(145deg, #AEE4FF, #64C7E8);
color: white;
text-shadow: 1px 1px 2px rgba(50,150,255,0.3);
}
.jelly-card {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
border-radius: 25px;
border: 4px solid rgba(255,255,255,0.8);
box-shadow:
0 10px 30px rgba(255, 183, 197, 0.2),
inset 0 0 20px rgba(255,255,255,0.8);
}
.timeline-candy {
position: absolute;
left: 24px;
top: 20px;
bottom: -20px;
width: 6px;
background: repeating-linear-gradient(
to bottom,
#FFD1DC 0,
#FFD1DC 10px,
#E0F7FA 10px,
#E0F7FA 20px
);
border-radius: 10px;
z-index: 0;
opacity: 0.8;
}
.bg-blob {
position: fixed;
border-radius: 50%;
filter: blur(40px);
opacity: 0.6;
z-index: -1;
animation: blob 10s infinite alternate;
}
.hotel-link {
transition: all 0.3s;
border-bottom: 2px dashed transparent;
display: inline-flex;
align-items: center;
}
.hotel-link:hover {
color: #64C7E8;
border-bottom-color: #64C7E8;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #FFB7C5; border-radius: 10px; }
</style>
</head>
<body class="pb-20 overflow-x-hidden">
<div class="bg-blob bg-pink-300 w-64 h-64 top-0 left-[-50px]"></div>
<div class="bg-blob bg-blue-200 w-72 h-72 bottom-0 right-[-50px] animation-delay-2000"></div>
<div class="bg-blob bg-yellow-200 w-48 h-48 top-1/2 left-1/3 animation-delay-4000"></div>
<!-- 頂部導航 -->
<div class="sticky top-0 z-50 pt-6 pb-2 px-4 transition-all duration-300">
<div class="max-w-md mx-auto bg-white/60 backdrop-blur-xl rounded-[30px] p-2 shadow-lg border-2 border-white/80">
<h1 class="text-2xl font-black text-center mb-3 text-choco tracking-widest flex items-center justify-center gap-2">
<i class="fa-solid fa-cloud text-jelly-blue animate-bounce"></i>
<span id="trip-title" class="bg-clip-text text-transparent bg-gradient-to-r from-pink-400 to-blue-400">我的旅遊手帳</span>
<i class="fa-solid fa-star text-yellow-400 animate-spin-slow" style="animation-duration: 3s;"></i>
</h1>
<div class="flex gap-3">
<button onclick="switchTrip('nagoya')" id="btn-nagoya"
class="btn-jelly jelly-pink w-1/2 py-3 rounded-[20px] font-bold text-lg flex items-center justify-center gap-2 transform hover:-translate-y-1">
<span>🌸</span> 名古屋
</button>
<button onclick="switchTrip('tohoku')" id="btn-tohoku"
class="btn-jelly bg-white/50 text-gray-400 w-1/2 py-3 rounded-[20px] font-bold text-lg flex items-center justify-center gap-2 transform hover:-translate-y-1">
<span>❄️</span> 東北
</button>
</div>
</div>
</div>
<!-- 內容區域 -->
<div class="max-w-lg mx-auto px-5 mt-6 relative" id="content-area"></div>
<script>
const trips = {
nagoya: {
theme: 'nagoya',
title: "名古屋·京都 🍬",
color: 'pink',
days: [
{
day: 1, date: "12/20 (六)", title: "抵達名古屋",
hotel: "名站南凱富飯店",
hotelUrl: "https://www.google.com/maps/search/?api=1&query=Comfort+Hotel+Nagoya+Meieki+Minami",
weather: { icon: "fa-cloud-sun", temp: "3° ~ 11°", desc: "晴時多雲" },
events: [
{ time: "15:35", type: "fly", text: "抵達中部機場" },
{ time: "16:30", type: "buy", text: "買兒童版 IC 卡", alert: true },
{ time: "17:00", type: "train", text: "搭乘 μ-SKY 列車" },
{ time: "19:00", type: "fire", text: "名古屋港聖誕花火 ✨" }
]
},
{
day: 2, date: "12/21 (日)", title: "樂高 & 燈飾",
hotel: "名站南凱富飯店",
hotelUrl: "https://www.google.com/maps/search/?api=1&query=Comfort+Hotel+Nagoya+Meieki+Minami",
weather: { icon: "fa-sun", temp: "2° ~ 10°", desc: "乾冷晴天" },
events: [
{ time: "10:00", type: "play", text: "樂高樂園 積木漢堡 🍔" },
{ time: "16:00", type: "train", text: "前往名花之里" },
{ time: "17:30", type: "spot", text: "名花之里 光之隧道" },
{ time: "20:00", type: "food", text: "世界的山將炸雞翅" }
]
},
{
day: 3, date: "12/22 (一)", title: "犬山城散策",
hotel: "犬山飯店 Experience",
hotelUrl: "https://www.google.com/maps/search/?api=1&query=HOTEL+u+STYLE+INUYAMA+experience",
weather: { icon: "fa-cloud", temp: "1° ~ 9°", desc: "多雲微冷" },
events: [
{ time: "10:00", type: "spot", text: "犬山城下町 吃五平餅 🍡" },
{ time: "13:00", type: "spot", text: "國寶犬山城" },
{ time: "15:00", type: "spot", text: "三光稻荷神社 洗錢" },
{ time: "19:00", type: "bath", text: "飯店大浴場泡澡 ♨️" }
]
},
{
day: 4, date: "12/23 (二)", title: "明治村 & 逛街",
hotel: "名站南凱富飯店",
hotelUrl: "https://www.google.com/maps/search/?api=1&query=Comfort+Hotel+Nagoya+Meieki+Minami",
weather: { icon: "fa-cloud-sun", temp: "2° ~ 10°", desc: "晴時多雲" },
events: [
{ time: "09:30", type: "spot", text: "明治村搭蒸汽火車 🚂" },
{ time: "15:00", type: "play", text: "大須商店街 夾娃娃" },
{ time: "17:00", type: "buy", text: "買名古屋蝦餅!", alert: true }
]
},
{