-
Notifications
You must be signed in to change notification settings - Fork 623
Expand file tree
/
Copy pathsqlbot-assistant-demo.html
More file actions
593 lines (529 loc) · 15.1 KB
/
sqlbot-assistant-demo.html
File metadata and controls
593 lines (529 loc) · 15.1 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>优购电商 - 您的一站式购物平台</title>
<style>
/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Arial", "Microsoft YaHei", sans-serif;
}
/* 滚动条样式 */
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(255, 107, 107, 0.5);
border-radius: 4px;
opacity: 0;
transition: opacity 0.3s;
}
:hover::-webkit-scrollbar-thumb,
:focus::-webkit-scrollbar-thumb,
:active::-webkit-scrollbar-thumb {
opacity: 1;
}
::-webkit-scrollbar-thumb:hover {
background-color: #ff6b6b;
}
body {
color: #333;
line-height: 1.6;
scrollbar-width: thin;
scrollbar-color: rgba(255, 107, 107, 0.5) transparent;
}
a {
text-decoration: none;
color: inherit;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* 导航栏 */
header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #ff6b6b;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 30px;
}
.nav-links a:hover {
color: #ff6b6b;
}
.mobile-menu {
display: none;
font-size: 24px;
cursor: pointer;
}
/* 英雄区域 */
.hero {
background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
color: white;
padding: 80px 0;
text-align: center;
}
.hero h1 {
font-size: 48px;
margin-bottom: 20px;
}
.hero p {
font-size: 20px;
max-width: 700px;
margin: 0 auto 30px;
}
.btn {
display: inline-block;
background-color: #ff6b6b;
color: white;
padding: 12px 30px;
border-radius: 30px;
font-weight: bold;
transition: all 0.3s;
}
.btn:hover {
background-color: #ff5252;
transform: translateY(-3px);
}
/* 特色服务 */
.features {
padding: 80px 0;
}
.section-title {
text-align: center;
margin-bottom: 50px;
}
.section-title h2 {
font-size: 36px;
color: #333;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.feature-card {
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
text-align: center;
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
}
.feature-icon {
font-size: 50px;
color: #ff6b6b;
margin-bottom: 20px;
}
.feature-card h3 {
margin-bottom: 15px;
font-size: 22px;
}
/* 热门产品 */
.products {
padding: 80px 0;
background-color: #f9f9f9;
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.product-card {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s;
}
.product-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.product-img {
height: 200px;
overflow: hidden;
}
.product-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.product-card:hover .product-img img {
transform: scale(1.1);
}
.product-info {
padding: 20px;
}
.product-info h3 {
margin-bottom: 10px;
}
.price {
color: #ff6b6b;
font-weight: bold;
font-size: 18px;
margin: 15px 0;
}
/* 客户评价 */
.testimonials {
padding: 80px 0;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.testimonial-card {
background-color: white;
border-radius: 10px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.testimonial-text {
font-style: italic;
margin-bottom: 20px;
}
.client-info {
display: flex;
align-items: center;
}
.client-img {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
margin-right: 15px;
}
.client-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* 页脚 */
footer {
background-color: #333;
color: white;
padding: 60px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
margin-bottom: 20px;
font-size: 18px;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 10px;
}
.footer-links a:hover {
color: #ff6b6b;
}
.social-links {
display: flex;
gap: 15px;
}
.social-links a {
display: inline-block;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
text-align: center;
line-height: 40px;
transition: all 0.3s;
}
.social-links a:hover {
background-color: #ff6b6b;
transform: translateY(-5px);
}
.copyright {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 14px;
}
/* 响应式设计 */
@media (max-width: 768px) {
.nav-links {
display: none;
}
.mobile-menu {
display: block;
}
.hero h1 {
font-size: 36px;
}
.hero p {
font-size: 18px;
}
}
</style>
<script
async
defer
id="sqlbot-assistant-float-script-7356228649239973888"
src="https://sqlbot.fit2cloud.cn/assistant.js?id=7356228649239973888"></script>
</head>
<body>
<!-- 导航栏 -->
<header>
<div class="container">
<nav class="navbar">
<a href="#" class="logo">优购电商</a>
<ul class="nav-links">
<li><a href="#">首页</a></li>
<li><a href="#">商品分类</a></li>
<li><a href="#">热销商品</a></li>
<li><a href="#">关于我们</a></li>
<li><a href="#">联系我们</a></li>
</ul>
<div class="mobile-menu">☰</div>
</nav>
</div>
</header>
<!-- 英雄区域 -->
<section class="hero">
<div class="container">
<h1>发现优质商品,享受便捷购物</h1>
<p>
优购电商为您提供海量正品商品,全场包邮,7天无理由退换货,让您购物无忧
</p>
<a href="#" class="btn">立即购物</a>
</div>
</section>
<!-- 特色服务 -->
<section class="features">
<div class="container">
<div class="section-title">
<h2>我们的优势</h2>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">🚚</div>
<h3>快速配送</h3>
<p>全国300+城市次日达,部分地区可实现当日送达</p>
</div>
<div class="feature-card">
<div class="feature-icon">🔒</div>
<h3>正品保障</h3>
<p>所有商品100%正品,假一赔十,购物更放心</p>
</div>
<div class="feature-card">
<div class="feature-icon">💯</div>
<h3>无忧售后</h3>
<p>7天无理由退换货,专业客服团队24小时在线服务</p>
</div>
</div>
</div>
</section>
<!-- 热门产品 -->
<section class="products">
<div class="container">
<div class="section-title">
<h2>热门商品</h2>
</div>
<div class="product-grid">
<div class="product-card">
<div class="product-img">
<img
src="https://images.unsplash.com/photo-1523275335684-37898b6baf30?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
alt="智能手表"
/>
</div>
<div class="product-info">
<h3>智能手表 Pro</h3>
<p>多功能健康监测,超长续航</p>
<div class="price">¥899</div>
<a href="#" class="btn">加入购物车</a>
</div>
</div>
<div class="product-card">
<div class="product-img">
<img
src="https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
alt="无线耳机"
/>
</div>
<div class="product-info">
<h3>无线降噪耳机</h3>
<p>主动降噪,Hi-Fi音质</p>
<div class="price">¥599</div>
<a href="#" class="btn">加入购物车</a>
</div>
</div>
<div class="product-card">
<div class="product-img">
<img
src="https://images.unsplash.com/photo-1561154464-82e9adf32764?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
alt="投影仪"
/>
</div>
<div class="product-info">
<h3>便携式投影仪</h3>
<p>1080P高清,内置电池</p>
<div class="price">¥1299</div>
<a href="#" class="btn">加入购物车</a>
</div>
</div>
<div class="product-card">
<div class="product-img">
<img
src="https://images.unsplash.com/photo-1561154464-82e9adf32764?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
alt="空气炸锅"
/>
</div>
<div class="product-info">
<h3>智能空气炸锅</h3>
<p>无油健康烹饪,大容量</p>
<div class="price">¥399</div>
<a href="#" class="btn">加入购物车</a>
</div>
</div>
</div>
</div>
</section>
<!-- 客户评价 -->
<section class="testimonials">
<div class="container">
<div class="section-title">
<h2>客户评价</h2>
</div>
<div class="testimonial-grid">
<div class="testimonial-card">
<div class="testimonial-text">
"在优购电商购物体验非常好,商品质量有保障,物流速度也很快,客服态度也很专业,会继续支持!"
</div>
<div class="client-info">
<div class="client-img">
<img
src="https://randomuser.me/api/portraits/women/44.jpg"
alt="张女士"
/>
</div>
<div>
<h4>张女士</h4>
<p>上海</p>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="testimonial-text">
"第一次在优购买东西就爱上了这个平台,价格实惠,经常有活动,退换货也很方便,强烈推荐!"
</div>
<div class="client-info">
<div class="client-img">
<img
src="https://randomuser.me/api/portraits/men/32.jpg"
alt="李先生"
/>
</div>
<div>
<h4>李先生</h4>
<p>北京</p>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="testimonial-text">
"对比了好几个电商平台,最后还是选择优购,商品种类齐全,售后服务有保障,购物很放心。"
</div>
<div class="client-info">
<div class="client-img">
<img
src="https://randomuser.me/api/portraits/women/65.jpg"
alt="王小姐"
/>
</div>
<div>
<h4>王小姐</h4>
<p>广州</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- 页脚 -->
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-column">
<h3>关于优购</h3>
<ul class="footer-links">
<li><a href="#">公司简介</a></li>
<li><a href="#">招贤纳士</a></li>
<li><a href="#">联系我们</a></li>
<li><a href="#">隐私政策</a></li>
</ul>
</div>
<div class="footer-column">
<h3>购物指南</h3>
<ul class="footer-links">
<li><a href="#">购物流程</a></li>
<li><a href="#">会员介绍</a></li>
<li><a href="#">常见问题</a></li>
<li><a href="#">联系客服</a></li>
</ul>
</div>
<div class="footer-column">
<h3>配送方式</h3>
<ul class="footer-links">
<li><a href="#">上门自提</a></li>
<li><a href="#">211限时达</a></li>
<li><a href="#">配送服务查询</a></li>
<li><a href="#">配送费收取标准</a></li>
</ul>
</div>
<div class="footer-column">
<h3>关注我们</h3>
<p>订阅我们的电子报,获取最新优惠信息</p>
<div class="social-links">
<a href="#">微</a>
<a href="#">微</a>
<a href="#">抖</a>
<a href="#">快</a>
</div>
</div>
</div>
<div class="copyright">
<p>© 2023 优购电商 版权所有 | ICP备案号:京ICP备XXXXXXXX号</p>
</div>
</div>
</footer>
</body>
</html>