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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="zh-CN">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>绍兴黄酒 - 传承·创新</title>
|
7 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
|
8 |
+
<style>
|
9 |
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');
|
10 |
+
|
11 |
+
:root {
|
12 |
+
--primary-color: #FFB42E; /* 明亮温暖的金黄 */
|
13 |
+
--secondary-color: #FF8264; /* 暖橙色 */
|
14 |
+
--accent-color: #FF6B6B; /* 活力红色 */
|
15 |
+
--bg-light: #FFF9F0; /* 温暖的背景色 */
|
16 |
+
--text-dark: #2D232E; /* 深紫色文字 */
|
17 |
+
--text-light: #FFF9F0; /* 浅色文字 */
|
18 |
+
--gradient-1: linear-gradient(135deg, #FFB42E, #FF6B6B);
|
19 |
+
--gradient-2: linear-gradient(45deg, #FFB42E, #FF8264);
|
20 |
+
}
|
21 |
+
|
22 |
+
* {
|
23 |
+
margin: 0;
|
24 |
+
padding: 0;
|
25 |
+
box-sizing: border-box;
|
26 |
+
}
|
27 |
+
|
28 |
+
body {
|
29 |
+
font-family: 'Noto Serif SC', serif;
|
30 |
+
background: var(--bg-light);
|
31 |
+
color: var(--text-dark);
|
32 |
+
overflow-x: hidden;
|
33 |
+
}
|
34 |
+
|
35 |
+
/* 现代导航栏 */
|
36 |
+
.navigation {
|
37 |
+
position: fixed;
|
38 |
+
top: 0;
|
39 |
+
left: 0;
|
40 |
+
right: 0;
|
41 |
+
padding: 1rem 2rem;
|
42 |
+
display: flex;
|
43 |
+
justify-content: space-between;
|
44 |
+
align-items: center;
|
45 |
+
background: rgba(255, 249, 240, 0.8);
|
46 |
+
backdrop-filter: blur(10px);
|
47 |
+
z-index: 1000;
|
48 |
+
transition: all 0.3s ease;
|
49 |
+
}
|
50 |
+
|
51 |
+
.navigation.scrolled {
|
52 |
+
background: rgba(255, 249, 240, 0.95);
|
53 |
+
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
54 |
+
padding: 0.8rem 2rem;
|
55 |
+
}
|
56 |
+
|
57 |
+
.nav-logo {
|
58 |
+
display: flex;
|
59 |
+
align-items: center;
|
60 |
+
gap: 1rem;
|
61 |
+
text-decoration: none;
|
62 |
+
}
|
63 |
+
|
64 |
+
.logo-text {
|
65 |
+
font-size: 1.5rem;
|
66 |
+
font-weight: bold;
|
67 |
+
background: var(--gradient-1);
|
68 |
+
-webkit-background-clip: text;
|
69 |
+
-webkit-text-fill-color: transparent;
|
70 |
+
position: relative;
|
71 |
+
}
|
72 |
+
|
73 |
+
.logo-text::after {
|
74 |
+
content: '';
|
75 |
+
position: absolute;
|
76 |
+
bottom: -5px;
|
77 |
+
left: 0;
|
78 |
+
width: 100%;
|
79 |
+
height: 2px;
|
80 |
+
background: var(--gradient-1);
|
81 |
+
transform: scaleX(0);
|
82 |
+
transition: transform 0.3s ease;
|
83 |
+
transform-origin: right;
|
84 |
+
}
|
85 |
+
|
86 |
+
.nav-logo:hover .logo-text::after {
|
87 |
+
transform: scaleX(1);
|
88 |
+
transform-origin: left;
|
89 |
+
}
|
90 |
+
|
91 |
+
.nav-links {
|
92 |
+
display: flex;
|
93 |
+
gap: 2rem;
|
94 |
+
align-items: center;
|
95 |
+
}
|
96 |
+
|
97 |
+
.nav-link {
|
98 |
+
text-decoration: none;
|
99 |
+
color: var(--text-dark);
|
100 |
+
font-size: 1rem;
|
101 |
+
padding: 0.8rem 1.5rem;
|
102 |
+
border-radius: 25px;
|
103 |
+
transition: all 0.3s ease;
|
104 |
+
position: relative;
|
105 |
+
overflow: hidden;
|
106 |
+
background: transparent;
|
107 |
+
border: 2px solid transparent;
|
108 |
+
}
|
109 |
+
|
110 |
+
.nav-link::before {
|
111 |
+
content: '';
|
112 |
+
position: absolute;
|
113 |
+
inset: 0;
|
114 |
+
background: var(--gradient-1);
|
115 |
+
opacity: 0;
|
116 |
+
transition: all 0.3s ease;
|
117 |
+
z-index: -1;
|
118 |
+
}
|
119 |
+
|
120 |
+
.nav-link:hover {
|
121 |
+
color: white;
|
122 |
+
border-color: transparent;
|
123 |
+
}
|
124 |
+
|
125 |
+
.nav-link:hover::before {
|
126 |
+
opacity: 1;
|
127 |
+
}
|
128 |
+
|
129 |
+
.nav-link.active {
|
130 |
+
background: var(--gradient-1);
|
131 |
+
color: white;
|
132 |
+
box-shadow: 0 4px 15px rgba(255, 180, 46, 0.3);
|
133 |
+
}
|
134 |
+
|
135 |
+
/* 英雄区域 */
|
136 |
+
.hero {
|
137 |
+
min-height: 100vh;
|
138 |
+
padding-top: 80px;
|
139 |
+
position: relative;
|
140 |
+
overflow: hidden;
|
141 |
+
display: flex;
|
142 |
+
align-items: center;
|
143 |
+
}
|
144 |
+
|
145 |
+
.hero-content {
|
146 |
+
width: 100%;
|
147 |
+
max-width: 1200px;
|
148 |
+
margin: 0 auto;
|
149 |
+
padding: 2rem;
|
150 |
+
display: grid;
|
151 |
+
grid-template-columns: 1fr 1fr;
|
152 |
+
gap: 4rem;
|
153 |
+
align-items: center;
|
154 |
+
position: relative;
|
155 |
+
z-index: 2;
|
156 |
+
}
|
157 |
+
|
158 |
+
.hero-text {
|
159 |
+
position: relative;
|
160 |
+
}
|
161 |
+
|
162 |
+
.hero-subtitle {
|
163 |
+
font-size: 1.2rem;
|
164 |
+
color: var(--accent-color);
|
165 |
+
margin-bottom: 1rem;
|
166 |
+
display: flex;
|
167 |
+
align-items: center;
|
168 |
+
gap: 1rem;
|
169 |
+
}
|
170 |
+
|
171 |
+
.hero-subtitle::before {
|
172 |
+
content: '';
|
173 |
+
width: 50px;
|
174 |
+
height: 2px;
|
175 |
+
background: var(--gradient-1);
|
176 |
+
}
|
177 |
+
|
178 |
+
.hero-title {
|
179 |
+
font-size: clamp(2.5rem, 5vw, 4rem);
|
180 |
+
line-height: 1.2;
|
181 |
+
margin-bottom: 1.5rem;
|
182 |
+
position: relative;
|
183 |
+
}
|
184 |
+
|
185 |
+
.hero-title .highlight {
|
186 |
+
display: inline-block;
|
187 |
+
position: relative;
|
188 |
+
color: var(--primary-color);
|
189 |
+
}
|
190 |
+
|
191 |
+
.hero-title .highlight::after {
|
192 |
+
content: '';
|
193 |
+
position: absolute;
|
194 |
+
bottom: 5px;
|
195 |
+
left: 0;
|
196 |
+
width: 100%;
|
197 |
+
height: 8px;
|
198 |
+
background: var(--gradient-1);
|
199 |
+
opacity: 0.3;
|
200 |
+
z-index: -1;
|
201 |
+
}
|
202 |
+
|
203 |
+
.hero-description {
|
204 |
+
font-size: 1.1rem;
|
205 |
+
line-height: 1.8;
|
206 |
+
color: var(--text-dark);
|
207 |
+
opacity: 0.8;
|
208 |
+
margin-bottom: 2rem;
|
209 |
+
position: relative;
|
210 |
+
}
|
211 |
+
|
212 |
+
.hero-cta {
|
213 |
+
display: flex;
|
214 |
+
gap: 1.5rem;
|
215 |
+
margin-top: 2rem;
|
216 |
+
}
|
217 |
+
|
218 |
+
.cta-button {
|
219 |
+
padding: 1rem 2rem;
|
220 |
+
border: none;
|
221 |
+
border-radius: 30px;
|
222 |
+
font-size: 1rem;
|
223 |
+
font-weight: bold;
|
224 |
+
cursor: pointer;
|
225 |
+
transition: all 0.3s ease;
|
226 |
+
position: relative;
|
227 |
+
overflow: hidden;
|
228 |
+
}
|
229 |
+
|
230 |
+
.cta-primary {
|
231 |
+
background: var(--gradient-1);
|
232 |
+
color: white;
|
233 |
+
box-shadow: 0 4px 15px rgba(255, 180, 46, 0.3);
|
234 |
+
}
|
235 |
+
|
236 |
+
.cta-primary::after {
|
237 |
+
content: '';
|
238 |
+
position: absolute;
|
239 |
+
inset: 0;
|
240 |
+
background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
|
241 |
+
opacity: 0;
|
242 |
+
transition: opacity 0.3s ease;
|
243 |
+
}
|
244 |
+
|
245 |
+
.cta-primary:hover {
|
246 |
+
transform: translateY(-2px);
|
247 |
+
box-shadow: 0 6px 20px rgba(255, 180, 46, 0.4);
|
248 |
+
}
|
249 |
+
|
250 |
+
.cta-primary:hover::after {
|
251 |
+
opacity: 1;
|
252 |
+
}
|
253 |
+
|
254 |
+
.cta-secondary {
|
255 |
+
background: transparent;
|
256 |
+
border: 2px solid var(--primary-color);
|
257 |
+
color: var(--text-dark);
|
258 |
+
}
|
259 |
+
|
260 |
+
.cta-secondary:hover {
|
261 |
+
background: var(--gradient-2);
|
262 |
+
color: white;
|
263 |
+
border-color: transparent;
|
264 |
+
}
|
265 |
+
|
266 |
+
/* 装饰元素 */
|
267 |
+
.hero-decoration {
|
268 |
+
position: absolute;
|
269 |
+
inset: 0;
|
270 |
+
pointer-events: none;
|
271 |
+
overflow: hidden;
|
272 |
+
}
|
273 |
+
|
274 |
+
.decoration-circle {
|
275 |
+
position: absolute;
|
276 |
+
border-radius: 50%;
|
277 |
+
background: var(--gradient-1);
|
278 |
+
opacity: 0.1;
|
279 |
+
filter: blur(40px);
|
280 |
+
}
|
281 |
+
|
282 |
+
.circle-1 {
|
283 |
+
width: 400px;
|
284 |
+
height: 400px;
|
285 |
+
top: -100px;
|
286 |
+
right: -100px;
|
287 |
+
}
|
288 |
+
|
289 |
+
.circle-2 {
|
290 |
+
width: 300px;
|
291 |
+
height: 300px;
|
292 |
+
bottom: -50px;
|
293 |
+
left: -50px;
|
294 |
+
background: var(--gradient-2);
|
295 |
+
}
|
296 |
+
|
297 |
+
.floating-text {
|
298 |
+
position: absolute;
|
299 |
+
font-size: clamp(5rem, 15vw, 10rem);
|
300 |
+
font-weight: bold;
|
301 |
+
opacity: 0.03;
|
302 |
+
white-space: nowrap;
|
303 |
+
color: var(--text-dark);
|
304 |
+
}
|
305 |
+
|
306 |
+
.floating-text-1 {
|
307 |
+
top: 20%;
|
308 |
+
left: -10%;
|
309 |
+
transform: rotate(-15deg);
|
310 |
+
}
|
311 |
+
|
312 |
+
.floating-text-2 {
|
313 |
+
bottom: 10%;
|
314 |
+
right: -5%;
|
315 |
+
transform: rotate(10deg);
|
316 |
+
}
|
317 |
+
|
318 |
+
/* 动态背景图案 */
|
319 |
+
.bg-pattern {
|
320 |
+
position: absolute;
|
321 |
+
inset: 0;
|
322 |
+
background-image:
|
323 |
+
radial-gradient(circle at 20% 30%, rgba(255, 180, 46, 0.1) 0%, transparent 10%),
|
324 |
+
radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 10%);
|
325 |
+
opacity: 0.5;
|
326 |
+
animation: patternMove 20s linear infinite;
|
327 |
+
}
|
328 |
+
|
329 |
+
@keyframes patternMove {
|
330 |
+
0% {
|
331 |
+
background-position: 0% 0%;
|
332 |
+
}
|
333 |
+
100% {
|
334 |
+
background-position: 100% 100%;
|
335 |
+
}
|
336 |
+
}
|
337 |
+
|
338 |
+
/* 3D展示区占位 */
|
339 |
+
.model-showcase {
|
340 |
+
position: relative;
|
341 |
+
width: 100%;
|
342 |
+
height: 500px;
|
343 |
+
border-radius: 20px;
|
344 |
+
overflow: hidden;
|
345 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
346 |
+
background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
|
347 |
+
backdrop-filter: blur(10px);
|
348 |
+
}
|
349 |
+
|
350 |
+
#model-container canvas {
|
351 |
+
width: 100% !important;
|
352 |
+
height: 100% !important;
|
353 |
+
border-radius: 20px;
|
354 |
+
}
|
355 |
+
|
356 |
+
</style>
|
357 |
+
</head>
|
358 |
+
<body>
|
359 |
+
<!-- 导航栏 -->
|
360 |
+
<nav class="navigation">
|
361 |
+
<a href="index.html" class="nav-logo">
|
362 |
+
<span class="logo-text">绍兴黄酒</span>
|
363 |
+
</a>
|
364 |
+
<div class="nav-links">
|
365 |
+
<a href="culture.html" class="nav-link">文化底蕴</a>
|
366 |
+
<a href="products.html" class="nav-link">臻品佳酿</a>
|
367 |
+
<a href="innovation.html" class="nav-link">创新未来</a>
|
368 |
+
<a href="contact.html" class="nav-link">联系我们</a>
|
369 |
+
<a href="shop.html" class="nav-link active">立即品鉴</a>
|
370 |
+
</div>
|
371 |
+
</nav>
|
372 |
+
|
373 |
+
<!-- 英雄区域 -->
|
374 |
+
<section class="hero">
|
375 |
+
<!-- 背景装饰 -->
|
376 |
+
<div class="hero-decoration">
|
377 |
+
<div class="bg-pattern"></div>
|
378 |
+
<div class="decoration-circle circle-1"></div>
|
379 |
+
<div class="decoration-circle circle-2"></div>
|
380 |
+
<div class="floating-text floating-text-1">匠心</div>
|
381 |
+
<div class="floating-text floating-text-2">传承</div>
|
382 |
+
</div>
|
383 |
+
|
384 |
+
<!-- 主要内容 -->
|
385 |
+
<div class="hero-content">
|
386 |
+
<div class="hero-text">
|
387 |
+
<div class="hero-subtitle">传承千年 · 创新未来</div>
|
388 |
+
<h1 class="hero-title">
|
389 |
+
遇见 <span class="highlight">绍兴黄酒</span><br>
|
390 |
+
品味时光之美
|
391 |
+
</h1>
|
392 |
+
<p class="hero-description">
|
393 |
+
从春秋战国延续至今,绍兴黄酒凝聚着千年匠心与智慧,
|
394 |
+
以现代创新演绎传统魅力,让年轻一代遇见最纯正的东方美酒。
|
395 |
+
</p>
|
396 |
+
<div class="hero-cta">
|
397 |
+
<button class="cta-button cta-primary">探索产品</button>
|
398 |
+
<button class="cta-button cta-secondary">了解文化</button>
|
399 |
+
</div>
|
400 |
+
</div>
|
401 |
+
<div class="model-showcase" id="model-container">
|
402 |
+
<!-- 3D model will be rendered here -->
|
403 |
+
</div>
|
404 |
+
</div>
|
405 |
+
</section>
|
406 |
+
<!-- 页面中部分(接续上部分) -->
|
407 |
+
|
408 |
+
<!-- 特色展示区 -->
|
409 |
+
<section class="features">
|
410 |
+
<div class="section-header">
|
411 |
+
<h2 class="section-title">匠心臻品</h2>
|
412 |
+
<p class="section-subtitle">传统与创新的完美融合</p>
|
413 |
+
</div>
|
414 |
+
|
415 |
+
<div class="feature-grid">
|
416 |
+
<div class="feature-card">
|
417 |
+
<div class="feature-icon">
|
418 |
+
<svg viewBox="0 0 24 24" width="40" height="40">
|
419 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
420 |
+
d="M12,2 C6.5,2 2,6.5 2,12 C2,17.5 6.5,22 12,22 C17.5,22 22,17.5 22,12 C22,6.5 17.5,2 12,2 Z
|
421 |
+
M12,6 L12,12 L16,16">
|
422 |
+
</path>
|
423 |
+
<!-- 创建渐变 -->
|
424 |
+
<defs>
|
425 |
+
<linearGradient id="gradient1" x1="0%" y1="0%" x2="100%" y2="100%">
|
426 |
+
<stop offset="0%" style="stop-color:#FFB42E"/>
|
427 |
+
<stop offset="100%" style="stop-color:#FF6B6B"/>
|
428 |
+
</linearGradient>
|
429 |
+
</defs>
|
430 |
+
</svg>
|
431 |
+
</div>
|
432 |
+
<h3>千年传承</h3>
|
433 |
+
<p>源自春秋的酿造工艺,千年匠心传承,完美呈现东方美酒精髓。</p>
|
434 |
+
</div>
|
435 |
+
|
436 |
+
<div class="feature-card">
|
437 |
+
<div class="feature-icon">
|
438 |
+
<svg viewBox="0 0 24 24" width="40" height="40">
|
439 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
440 |
+
d="M12,2 L15,6 L19,7 L19,11 L21,14 L19,17 L19,21 L15,22 L12,20 L9,22 L5,21 L5,17 L3,14 L5,11 L5,7 L9,6 L12,2 Z
|
441 |
+
M12,8 L12,16 M8,12 L16,12">
|
442 |
+
</path>
|
443 |
+
</svg>
|
444 |
+
</div>
|
445 |
+
<h3>匠心工艺</h3>
|
446 |
+
<p>严选上乘原料,遵循传统酿造工序,每一滴都是匠心臻品。</p>
|
447 |
+
</div>
|
448 |
+
|
449 |
+
<div class="feature-card">
|
450 |
+
<div class="feature-icon">
|
451 |
+
<svg viewBox="0 0 24 24" width="40" height="40">
|
452 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
453 |
+
d="M4,10 C4,6 8,3 12,3 C16,3 20,6 20,10 C20,15 12,21 12,21 C12,21 4,15 4,10 Z
|
454 |
+
M12,7 L12,13 M9,10 L15,10">
|
455 |
+
</path>
|
456 |
+
</svg>
|
457 |
+
</div>
|
458 |
+
<h3>品质保证</h3>
|
459 |
+
<p>现代化品控体系,严格把控每道工序,确保卓越品质。</p>
|
460 |
+
</div>
|
461 |
+
</div>
|
462 |
+
</section>
|
463 |
+
|
464 |
+
<!-- 产品展示区 -->
|
465 |
+
<section class="products">
|
466 |
+
<div class="section-header">
|
467 |
+
<h2 class="section-title">臻品系列</h2>
|
468 |
+
<p class="section-subtitle">每一款都是时光的礼赞</p>
|
469 |
+
</div>
|
470 |
+
|
471 |
+
<div class="product-showcase">
|
472 |
+
<!-- 第一个产品卡片:传统系列 -->
|
473 |
+
<div class="product-card active">
|
474 |
+
<div class="product-image">
|
475 |
+
<div class="product-decoration">
|
476 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
477 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
478 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
479 |
+
</svg>
|
480 |
+
</div>
|
481 |
+
<div class="image-placeholder"></div>
|
482 |
+
</div>
|
483 |
+
<div class="product-info">
|
484 |
+
<span class="product-category">传统系列</span>
|
485 |
+
<h3 class="product-name">十年陈酿</h3>
|
486 |
+
<p class="product-description">
|
487 |
+
经典黄酒,十年陈酿,醇厚绵长,回味无穷。
|
488 |
+
</p>
|
489 |
+
<div class="product-meta">
|
490 |
+
<div class="meta-item">
|
491 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
492 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
493 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
494 |
+
</path>
|
495 |
+
</svg>
|
496 |
+
<span>酒精度:14%</span>
|
497 |
+
</div>
|
498 |
+
<div class="meta-item">
|
499 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
500 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
501 |
+
d="M5,12 A7,7 0 1,0 19,12 A7,7 0 1,0 5,12">
|
502 |
+
</path>
|
503 |
+
</svg>
|
504 |
+
<span>容量:500ml</span>
|
505 |
+
</div>
|
506 |
+
</div>
|
507 |
+
<button class="product-btn">了解更多</button>
|
508 |
+
</div>
|
509 |
+
</div>
|
510 |
+
|
511 |
+
<!-- 第二个产品卡片:青春系列 -->
|
512 |
+
<div class="product-card">
|
513 |
+
<div class="product-image">
|
514 |
+
<div class="product-decoration">
|
515 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
516 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
517 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
518 |
+
</svg>
|
519 |
+
</div>
|
520 |
+
<div class="image-placeholder youth-series"></div>
|
521 |
+
</div>
|
522 |
+
<div class="product-info">
|
523 |
+
<span class="product-category">青春系列</span>
|
524 |
+
<h3 class="product-name">桂花米酒</h3>
|
525 |
+
<p class="product-description">
|
526 |
+
融入新鲜桂花,清甜怡人,低度微醺,专为年轻人打造的清新黄酒体验。
|
527 |
+
</p>
|
528 |
+
<div class="product-meta">
|
529 |
+
<div class="meta-item">
|
530 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
531 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
532 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
533 |
+
</path>
|
534 |
+
</svg>
|
535 |
+
<span>酒精度:8%</span>
|
536 |
+
</div>
|
537 |
+
<div class="meta-item">
|
538 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
539 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
540 |
+
d="M5,12 A7,7 0 1,0 19,12 A7,7 0 1,0 5,12">
|
541 |
+
</path>
|
542 |
+
</svg>
|
543 |
+
<span>容量:330ml</span>
|
544 |
+
</div>
|
545 |
+
</div>
|
546 |
+
<button class="product-btn">了解更多</button>
|
547 |
+
</div>
|
548 |
+
</div>
|
549 |
+
|
550 |
+
<!-- 第三个产品卡片:调制系列 -->
|
551 |
+
<div class="product-card">
|
552 |
+
<div class="product-image">
|
553 |
+
<div class="product-decoration">
|
554 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
555 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
556 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
557 |
+
</svg>
|
558 |
+
</div>
|
559 |
+
<div class="image-placeholder cocktail-series"></div>
|
560 |
+
</div>
|
561 |
+
<div class="product-info">
|
562 |
+
<span class="product-category">调制系列</span>
|
563 |
+
<h3 class="product-name">东方气泡</h3>
|
564 |
+
<p class="product-description">
|
565 |
+
经典黄酒邂逅气泡水,加入精选花果茶,创新演绎东方美酒,清爽怡人。
|
566 |
+
</p>
|
567 |
+
<div class="product-meta">
|
568 |
+
<div class="meta-item">
|
569 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
570 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
571 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
572 |
+
</path>
|
573 |
+
</svg>
|
574 |
+
<span>酒精度:5%</span>
|
575 |
+
</div>
|
576 |
+
<div class="meta-item">
|
577 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
578 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
579 |
+
d="M5,12 A7,7 0 1,0 19,12 A7,7 0 1,0 5,12">
|
580 |
+
</path>
|
581 |
+
</svg>
|
582 |
+
<span>容量:330ml</span>
|
583 |
+
</div>
|
584 |
+
</div>
|
585 |
+
<button class="product-btn">了解更多</button>
|
586 |
+
</div>
|
587 |
+
</div>
|
588 |
+
|
589 |
+
<!-- 第四个产品卡片:季节限定 -->
|
590 |
+
<div class="product-card">
|
591 |
+
<div class="product-image">
|
592 |
+
<div class="product-decoration">
|
593 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
594 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
595 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
596 |
+
</svg>
|
597 |
+
</div>
|
598 |
+
<div class="image-placeholder season-series"></div>
|
599 |
+
</div>
|
600 |
+
<div class="product-info">
|
601 |
+
<span class="product-category">季节限定</span>
|
602 |
+
<h3 class="product-name">雪梨暖冬</h3>
|
603 |
+
<p class="product-description">
|
604 |
+
冬季限定,精选雪梨果汁调配,温热饮用,让传统黄酒焕发冬日温暖魅力。
|
605 |
+
</p>
|
606 |
+
<div class="product-meta">
|
607 |
+
<div class="meta-item">
|
608 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
609 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
610 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
611 |
+
</path>
|
612 |
+
</svg>
|
613 |
+
<span>酒精度:11%</span>
|
614 |
+
</div>
|
615 |
+
<div class="meta-item">
|
616 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
617 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
618 |
+
d="M5,12 A7,7 0 1,0 19,12 A7,7 0 1,0 5,12">
|
619 |
+
</path>
|
620 |
+
</svg>
|
621 |
+
<span>容量:400ml</span>
|
622 |
+
</div>
|
623 |
+
</div>
|
624 |
+
<button class="product-btn">了解更多</button>
|
625 |
+
</div>
|
626 |
+
</div>
|
627 |
+
|
628 |
+
<!-- 第五个产品卡片:融合系列 -->
|
629 |
+
<div class="product-card">
|
630 |
+
<div class="product-image">
|
631 |
+
<div class="product-decoration">
|
632 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
633 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
634 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
635 |
+
</svg>
|
636 |
+
</div>
|
637 |
+
<div class="image-placeholder fusion-series"></div>
|
638 |
+
</div>
|
639 |
+
<div class="product-info">
|
640 |
+
<span class="product-category">融合系列</span>
|
641 |
+
<h3 class="product-name">玫瑰青梅</h3>
|
642 |
+
<p class="product-description">
|
643 |
+
传统黄酒与玫瑰、青梅的完美融合,清新淡雅,既有传统韵味又充满创新精神。
|
644 |
+
</p>
|
645 |
+
<div class="product-meta">
|
646 |
+
<div class="meta-item">
|
647 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
648 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
649 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
650 |
+
</path>
|
651 |
+
</svg>
|
652 |
+
<span>酒精度:10%</span>
|
653 |
+
</div>
|
654 |
+
<div class="meta-item">
|
655 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
656 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
657 |
+
d="M5,12 A7,7 0 1,0 19,12 A7,7 0 1,0 5,12">
|
658 |
+
</path>
|
659 |
+
</svg>
|
660 |
+
<span>容量:375ml</span>
|
661 |
+
</div>
|
662 |
+
</div>
|
663 |
+
<button class="product-btn">了解更多</button>
|
664 |
+
</div>
|
665 |
+
</div>
|
666 |
+
|
667 |
+
<!-- 第六个产品卡片:轻奢系列 -->
|
668 |
+
<div class="product-card">
|
669 |
+
<div class="product-image">
|
670 |
+
<div class="product-decoration">
|
671 |
+
<svg viewBox="0 0 100 100" class="decoration-circle">
|
672 |
+
<circle cx="50" cy="50" r="45" fill="none" stroke="url(#gradient2)"
|
673 |
+
stroke-width="1" stroke-dasharray="8 4"/>
|
674 |
+
</svg>
|
675 |
+
</div>
|
676 |
+
<div class="image-placeholder premium-series"></div>
|
677 |
+
</div>
|
678 |
+
<div class="product-info">
|
679 |
+
<span class="product-category">轻奢系列</span>
|
680 |
+
<h3 class="product-name">金箔流光</h3>
|
681 |
+
<p class="product-description">
|
682 |
+
匠心五年陈酿,搭配食用金箔,现代工艺与传统技术的完美结合,视觉与味觉的双重享受。
|
683 |
+
</p>
|
684 |
+
<div class="product-meta">
|
685 |
+
<div class="meta-item">
|
686 |
+
<svg viewBox="0 0 24 24" width="20" height="20">
|
687 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
688 |
+
d="M12,3 L19,8 L19,16 L12,21 L5,16 L5,8 L12,3 Z">
|
689 |
+
</path>
|
690 |
+
</svg>
|
691 |
+
<span>酒精度:12%</span>
|
692 |
+
</div>
|
693 |
+
</div>
|
694 |
+
<button class="product-btn">了解更多</button>
|
695 |
+
</div>
|
696 |
+
</div>
|
697 |
+
|
698 |
+
</div>
|
699 |
+
|
700 |
+
<!-- 旋转展示控件 -->
|
701 |
+
<div class="showcase-controls">
|
702 |
+
<button class="control-btn prev">
|
703 |
+
<svg viewBox="0 0 24 24" width="24" height="24">
|
704 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
705 |
+
d="M15,6 L9,12 L15,18">
|
706 |
+
</path>
|
707 |
+
</svg>
|
708 |
+
</button>
|
709 |
+
<div class="showcase-indicators">
|
710 |
+
<span class="indicator active"></span>
|
711 |
+
<span class="indicator"></span>
|
712 |
+
<span class="indicator"></span>
|
713 |
+
<span class="indicator"></span>
|
714 |
+
<span class="indicator"></span>
|
715 |
+
<span class="indicator"></span>
|
716 |
+
</div>
|
717 |
+
<button class="control-btn next">
|
718 |
+
<svg viewBox="0 0 24 24" width="24" height="24">
|
719 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
720 |
+
d="M9,6 L15,12 L9,18">
|
721 |
+
</path>
|
722 |
+
</svg>
|
723 |
+
</button>
|
724 |
+
</div>
|
725 |
+
</section>
|
726 |
+
|
727 |
+
<style>
|
728 |
+
/* 产品展示区新增样式 */
|
729 |
+
.product-card {
|
730 |
+
display: none !important; /* 使用!important确保样式不被覆盖 */
|
731 |
+
grid-template-columns: 1fr 1fr;
|
732 |
+
gap: 4rem;
|
733 |
+
align-items: center;
|
734 |
+
padding: 2rem;
|
735 |
+
background: white;
|
736 |
+
border-radius: 30px;
|
737 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
|
738 |
+
position: relative;
|
739 |
+
overflow: hidden;
|
740 |
+
opacity: 0;
|
741 |
+
transition: opacity 0.3s ease;
|
742 |
+
}
|
743 |
+
|
744 |
+
.product-card.active {
|
745 |
+
display: grid !important; /* 使用!important确保样式不被覆盖 */
|
746 |
+
opacity: 1;
|
747 |
+
animation: fadeIn 0.5s ease forwards;
|
748 |
+
}
|
749 |
+
|
750 |
+
@keyframes fadeIn {
|
751 |
+
from {
|
752 |
+
opacity: 0;
|
753 |
+
transform: translateX(50px);
|
754 |
+
}
|
755 |
+
to {
|
756 |
+
opacity: 1;
|
757 |
+
transform: translateX(0);
|
758 |
+
}
|
759 |
+
}
|
760 |
+
</style>
|
761 |
+
<style>
|
762 |
+
/* 特色展示区样式 */
|
763 |
+
.features {
|
764 |
+
padding: 6rem 2rem;
|
765 |
+
background: var(--bg-light);
|
766 |
+
position: relative;
|
767 |
+
overflow: hidden;
|
768 |
+
}
|
769 |
+
|
770 |
+
.section-header {
|
771 |
+
text-align: center;
|
772 |
+
margin-bottom: 4rem;
|
773 |
+
position: relative;
|
774 |
+
}
|
775 |
+
|
776 |
+
.section-title {
|
777 |
+
font-size: 2.5rem;
|
778 |
+
color: var(--text-dark);
|
779 |
+
margin-bottom: 1rem;
|
780 |
+
position: relative;
|
781 |
+
display: inline-block;
|
782 |
+
}
|
783 |
+
|
784 |
+
.section-title::after {
|
785 |
+
content: '';
|
786 |
+
position: absolute;
|
787 |
+
bottom: -10px;
|
788 |
+
left: 50%;
|
789 |
+
transform: translateX(-50%);
|
790 |
+
width: 60%;
|
791 |
+
height: 3px;
|
792 |
+
background: var(--gradient-1);
|
793 |
+
border-radius: 2px;
|
794 |
+
}
|
795 |
+
|
796 |
+
.section-subtitle {
|
797 |
+
font-size: 1.2rem;
|
798 |
+
color: var(--text-dark);
|
799 |
+
opacity: 0.7;
|
800 |
+
}
|
801 |
+
|
802 |
+
.feature-grid {
|
803 |
+
display: grid;
|
804 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
805 |
+
gap: 2rem;
|
806 |
+
max-width: 1200px;
|
807 |
+
margin: 0 auto;
|
808 |
+
}
|
809 |
+
|
810 |
+
.feature-card {
|
811 |
+
background: white;
|
812 |
+
padding: 2rem;
|
813 |
+
border-radius: 20px;
|
814 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
815 |
+
transition: all 0.3s ease;
|
816 |
+
position: relative;
|
817 |
+
overflow: hidden;
|
818 |
+
}
|
819 |
+
|
820 |
+
.feature-card::before {
|
821 |
+
content: '';
|
822 |
+
position: absolute;
|
823 |
+
top: 0;
|
824 |
+
left: 0;
|
825 |
+
width: 100%;
|
826 |
+
height: 100%;
|
827 |
+
background: var(--gradient-1);
|
828 |
+
opacity: 0;
|
829 |
+
transition: all 0.3s ease;
|
830 |
+
z-index: 0;
|
831 |
+
}
|
832 |
+
|
833 |
+
.feature-card:hover {
|
834 |
+
transform: translateY(-10px);
|
835 |
+
}
|
836 |
+
|
837 |
+
.feature-card:hover::before {
|
838 |
+
opacity: 0.05;
|
839 |
+
}
|
840 |
+
|
841 |
+
.feature-icon {
|
842 |
+
margin-bottom: 1.5rem;
|
843 |
+
position: relative;
|
844 |
+
z-index: 1;
|
845 |
+
}
|
846 |
+
|
847 |
+
.feature-card h3 {
|
848 |
+
font-size: 1.5rem;
|
849 |
+
margin-bottom: 1rem;
|
850 |
+
color: var(--text-dark);
|
851 |
+
position: relative;
|
852 |
+
z-index: 1;
|
853 |
+
}
|
854 |
+
|
855 |
+
.feature-card p {
|
856 |
+
color: var(--text-dark);
|
857 |
+
opacity: 0.8;
|
858 |
+
line-height: 1.6;
|
859 |
+
position: relative;
|
860 |
+
z-index: 1;
|
861 |
+
}
|
862 |
+
|
863 |
+
/* 产品展示区样式 */
|
864 |
+
.products {
|
865 |
+
padding: 6rem 2rem;
|
866 |
+
background: linear-gradient(135deg, #fff5e6, #fff9f0);
|
867 |
+
position: relative;
|
868 |
+
}
|
869 |
+
|
870 |
+
.product-showcase {
|
871 |
+
max-width: 1200px;
|
872 |
+
margin: 0 auto;
|
873 |
+
padding: 2rem 0;
|
874 |
+
position: relative;
|
875 |
+
}
|
876 |
+
|
877 |
+
.product-card {
|
878 |
+
display: grid;
|
879 |
+
grid-template-columns: 1fr 1fr;
|
880 |
+
gap: 4rem;
|
881 |
+
align-items: center;
|
882 |
+
padding: 2rem;
|
883 |
+
background: white;
|
884 |
+
border-radius: 30px;
|
885 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
|
886 |
+
position: relative;
|
887 |
+
overflow: hidden;
|
888 |
+
}
|
889 |
+
|
890 |
+
.product-image {
|
891 |
+
position: relative;
|
892 |
+
padding-top: 100%;
|
893 |
+
background: var(--gradient-2);
|
894 |
+
border-radius: 20px;
|
895 |
+
overflow: hidden;
|
896 |
+
}
|
897 |
+
|
898 |
+
.image-placeholder {
|
899 |
+
position: absolute;
|
900 |
+
inset: 0;
|
901 |
+
background: rgba(255, 255, 255, 0.1);
|
902 |
+
}
|
903 |
+
|
904 |
+
.product-decoration {
|
905 |
+
position: absolute;
|
906 |
+
inset: 0;
|
907 |
+
display: flex;
|
908 |
+
align-items: center;
|
909 |
+
justify-content: center;
|
910 |
+
animation: rotate 20s linear infinite;
|
911 |
+
}
|
912 |
+
|
913 |
+
.decoration-circle {
|
914 |
+
width: 100%;
|
915 |
+
height: 100%;
|
916 |
+
}
|
917 |
+
|
918 |
+
.product-info {
|
919 |
+
padding: 2rem;
|
920 |
+
}
|
921 |
+
|
922 |
+
.product-category {
|
923 |
+
display: inline-block;
|
924 |
+
padding: 0.5rem 1rem;
|
925 |
+
background: var(--gradient-1);
|
926 |
+
color: white;
|
927 |
+
border-radius: 20px;
|
928 |
+
font-size: 0.9rem;
|
929 |
+
margin-bottom: 1rem;
|
930 |
+
}
|
931 |
+
|
932 |
+
.product-name {
|
933 |
+
font-size: 2rem;
|
934 |
+
margin-bottom: 1rem;
|
935 |
+
color: var(--text-dark);
|
936 |
+
}
|
937 |
+
|
938 |
+
.product-description {
|
939 |
+
color: var(--text-dark);
|
940 |
+
opacity: 0.8;
|
941 |
+
line-height: 1.6;
|
942 |
+
margin-bottom: 2rem;
|
943 |
+
}
|
944 |
+
|
945 |
+
.product-meta {
|
946 |
+
display: flex;
|
947 |
+
gap: 2rem;
|
948 |
+
margin-bottom: 2rem;
|
949 |
+
}
|
950 |
+
|
951 |
+
.meta-item {
|
952 |
+
display: flex;
|
953 |
+
align-items: center;
|
954 |
+
gap: 0.5rem;
|
955 |
+
color: var(--text-dark);
|
956 |
+
opacity: 0.8;
|
957 |
+
}
|
958 |
+
|
959 |
+
.product-btn {
|
960 |
+
padding: 1rem 2rem;
|
961 |
+
border: none;
|
962 |
+
background: var(--gradient-1);
|
963 |
+
color: white;
|
964 |
+
border-radius: 25px;
|
965 |
+
font-weight: bold;
|
966 |
+
cursor: pointer;
|
967 |
+
transition: all 0.3s ease;
|
968 |
+
}
|
969 |
+
|
970 |
+
.product-btn:hover {
|
971 |
+
transform: translateY(-2px);
|
972 |
+
box-shadow: 0 5px 15px rgba(255, 180, 46, 0.3);
|
973 |
+
}
|
974 |
+
|
975 |
+
.showcase-controls {
|
976 |
+
display: flex;
|
977 |
+
align-items: center;
|
978 |
+
justify-content: center;
|
979 |
+
gap: 2rem;
|
980 |
+
margin-top: 3rem;
|
981 |
+
}
|
982 |
+
|
983 |
+
.control-btn {
|
984 |
+
width: 50px;
|
985 |
+
height: 50px;
|
986 |
+
border: none;
|
987 |
+
background: white;
|
988 |
+
border-radius: 50%;
|
989 |
+
cursor: pointer;
|
990 |
+
display: flex;
|
991 |
+
align-items: center;
|
992 |
+
justify-content: center;
|
993 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
994 |
+
transition: all 0.3s ease;
|
995 |
+
}
|
996 |
+
|
997 |
+
.control-btn:hover {
|
998 |
+
background: var(--gradient-1);
|
999 |
+
color: white;
|
1000 |
+
}
|
1001 |
+
|
1002 |
+
.showcase-indicators {
|
1003 |
+
display: flex;
|
1004 |
+
gap: 1rem;
|
1005 |
+
}
|
1006 |
+
|
1007 |
+
.indicator {
|
1008 |
+
width: 10px;
|
1009 |
+
height: 10px;
|
1010 |
+
border-radius: 50%;
|
1011 |
+
background: var(--text-dark);
|
1012 |
+
opacity: 0.2;
|
1013 |
+
cursor: pointer;
|
1014 |
+
transition: all 0.3s ease;
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
.indicator.active {
|
1018 |
+
width: 30px;
|
1019 |
+
border-radius: 5px;
|
1020 |
+
background: var(--gradient-1);
|
1021 |
+
opacity: 1;
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
@keyframes rotate {
|
1025 |
+
from {
|
1026 |
+
transform: rotate(0deg);
|
1027 |
+
}
|
1028 |
+
to {
|
1029 |
+
transform: rotate(360deg);
|
1030 |
+
}
|
1031 |
+
}
|
1032 |
+
.youth-series {
|
1033 |
+
background: linear-gradient(135deg, #FFE4B5, #FFB6C1);
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
.cocktail-series {
|
1037 |
+
background: linear-gradient(135deg, #87CEEB, #98FB98);
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
.fusion-series {
|
1041 |
+
background: linear-gradient(135deg, #DDA0DD, #FFB6C1);
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
.premium-series {
|
1045 |
+
background: linear-gradient(135deg, #FFD700, #FFA07A);
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
.season-series {
|
1049 |
+
background: linear-gradient(135deg, #B0C4DE, #FFE4E1);
|
1050 |
+
}
|
1051 |
+
</style>
|
1052 |
+
<!-- 文化传承区域 -->
|
1053 |
+
<section class="culture-section">
|
1054 |
+
<div class="section-header">
|
1055 |
+
<h2 class="section-title">千年酿造,一脉相承</h2>
|
1056 |
+
<p class="section-subtitle">探寻绍兴黄酒的文化密码</p>
|
1057 |
+
</div>
|
1058 |
+
|
1059 |
+
<div class="culture-grid">
|
1060 |
+
<!-- 历史传承卡片 -->
|
1061 |
+
<div class="culture-card">
|
1062 |
+
<div class="culture-icon">
|
1063 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1064 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1065 |
+
d="M12,2 L12,22 M4,4 C4,4 8,3 12,3 C16,3 20,4 20,4 L20,20 C20,20 16,19 12,19 C8,19 4,20 4,20 L4,4"/>
|
1066 |
+
</svg>
|
1067 |
+
</div>
|
1068 |
+
<h3>千年酿造工艺</h3>
|
1069 |
+
<p>始于春秋,盛于唐宋,绍兴黄酒的酿造技艺被列入国家级非物质文化遗产名录</p>
|
1070 |
+
</div>
|
1071 |
+
|
1072 |
+
<!-- 文化底蕴卡片 -->
|
1073 |
+
<div class="culture-card">
|
1074 |
+
<div class="culture-icon">
|
1075 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1076 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1077 |
+
d="M3,12 C3,16.9706 7.02944,21 12,21 C16.9706,21 21,16.9706 21,12"/>
|
1078 |
+
</svg>
|
1079 |
+
</div>
|
1080 |
+
<h3>江南水乡文化</h3>
|
1081 |
+
<p>与江南水乡的人文风情密不可分,融入诗词歌赋,见证千年文明</p>
|
1082 |
+
</div>
|
1083 |
+
|
1084 |
+
<!-- 品质传承卡片 -->
|
1085 |
+
<div class="culture-card">
|
1086 |
+
<div class="culture-icon">
|
1087 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1088 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1089 |
+
d="M12,2 L15,8 L21,9 L17,14 L18,20 L12,17 L6,20 L7,14 L3,9 L9,8 Z"/>
|
1090 |
+
</svg>
|
1091 |
+
</div>
|
1092 |
+
<h3>匠心品质</h3>
|
1093 |
+
<p>秉承传统工艺,融合现代科技,每一滴都是时光的结晶</p>
|
1094 |
+
</div>
|
1095 |
+
</div>
|
1096 |
+
</section>
|
1097 |
+
|
1098 |
+
<!-- 地方特色展示区 -->
|
1099 |
+
<section class="local-features">
|
1100 |
+
<div class="section-header">
|
1101 |
+
<h2 class="section-title">醉美绍兴</h2>
|
1102 |
+
<p class="section-subtitle">感受独特的地方魅力</p>
|
1103 |
+
</div>
|
1104 |
+
|
1105 |
+
<div class="feature-showcase">
|
1106 |
+
<!-- 左侧图片展示 -->
|
1107 |
+
<div class="showcase-images">
|
1108 |
+
<div class="image-grid">
|
1109 |
+
<div class="feature-image" style="background-image: url('/api/placeholder/400/300')">
|
1110 |
+
<div class="image-overlay">
|
1111 |
+
<h4>古法酿造</h4>
|
1112 |
+
</div>
|
1113 |
+
</div>
|
1114 |
+
<div class="feature-image" style="background-image: url('/api/placeholder/400/300')">
|
1115 |
+
<div class="image-overlay">
|
1116 |
+
<h4>黄酒街区</h4>
|
1117 |
+
</div>
|
1118 |
+
</div>
|
1119 |
+
<div class="feature-image" style="background-image: url('/api/placeholder/400/300')">
|
1120 |
+
<div class="image-overlay">
|
1121 |
+
<h4>品鉴文化</h4>
|
1122 |
+
</div>
|
1123 |
+
</div>
|
1124 |
+
</div>
|
1125 |
+
</div>
|
1126 |
+
<!-- 右侧特色介绍 -->
|
1127 |
+
<div class="feature-content">
|
1128 |
+
<h3>千年绍兴,一城风味</h3>
|
1129 |
+
<p class="feature-description">
|
1130 |
+
绍兴黄酒承载着这座城市的记忆与温度。从古法酿造到现代创新,
|
1131 |
+
从老街深巷到时尚酒吧,处处可见黄酒文化与城市生活的完美融合。
|
1132 |
+
</p>
|
1133 |
+
<div class="feature-highlights">
|
1134 |
+
<div class="highlight-item">
|
1135 |
+
<span class="highlight-number">2000+</span>
|
1136 |
+
<span class="highlight-text">年酿造历史</span>
|
1137 |
+
</div>
|
1138 |
+
<div class="highlight-item">
|
1139 |
+
<span class="highlight-number">100+</span>
|
1140 |
+
<span class="highlight-text">家特色酒坊</span>
|
1141 |
+
</div>
|
1142 |
+
<div class="highlight-item">
|
1143 |
+
<span class="highlight-number">10+</span>
|
1144 |
+
<span class="highlight-text">个景点体验</span>
|
1145 |
+
</div>
|
1146 |
+
</div>
|
1147 |
+
</div>
|
1148 |
+
</div>
|
1149 |
+
</section>
|
1150 |
+
|
1151 |
+
<!-- 创新发展区 -->
|
1152 |
+
<section class="innovation-section">
|
1153 |
+
<div class="section-header">
|
1154 |
+
<h2 class="section-title">传承创新,引领未来</h2>
|
1155 |
+
<p class="section-subtitle">用科技赋能传统,让黄酒文化焕发新生</p>
|
1156 |
+
</div>
|
1157 |
+
|
1158 |
+
<div class="innovation-cards">
|
1159 |
+
<!-- 科技创新卡片 -->
|
1160 |
+
<div class="innovation-card">
|
1161 |
+
<div class="card-icon">
|
1162 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1163 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1164 |
+
d="M9,2 L15,2 L15,6 L9,6 L9,2 Z M12,6 L12,23"/>
|
1165 |
+
</svg>
|
1166 |
+
</div>
|
1167 |
+
<h3>智能酿造</h3>
|
1168 |
+
<p>引入AI温控系统,实现精准发酵,提升产品品质</p>
|
1169 |
+
<a href="#" class="learn-more">了解更多</a>
|
1170 |
+
</div>
|
1171 |
+
|
1172 |
+
<!-- 产品创新卡片 -->
|
1173 |
+
<div class="innovation-card">
|
1174 |
+
<div class="card-icon">
|
1175 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1176 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1177 |
+
d="M12,2 C6.5,2 2,6.5 2,12 C2,17.5 6.5,22 12,22 C17.5,22 22,17.5 22,12 C22,6.5 17.5,2 12,2 Z"/>
|
1178 |
+
</svg>
|
1179 |
+
</div>
|
1180 |
+
<h3>新品研发</h3>
|
1181 |
+
<p>开发低度果酒系列,迎合年轻消费群体需求</p>
|
1182 |
+
<a href="#" class="learn-more">了解更多</a>
|
1183 |
+
</div>
|
1184 |
+
|
1185 |
+
<!-- 文化创新卡片 -->
|
1186 |
+
<div class="innovation-card">
|
1187 |
+
<div class="card-icon">
|
1188 |
+
<svg viewBox="0 0 24 24" width="48" height="48">
|
1189 |
+
<path fill="none" stroke="url(#gradient1)" stroke-width="2"
|
1190 |
+
d="M21,12 A9,9 0 0,1 12,21 A9,9 0 0,1 3,12"/>
|
1191 |
+
</svg>
|
1192 |
+
</div>
|
1193 |
+
<h3>文化体验</h3>
|
1194 |
+
<p>打造沉浸式黄酒文化体验馆,传统与现代的完美交融</p>
|
1195 |
+
<a href="#" class="learn-more">了解更多</a>
|
1196 |
+
</div>
|
1197 |
+
</div>
|
1198 |
+
</section>
|
1199 |
+
|
1200 |
+
<!-- 体验中心区域 -->
|
1201 |
+
<section class="experience-center">
|
1202 |
+
<div class="section-header">
|
1203 |
+
<h2 class="section-title">沉浸体验</h2>
|
1204 |
+
<p class="section-subtitle">邀您共赏绍兴黄酒的魅力时光</p>
|
1205 |
+
</div>
|
1206 |
+
|
1207 |
+
<div class="experience-container">
|
1208 |
+
<!-- 预约体验表单 -->
|
1209 |
+
<div class="booking-form">
|
1210 |
+
<h3>预约参观</h3>
|
1211 |
+
<form class="visit-form">
|
1212 |
+
<div class="form-group">
|
1213 |
+
<input type="text" placeholder="您的姓名" required>
|
1214 |
+
</div>
|
1215 |
+
<div class="form-group">
|
1216 |
+
<input type="tel" placeholder="联系电话" required>
|
1217 |
+
</div>
|
1218 |
+
<div class="form-group">
|
1219 |
+
<input type="date" placeholder="参观日期" required>
|
1220 |
+
</div>
|
1221 |
+
<div class="form-group">
|
1222 |
+
<select required>
|
1223 |
+
<option value="">选择体验项目</option>
|
1224 |
+
<option value="1">古法酿造体验</option>
|
1225 |
+
<option value="2">品酒鉴赏课程</option>
|
1226 |
+
<option value="3">文化展馆导览</option>
|
1227 |
+
</select>
|
1228 |
+
</div>
|
1229 |
+
<button type="submit" class="submit-btn">立即预约</button>
|
1230 |
+
</form>
|
1231 |
+
</div>
|
1232 |
+
|
1233 |
+
<!-- 体验项目展示 -->
|
1234 |
+
<div class="experience-showcase">
|
1235 |
+
<div class="experience-item">
|
1236 |
+
<div class="experience-icon">
|
1237 |
+
<svg viewBox="0 0 24 24" width="32" height="32">
|
1238 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
1239 |
+
d="M12,2 L12,22 M4,4 L20,4"/>
|
1240 |
+
</svg>
|
1241 |
+
</div>
|
1242 |
+
<h4>古法酿造体验</h4>
|
1243 |
+
<p>亲手参与传统酿造工艺,感受非遗文化魅力</p>
|
1244 |
+
</div>
|
1245 |
+
<div class="experience-item">
|
1246 |
+
<div class="experience-icon">
|
1247 |
+
<svg viewBox="0 0 24 24" width="32" height="32">
|
1248 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
1249 |
+
d="M12,2 L12,22 M4,4 L20,4"/>
|
1250 |
+
</svg>
|
1251 |
+
</div>
|
1252 |
+
<h4>品酒鉴赏课程</h4>
|
1253 |
+
<p>专业品酒师带您领略黄酒的独特韵味</p>
|
1254 |
+
</div>
|
1255 |
+
<div class="experience-item">
|
1256 |
+
<div class="experience-icon">
|
1257 |
+
<svg viewBox="0 0 24 24" width="32" height="32">
|
1258 |
+
<path fill="none" stroke="currentColor" stroke-width="2"
|
1259 |
+
d="M12,2 L12,22 M4,4 L20,4"/>
|
1260 |
+
</svg>
|
1261 |
+
</div>
|
1262 |
+
<h4>文化展馆导览</h4>
|
1263 |
+
<p>沉浸式体验千年黄酒文化的魅力传承</p>
|
1264 |
+
</div>
|
1265 |
+
</div>
|
1266 |
+
</div>
|
1267 |
+
</section>
|
1268 |
+
|
1269 |
+
<!-- 页脚区域 -->
|
1270 |
+
<footer class="footer">
|
1271 |
+
<div class="footer-content">
|
1272 |
+
<div class="footer-section">
|
1273 |
+
<h3>联系我们</h3>
|
1274 |
+
<p>电话:0575-88888888</p>
|
1275 |
+
<p>邮箱:[email protected]</p>
|
1276 |
+
<p>地址:浙江省绍兴市越城区黄酒文化街区</p>
|
1277 |
+
</div>
|
1278 |
+
|
1279 |
+
<div class="footer-section">
|
1280 |
+
<h3>快速链接</h3>
|
1281 |
+
<ul>
|
1282 |
+
<li><a href="#">关于我们</a></li>
|
1283 |
+
<li><a href="#">产品系列</a></li>
|
1284 |
+
<li><a href="#">新闻资讯</a></li>
|
1285 |
+
<li><a href="#">加入我们</a></li>
|
1286 |
+
</ul>
|
1287 |
+
</div>
|
1288 |
+
|
1289 |
+
<div class="footer-section">
|
1290 |
+
<h3>关注我们</h3>
|
1291 |
+
<div class="social-links">
|
1292 |
+
<a href="#" class="social-link">微信</a>
|
1293 |
+
<a href="#" class="social-link">微博</a>
|
1294 |
+
<a href="#" class="social-link">抖音</a>
|
1295 |
+
<a href="#" class="social-link">小红书</a>
|
1296 |
+
</div>
|
1297 |
+
</div>
|
1298 |
+
|
1299 |
+
<div class="footer-section">
|
1300 |
+
<h3>订阅资讯</h3>
|
1301 |
+
<form class="subscribe-form">
|
1302 |
+
<input type="email" placeholder="请输入您的邮箱">
|
1303 |
+
<button type="submit">订阅</button>
|
1304 |
+
</form>
|
1305 |
+
</div>
|
1306 |
+
</div>
|
1307 |
+
|
1308 |
+
<div class="footer-bottom">
|
1309 |
+
<p>© 2024 绍兴黄酒. All rights reserved.</p>
|
1310 |
+
<div class="footer-links">
|
1311 |
+
<a href="#">隐私政策</a>
|
1312 |
+
<a href="#">使用条款</a>
|
1313 |
+
<a href="#">网站地图</a>
|
1314 |
+
</div>
|
1315 |
+
</div>
|
1316 |
+
</footer>
|
1317 |
+
<style>
|
1318 |
+
/* 文化传承区域样式 */
|
1319 |
+
.culture-section {
|
1320 |
+
padding: 6rem 2rem;
|
1321 |
+
background: linear-gradient(135deg, #fff9f0, #fff5e6);
|
1322 |
+
position: relative;
|
1323 |
+
overflow: hidden;
|
1324 |
+
}
|
1325 |
+
|
1326 |
+
.culture-grid {
|
1327 |
+
display: grid;
|
1328 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
1329 |
+
gap: 2rem;
|
1330 |
+
max-width: 1200px;
|
1331 |
+
margin: 0 auto;
|
1332 |
+
padding: 2rem;
|
1333 |
+
}
|
1334 |
+
|
1335 |
+
.culture-card {
|
1336 |
+
background: white;
|
1337 |
+
padding: 2.5rem;
|
1338 |
+
border-radius: 20px;
|
1339 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
1340 |
+
transition: all 0.3s ease;
|
1341 |
+
text-align: center;
|
1342 |
+
position: relative;
|
1343 |
+
overflow: hidden;
|
1344 |
+
}
|
1345 |
+
|
1346 |
+
.culture-card:hover {
|
1347 |
+
transform: translateY(-10px);
|
1348 |
+
box-shadow: 0 15px 40px rgba(255, 180, 46, 0.1);
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
.culture-icon {
|
1352 |
+
margin-bottom: 1.5rem;
|
1353 |
+
height: 80px;
|
1354 |
+
display: flex;
|
1355 |
+
align-items: center;
|
1356 |
+
justify-content: center;
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
.culture-card h3 {
|
1360 |
+
font-size: 1.5rem;
|
1361 |
+
color: var(--text-dark);
|
1362 |
+
margin-bottom: 1rem;
|
1363 |
+
}
|
1364 |
+
|
1365 |
+
.culture-card p {
|
1366 |
+
color: var(--text-dark);
|
1367 |
+
opacity: 0.8;
|
1368 |
+
line-height: 1.6;
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
/* 地方特色展示区样式 */
|
1372 |
+
.local-features {
|
1373 |
+
padding: 6rem 2rem;
|
1374 |
+
background: var(--bg-light);
|
1375 |
+
}
|
1376 |
+
|
1377 |
+
.feature-showcase {
|
1378 |
+
max-width: 1200px;
|
1379 |
+
margin: 0 auto;
|
1380 |
+
display: grid;
|
1381 |
+
grid-template-columns: 1fr 1fr;
|
1382 |
+
gap: 4rem;
|
1383 |
+
align-items: center;
|
1384 |
+
}
|
1385 |
+
|
1386 |
+
.showcase-images {
|
1387 |
+
position: relative;
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
.image-grid {
|
1391 |
+
display: grid;
|
1392 |
+
grid-template-columns: repeat(2, 1fr);
|
1393 |
+
gap: 1rem;
|
1394 |
+
}
|
1395 |
+
|
1396 |
+
.feature-image {
|
1397 |
+
height: 200px;
|
1398 |
+
border-radius: 15px;
|
1399 |
+
background-size: cover;
|
1400 |
+
background-position: center;
|
1401 |
+
position: relative;
|
1402 |
+
overflow: hidden;
|
1403 |
+
}
|
1404 |
+
|
1405 |
+
.feature-image:nth-child(1) {
|
1406 |
+
grid-column: 1 / -1;
|
1407 |
+
height: 300px;
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
.image-overlay {
|
1411 |
+
position: absolute;
|
1412 |
+
inset: 0;
|
1413 |
+
background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
|
1414 |
+
display: flex;
|
1415 |
+
align-items: flex-end;
|
1416 |
+
padding: 1.5rem;
|
1417 |
+
color: white;
|
1418 |
+
opacity: 0;
|
1419 |
+
transition: all 0.3s ease;
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
.feature-image:hover .image-overlay {
|
1423 |
+
opacity: 1;
|
1424 |
+
}
|
1425 |
+
|
1426 |
+
.feature-content {
|
1427 |
+
padding: 2rem;
|
1428 |
+
}
|
1429 |
+
|
1430 |
+
.feature-content h3 {
|
1431 |
+
font-size: 2rem;
|
1432 |
+
color: var(--text-dark);
|
1433 |
+
margin-bottom: 1.5rem;
|
1434 |
+
}
|
1435 |
+
|
1436 |
+
.feature-description {
|
1437 |
+
color: var(--text-dark);
|
1438 |
+
opacity: 0.8;
|
1439 |
+
line-height: 1.8;
|
1440 |
+
margin-bottom: 2rem;
|
1441 |
+
}
|
1442 |
+
|
1443 |
+
.feature-highlights {
|
1444 |
+
display: grid;
|
1445 |
+
grid-template-columns: repeat(3, 1fr);
|
1446 |
+
gap: 1.5rem;
|
1447 |
+
}
|
1448 |
+
|
1449 |
+
.highlight-item {
|
1450 |
+
text-align: center;
|
1451 |
+
}
|
1452 |
+
|
1453 |
+
.highlight-number {
|
1454 |
+
display: block;
|
1455 |
+
font-size: 2.5rem;
|
1456 |
+
font-weight: bold;
|
1457 |
+
color: var(--primary-color);
|
1458 |
+
margin-bottom: 0.5rem;
|
1459 |
+
}
|
1460 |
+
|
1461 |
+
.highlight-text {
|
1462 |
+
color: var(--text-dark);
|
1463 |
+
opacity: 0.8;
|
1464 |
+
}
|
1465 |
+
|
1466 |
+
/* 创新发展区样式 */
|
1467 |
+
.innovation-section {
|
1468 |
+
padding: 6rem 2rem;
|
1469 |
+
background: linear-gradient(135deg, #fff5e6, #fff9f0);
|
1470 |
+
}
|
1471 |
+
|
1472 |
+
.innovation-cards {
|
1473 |
+
display: grid;
|
1474 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
1475 |
+
gap: 2rem;
|
1476 |
+
max-width: 1200px;
|
1477 |
+
margin: 0 auto;
|
1478 |
+
padding: 2rem;
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
.innovation-card {
|
1482 |
+
background: white;
|
1483 |
+
padding: 2.5rem;
|
1484 |
+
border-radius: 20px;
|
1485 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
1486 |
+
transition: all 0.3s ease;
|
1487 |
+
text-align: center;
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
.innovation-card:hover {
|
1491 |
+
transform: translateY(-10px);
|
1492 |
+
box-shadow: 0 15px 40px rgba(255, 180, 46, 0.1);
|
1493 |
+
}
|
1494 |
+
|
1495 |
+
.card-icon {
|
1496 |
+
margin-bottom: 1.5rem;
|
1497 |
+
height: 80px;
|
1498 |
+
display: flex;
|
1499 |
+
align-items: center;
|
1500 |
+
justify-content: center;
|
1501 |
+
}
|
1502 |
+
|
1503 |
+
.innovation-card h3 {
|
1504 |
+
font-size: 1.5rem;
|
1505 |
+
color: var(--text-dark);
|
1506 |
+
margin-bottom: 1rem;
|
1507 |
+
}
|
1508 |
+
|
1509 |
+
.innovation-card p {
|
1510 |
+
color: var(--text-dark);
|
1511 |
+
opacity: 0.8;
|
1512 |
+
line-height: 1.6;
|
1513 |
+
margin-bottom: 1.5rem;
|
1514 |
+
}
|
1515 |
+
|
1516 |
+
.learn-more {
|
1517 |
+
display: inline-block;
|
1518 |
+
padding: 0.8rem 1.5rem;
|
1519 |
+
background: var(--gradient-1);
|
1520 |
+
color: white;
|
1521 |
+
border-radius: 25px;
|
1522 |
+
text-decoration: none;
|
1523 |
+
font-weight: 500;
|
1524 |
+
transition: all 0.3s ease;
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
.learn-more:hover {
|
1528 |
+
transform: translateY(-2px);
|
1529 |
+
box-shadow: 0 5px 15px rgba(255, 180, 46, 0.3);
|
1530 |
+
}
|
1531 |
+
|
1532 |
+
/* 体验中心区域样式 */
|
1533 |
+
.experience-center {
|
1534 |
+
padding: 6rem 2rem;
|
1535 |
+
background: var(--bg-light);
|
1536 |
+
}
|
1537 |
+
|
1538 |
+
.experience-container {
|
1539 |
+
max-width: 1200px;
|
1540 |
+
margin: 0 auto;
|
1541 |
+
display: grid;
|
1542 |
+
grid-template-columns: 1fr 1fr;
|
1543 |
+
gap: 4rem;
|
1544 |
+
align-items: start;
|
1545 |
+
}
|
1546 |
+
|
1547 |
+
.booking-form {
|
1548 |
+
background: white;
|
1549 |
+
padding: 3rem;
|
1550 |
+
border-radius: 20px;
|
1551 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
1552 |
+
}
|
1553 |
+
|
1554 |
+
.booking-form h3 {
|
1555 |
+
font-size: 1.8rem;
|
1556 |
+
color: var(--text-dark);
|
1557 |
+
margin-bottom: 2rem;
|
1558 |
+
}
|
1559 |
+
|
1560 |
+
.form-group {
|
1561 |
+
margin-bottom: 1.5rem;
|
1562 |
+
}
|
1563 |
+
|
1564 |
+
.form-group input,
|
1565 |
+
.form-group select {
|
1566 |
+
width: 100%;
|
1567 |
+
padding: 1rem;
|
1568 |
+
border: 2px solid rgba(0,0,0,0.1);
|
1569 |
+
border-radius: 10px;
|
1570 |
+
font-size: 1rem;
|
1571 |
+
transition: all 0.3s ease;
|
1572 |
+
}
|
1573 |
+
|
1574 |
+
.form-group input:focus,
|
1575 |
+
.form-group select:focus {
|
1576 |
+
border-color: var(--primary-color);
|
1577 |
+
outline: none;
|
1578 |
+
}
|
1579 |
+
|
1580 |
+
.submit-btn {
|
1581 |
+
width: 100%;
|
1582 |
+
padding: 1rem;
|
1583 |
+
border: none;
|
1584 |
+
background: var(--gradient-1);
|
1585 |
+
color: white;
|
1586 |
+
border-radius: 10px;
|
1587 |
+
font-size: 1rem;
|
1588 |
+
font-weight: bold;
|
1589 |
+
cursor: pointer;
|
1590 |
+
transition: all 0.3s ease;
|
1591 |
+
}
|
1592 |
+
|
1593 |
+
.submit-btn:hover {
|
1594 |
+
transform: translateY(-2px);
|
1595 |
+
box-shadow: 0 5px 15px rgba(255, 180, 46, 0.3);
|
1596 |
+
}
|
1597 |
+
|
1598 |
+
.experience-showcase {
|
1599 |
+
display: grid;
|
1600 |
+
gap: 2rem;
|
1601 |
+
}
|
1602 |
+
|
1603 |
+
.experience-item {
|
1604 |
+
background: white;
|
1605 |
+
padding: 2rem;
|
1606 |
+
border-radius: 15px;
|
1607 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
|
1608 |
+
transition: all 0.3s ease;
|
1609 |
+
}
|
1610 |
+
|
1611 |
+
.experience-item:hover {
|
1612 |
+
transform: translateX(10px);
|
1613 |
+
}
|
1614 |
+
|
1615 |
+
.experience-icon {
|
1616 |
+
margin-bottom: 1rem;
|
1617 |
+
color: var(--primary-color);
|
1618 |
+
}
|
1619 |
+
|
1620 |
+
.experience-item h4 {
|
1621 |
+
font-size: 1.2rem;
|
1622 |
+
color: var(--text-dark);
|
1623 |
+
margin-bottom: 0.5rem;
|
1624 |
+
}
|
1625 |
+
|
1626 |
+
.experience-item p {
|
1627 |
+
color: var(--text-dark);
|
1628 |
+
opacity: 0.8;
|
1629 |
+
line-height: 1.6;
|
1630 |
+
}
|
1631 |
+
|
1632 |
+
/* 页脚样式 */
|
1633 |
+
.footer {
|
1634 |
+
background: var(--text-dark);
|
1635 |
+
color: var(--text-light);
|
1636 |
+
padding: 4rem 2rem 2rem;
|
1637 |
+
}
|
1638 |
+
|
1639 |
+
.footer-content {
|
1640 |
+
max-width: 1200px;
|
1641 |
+
margin: 0 auto;
|
1642 |
+
display: grid;
|
1643 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
1644 |
+
gap: 3rem;
|
1645 |
+
margin-bottom: 3rem;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
.footer-section h3 {
|
1649 |
+
font-size: 1.2rem;
|
1650 |
+
margin-bottom: 1.5rem;
|
1651 |
+
color: var(--primary-color);
|
1652 |
+
}
|
1653 |
+
|
1654 |
+
.footer-section p {
|
1655 |
+
margin-bottom: 0.8rem;
|
1656 |
+
opacity: 0.8;
|
1657 |
+
}
|
1658 |
+
|
1659 |
+
.footer-section ul {
|
1660 |
+
list-style: none;
|
1661 |
+
}
|
1662 |
+
|
1663 |
+
.footer-section ul li {
|
1664 |
+
margin-bottom: 0.8rem;
|
1665 |
+
}
|
1666 |
+
|
1667 |
+
.footer-section a {
|
1668 |
+
color: var(--text-light);
|
1669 |
+
text-decoration: none;
|
1670 |
+
opacity: 0.8;
|
1671 |
+
transition: all 0.3s ease;
|
1672 |
+
}
|
1673 |
+
|
1674 |
+
.footer-section a:hover {
|
1675 |
+
opacity: 1;
|
1676 |
+
color: var(--primary-color);
|
1677 |
+
}
|
1678 |
+
|
1679 |
+
.social-links {
|
1680 |
+
display: flex;
|
1681 |
+
gap: 1rem;
|
1682 |
+
}
|
1683 |
+
|
1684 |
+
.social-link {
|
1685 |
+
padding: 0.5rem 1rem;
|
1686 |
+
border: 1px solid rgba(255,255,255,0.2);
|
1687 |
+
border-radius: 20px;
|
1688 |
+
}
|
1689 |
+
|
1690 |
+
.subscribe-form {
|
1691 |
+
display: flex;
|
1692 |
+
gap: 1rem;
|
1693 |
+
}
|
1694 |
+
|
1695 |
+
.subscribe-form input {
|
1696 |
+
flex: 1;
|
1697 |
+
padding: 0.8rem;
|
1698 |
+
border: none;
|
1699 |
+
border-radius: 5px;
|
1700 |
+
background: rgba(255,255,255,0.1);
|
1701 |
+
color: var(--text-light);
|
1702 |
+
}
|
1703 |
+
|
1704 |
+
.subscribe-form button {
|
1705 |
+
padding: 0.8rem 1.5rem;
|
1706 |
+
border: none;
|
1707 |
+
border-radius: 5px;
|
1708 |
+
background: var(--primary-color);
|
1709 |
+
color: var(--text-dark);
|
1710 |
+
cursor: pointer;
|
1711 |
+
transition: all 0.3s ease;
|
1712 |
+
}
|
1713 |
+
|
1714 |
+
.subscribe-form button:hover {
|
1715 |
+
background: var(--secondary-color);
|
1716 |
+
}
|
1717 |
+
|
1718 |
+
.footer-bottom {
|
1719 |
+
max-width: 1200px;
|
1720 |
+
margin: 0 auto;
|
1721 |
+
padding-top: 2rem;
|
1722 |
+
border-top: 1px solid rgba(255,255,255,0.1);
|
1723 |
+
display: flex;
|
1724 |
+
justify-content: space-between;
|
1725 |
+
align-items: center;
|
1726 |
+
flex-wrap: wrap;
|
1727 |
+
gap: 1rem;
|
1728 |
+
}
|
1729 |
+
|
1730 |
+
.footer-bottom p {
|
1731 |
+
opacity: 0.6;
|
1732 |
+
}
|
1733 |
+
|
1734 |
+
.footer-links {
|
1735 |
+
display: flex;
|
1736 |
+
gap: 2rem;
|
1737 |
+
}
|
1738 |
+
|
1739 |
+
.footer-links a {
|
1740 |
+
color: var(--text-light);
|
1741 |
+
text-decoration: none;
|
1742 |
+
opacity: 0.6;
|
1743 |
+
transition: all 0.3s ease;
|
1744 |
+
}
|
1745 |
+
|
1746 |
+
.footer-links a:hover {
|
1747 |
+
opacity: 1;
|
1748 |
+
}
|
1749 |
+
|
1750 |
+
/* 响应式设计 */
|
1751 |
+
@media (max-width: 768px) {
|
1752 |
+
.feature-showcase,
|
1753 |
+
.experience-container {
|
1754 |
+
grid-template-columns: 1fr;
|
1755 |
+
}
|
1756 |
+
|
1757 |
+
.footer-content {
|
1758 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
1759 |
+
}
|
1760 |
+
|
1761 |
+
.footer-bottom {
|
1762 |
+
flex-direction: column;
|
1763 |
+
text-align: center;
|
1764 |
+
}
|
1765 |
+
|
1766 |
+
.footer-links {
|
1767 |
+
justify-content: center;
|
1768 |
+
}
|
1769 |
+
|
1770 |
+
.subscribe-form {
|
1771 |
+
flex-direction: column;
|
1772 |
+
}
|
1773 |
+
}
|
1774 |
+
|
1775 |
+
@media (max-width: 480px) {
|
1776 |
+
.culture-grid,
|
1777 |
+
.innovation-cards {
|
1778 |
+
grid-template-columns: 1fr;
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
.feature-highlights {
|
1782 |
+
grid-template-columns: 1fr;
|
1783 |
+
}
|
1784 |
+
|
1785 |
+
.highlight-item {
|
1786 |
+
padding: 1rem 0;
|
1787 |
+
border-bottom: 1px solid rgba(0,0,0,0.1);
|
1788 |
+
}
|
1789 |
+
}
|
1790 |
+
</style>
|
1791 |
+
<!-- Three.js and required loaders -->
|
1792 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
1793 |
+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/loaders/GLTFLoader.js"></script>
|
1794 |
+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/controls/OrbitControls.js"></script>
|
1795 |
+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/loaders/OBJLoader.js"></script>
|
1796 |
+
<script>
|
1797 |
+
// Initialize Three.js scene
|
1798 |
+
const container = document.getElementById('model-container');
|
1799 |
+
const scene = new THREE.Scene();
|
1800 |
+
const camera = new THREE.PerspectiveCamera(75, container.clientWidth / container.clientHeight, 0.1, 1000);
|
1801 |
+
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
|
1802 |
+
|
1803 |
+
renderer.setSize(container.clientWidth, container.clientHeight);
|
1804 |
+
renderer.setClearColor(0x000000, 0);
|
1805 |
+
container.appendChild(renderer.domElement);
|
1806 |
+
|
1807 |
+
// Add lights
|
1808 |
+
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5);
|
1809 |
+
scene.add(ambientLight);
|
1810 |
+
|
1811 |
+
const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
|
1812 |
+
directionalLight.position.set(5, 5, 5);
|
1813 |
+
scene.add(directionalLight);
|
1814 |
+
|
1815 |
+
// Add OrbitControls
|
1816 |
+
const controls = new THREE.OrbitControls(camera, renderer.domElement);
|
1817 |
+
controls.enableDamping = true;
|
1818 |
+
controls.dampingFactor = 0.05;
|
1819 |
+
controls.screenSpacePanning = false;
|
1820 |
+
controls.minDistance = 3;
|
1821 |
+
controls.maxDistance = 10;
|
1822 |
+
controls.autoRotate = true;
|
1823 |
+
controls.autoRotateSpeed = 2.0;
|
1824 |
+
|
1825 |
+
// Position camera
|
1826 |
+
camera.position.z = 5;
|
1827 |
+
|
1828 |
+
// Load OBJ model
|
1829 |
+
const loader = new THREE.OBJLoader();
|
1830 |
+
loader.load('wine.obj', function(object) {
|
1831 |
+
scene.add(object);
|
1832 |
+
});
|
1833 |
+
// Animation loop
|
1834 |
+
function animate() {
|
1835 |
+
requestAnimationFrame(animate);
|
1836 |
+
controls.update();
|
1837 |
+
renderer.render(scene, camera);
|
1838 |
+
}
|
1839 |
+
animate();
|
1840 |
+
|
1841 |
+
// Handle window resize
|
1842 |
+
window.addEventListener('resize', onWindowResize, false);
|
1843 |
+
function onWindowResize() {
|
1844 |
+
camera.aspect = container.clientWidth / container.clientHeight;
|
1845 |
+
camera.updateProjectionMatrix();
|
1846 |
+
renderer.setSize(container.clientWidth, container.clientHeight);
|
1847 |
+
}
|
1848 |
+
</script>
|
1849 |
+
<script>
|
1850 |
+
// 获取所有需要的元素
|
1851 |
+
const productCards = document.querySelectorAll('.product-card');
|
1852 |
+
const indicators = document.querySelectorAll('.indicator');
|
1853 |
+
const prevButton = document.querySelector('.control-btn.prev');
|
1854 |
+
const nextButton = document.querySelector('.control-btn.next');
|
1855 |
+
|
1856 |
+
// 当前显示的卡片索引
|
1857 |
+
let currentIndex = 0;
|
1858 |
+
|
1859 |
+
// 更新显示状态的函数
|
1860 |
+
function updateDisplay() {
|
1861 |
+
// 隐藏所有卡片并移除所有指示器的激活状态
|
1862 |
+
productCards.forEach(card => card.classList.remove('active'));
|
1863 |
+
indicators.forEach(indicator => indicator.classList.remove('active'));
|
1864 |
+
|
1865 |
+
// 显示当前卡片并激活对应的指示器
|
1866 |
+
productCards[currentIndex].classList.add('active');
|
1867 |
+
indicators[currentIndex].classList.add('active');
|
1868 |
+
}
|
1869 |
+
|
1870 |
+
// 下一张卡片
|
1871 |
+
function showNext() {
|
1872 |
+
currentIndex = (currentIndex + 1) % productCards.length;
|
1873 |
+
updateDisplay();
|
1874 |
+
}
|
1875 |
+
|
1876 |
+
// 上一张卡片
|
1877 |
+
function showPrev() {
|
1878 |
+
currentIndex = (currentIndex - 1 + productCards.length) % productCards.length;
|
1879 |
+
updateDisplay();
|
1880 |
+
}
|
1881 |
+
|
1882 |
+
// 绑定点击事件
|
1883 |
+
nextButton.addEventListener('click', showNext);
|
1884 |
+
prevButton.addEventListener('click', showPrev);
|
1885 |
+
|
1886 |
+
// 为指示器添加点击事件
|
1887 |
+
indicators.forEach((indicator, index) => {
|
1888 |
+
indicator.addEventListener('click', () => {
|
1889 |
+
currentIndex = index;
|
1890 |
+
updateDisplay();
|
1891 |
+
});
|
1892 |
+
});
|
1893 |
+
|
1894 |
+
// 自动轮播
|
1895 |
+
let autoplayInterval;
|
1896 |
+
|
1897 |
+
function startAutoplay() {
|
1898 |
+
autoplayInterval = setInterval(showNext, 5000); // 每5秒切换一次
|
1899 |
+
}
|
1900 |
+
|
1901 |
+
function stopAutoplay() {
|
1902 |
+
clearInterval(autoplayInterval);
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
// 鼠标进入停止自动轮播,离开恢复
|
1906 |
+
const productShowcase = document.querySelector('.product-showcase');
|
1907 |
+
productShowcase.addEventListener('mouseenter', stopAutoplay);
|
1908 |
+
productShowcase.addEventListener('mouseleave', startAutoplay);
|
1909 |
+
|
1910 |
+
// 初始化显示和自动轮播
|
1911 |
+
updateDisplay();
|
1912 |
+
startAutoplay();
|
1913 |
+
</script>
|
1914 |
+
</body>
|
1915 |
+
</html>
|