-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
519 lines (475 loc) · 21.1 KB
/
index.html
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SmartisanMail</title>
<link rel="shortcut icon" href="//static.smartisanos.cn/common/img/favicon.ico">
<link rel="stylesheet" href="fonts/iconfont.css">
<link rel="stylesheet" href="css/public.css" media="all and (max-width:1200px)">
<link rel="stylesheet" href="css/mobile.css" media="all and (max-width:1200px)">
<link rel="stylesheet" href="css/pc.css" media="all and (min-width:480px) and (max-width:1200px)" )>
<link rel="stylesheet" href="css/max.css" media="all and (min-width:1200px)">
<style>
a {
color: #fff;
text-decoration: none;
}
</style>
</head>
<body>
<!-- 移动端 -->
<div class="container">
<div class="search">
<div class="input">
<input id="search-input" type="text" placeholder="请输入搜索关键字">
<span class="iconfont"></span>
</div>
</div>
<div class="content">
<!-- 轮播图 -->
<!-- <div class="slideshow2">
<div class="slideshowImg2">
<img src="img/BAN1.jpg" alt="">
<img src="img/BAN2.jpg" alt="">
<img src="img/BAN3.png" alt="">
</div>
<div class="pointBox2">
<div class="item2"></div>
<div class="item2"></div>
<div class="item2"></div>
</div>
<div class="btn2">
<div class="item2"><span class="iconfont"></span></div>
<div class="item2"><span class="iconfont"></span></div>
</div>
</div> -->
<div style="height: 45px;width:100%"></div>
<div class="goods0">
<div class="goods0-0">
<div class="banner">
<img src="img/ban1.webp" alt="">
</div>
<div class="goods0-1">
<div class="goods">
<img src="img/goods1.webp" alt="">
</div>
<div class="goods">
<img src="img/goods2.webp" alt="">
</div>
<div class="goods">
<img src="img/goods3.webp" alt="">
</div>
<div class="goods">
<img src="img/goods4.webp" alt="">
</div>
</div>
</div>
</div>
<div class="goods0">
<div class="goods0-0">
<div class="banner">
<img src="img/ban2.webp" alt="">
</div>
<div class="goods0-1">
<div class="goods">
<img src="img/goodsb1.webp" alt="">
</div>
<div class="goods">
<img src="img/goodsb2.webp" alt="">
</div>
<div class="goods">
<img src="img/goodsb3.webp" alt="">
</div>
<div class="goods">
<img src="img/goodsb4.webp" alt="">
</div>
</div>
</div>
</div>
<!-- 商品推荐 -->
<div class="goods1">
<div class="title">更多商品</div>
<div class="goods1-1">
<!-- 左边 -->
<div class="goods1-1-item">
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g1.webp" alt="">
</div>
<div class="title">坚果 R2</div>
<div class="price">¥2699</div>
</div>
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g3.webp" alt="">
</div>
<div class="title">Smartisan TNT go</div>
<div class="price">¥1699</div>
</div>
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g5.webp" alt="">
</div>
<div class="title">Smartisan 智能手写笔</div>
<div class="price">¥499</div>
</div>
</div>
<!-- 右边 -->
<div class="goods1-1-item">
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g2.webp" alt="">
</div>
<div class="title">Smartisan TNT 大满足套装</div>
<div class="price">¥3999</div>
</div>
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g2.webp" alt="">
</div>
<div class="title">Smartisan 真无线蓝牙耳机(抖音文创限量款)</div>
<div class="price">¥299</div>
</div>
<div class="goods1-1-item1">
<div class="img-box">
<img src="img/g6.webp" alt="">
</div>
<div class="title">足迹保护套 人类首次公开使用乙醚 for iPhone 11</div>
<div class="price">¥29</div>
</div>
</div>
</div>
</div>
<div style="height: 60px;width: 100%;"></div>
</div>
<div class="nav-bottom">
<div class="item">
<span class="iconfont"></span>
<p>首页</p>
</div>
<div class="item">
<span class="iconfont"></span>
<p>分类</p>
</div>
<div class="item">
<span class="iconfont"></span>
<p>购物车</p>
</div>
<div class="item">
<span class="iconfont"></span>
<p>个人中心</p>
</div>
</div>
</div>
<!-- pc -->
<div class="pc">
<div class="header">
<div class="nav1">
<div class="logo"><span class="iconfont"></span></div>
<div class="nav1-box">
<div class="item">在线商城</div>
<div class="item" onclick="toDetail()">坚果R2</div>
<div class="item" onclick="toNone()">Smartisan TNT go</div>
<div class="item" onclick="toNone()">坚果TNT工作站</div>
<div class="item" onclick="toNone()">Smartisan</div>
<div class="item" onclick="toNone()">欢喜云</div>
<div class="item" onclick="toNone()">论坛</div>
<div class="item" onclick="toNone()">开发者支持</div>
<div class="item" onclick="toNone()">荣誉与奖项</div>
</div>
<div class="btn">
<div class="item" onclick="toPerson()">
<span class="iconfont"></span>
<div class="items">
<div onclick="my()">我的</div>
<div onclick="exitLogin()">退出登录</div>
</div>
</div>
<div class="item" onclick="toCart()"><span class="iconfont"></span></div>
</div>
</div>
<div class="nav2">
<div class="nav2-box">
<div class="nav2-item-box">
<div class="item">首页</div>
<div class="item">坚果手机</div>
<div class="item">TNT</div>
<div class="item">官方自营</div>
<div class="item">服务</div>
</div>
<div class="search">
<div class="input-box">
<input type="text">
<div class="search-key">
<div class="key-item">坚果R2</div>
<div class="key-item">TNT</div>
</div>
<div class="icon"><span class="iconfont"></span></div>
</div>
</div>
</div>
<div class="nav2-second">
<div class="second">
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g1.webp" alt="">
</div>
<div class="title">手机</div>
</div>
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g2.webp" alt="">
</div>
<div class="title">TNT全家桶</div>
</div>
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g3.webp" alt="">
</div>
<div class="title">TNT go</div>
</div>
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g4.webp" alt="">
</div>
<div class="title">耳机</div>
</div>
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g6.webp" alt="">
</div>
<div class="title">官方配件</div>
</div>
</div>
<div class="second">
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g1.webp" alt="">
</div>
<div class="title">坚果 R2</div>
</div>
</div>
<div class="second">
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g2.webp" alt="">
</div>
<div class="title">TNT全家桶</div>
</div>
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/g3.webp" alt="">
</div>
<div class="title">TNT go</div>
</div>
</div>
<div class="second">
<div class="item" onclick="toDetail()">
<div class="item-img">
<img src="img/c1-4-1.webp" alt="">
</div>
<div class="title">显示器</div>
</div>
</div>
<div class="second">
<div class="item">
<div class="item-img">
<img src="img/se1.png" alt="">
</div>
<div class="title">保修服务</div>
</div>
<div class="item">
<div class="item-img">
<img src="img/se2.png" alt="">
</div>
<div class="title">在线服务</div>
</div>
<div class="item">
<div class="item-img">
<img src="img/se3.png" alt="">
</div>
<div class="title">服务政策</div>
</div>
<div class="item">
<div class="item-img">
<img src="img/se4.png" alt="">
</div>
<div class="title">发起售后</div>
</div>
<div class="item">
<div class="item-img">
<img src="img/se5.png" alt="">
</div>
<div class="title">维修门店</div>
</div>
<div class="item">
<div class="item-img">
<img src="img/se6.png" alt="">
</div>
<div class="title">自助服务</div>
</div>
</div>
</div>
</div>
</div>
<div class="content">
<!-- 轮播图 -->
<div class="slideshow">
<div class="slideshowImg">
<img src="img/BAN1.jpg" alt="">
<img src="img/BAN2.jpg" alt="">
<img src="img/BAN3.png" alt="">
</div>
<div class="pointBox">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<div class="btn">
<div class="item"><span class="iconfont"></span></div>
<div class="item"><span class="iconfont"></span></div>
</div>
</div>
<!-- banner1 -->
<div class="banner1">
<div class="item">
<img src="img/ban1-1.webp" alt="">
</div>
<div class="item">
<img src="img/ban1-2.webp" alt="">
</div>
<div class="item">
<img src="img/ban1-3.webp" alt="">
</div>
<div class="item">
<img src="img/ban1-4.webp" alt="">
</div>
</div>
<div class="goods-box">
<div class="top-title">坚果R2及配件</div>
<div class="media-box">
<div class="left"><img src="img/bg1.webp" alt=""></div>
<div class="right">
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-1.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-2.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
</div>
</div>
<div class="bottom-box">
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-3.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-4.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-5.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
<div class="item" onclick="toDetail()">
<div class="img"><img src="img/bg1-6.webp" alt=""></div>
<div class="title">坚果 R2</div>
<p>是下一代手机,更是下一代电脑</p>
<div class="price">¥2,699.00</div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="top">
<div class="top-left">
<div class="item">
<div class="item-title">订单服务</div>
<div class="item-child">
<div class="item1">购买指南</div>
<div class="item1">送货政策</div>
</div>
</div>
<div class="item">
<div class="item-title">服务支持</div>
<div class="item-child">
<div class="item1">自助服务</div>
<div class="item1">维修门店</div>
</div>
</div>
<div class="item">
<div class="item-title">媒体中心</div>
<div class="item-child">
<div class="item1">新闻动态</div>
<div class="item1">官方视频</div>
<div class="item1">图片资源</div>
</div>
</div>
<div class="item">
<div class="item-title">关注我们</div>
<div class="item-child">
<div class="item1">新浪微博</div>
<div class="item1">官方微信</div>
<div class="item1">荣誉奖项</div>
</div>
</div>
</div>
<div class="top-right">
<div class="btn">在线帮助</div>
</div>
</div>
<div class="bottom">
<ul>
<li>Copyright © 2020 smartisan.com 版权所有</li>
<li>锤子商城隐私政策</li>
<li>锤子商城用户协议</li>
<li>资质证照</li>
</ul>
<ul>
<li>京 ICP 备 19048576 号 - 1</li>
<li>京公网安备 11010802033469号</li>
<li>京食药网食备 202010031</li>
</ul>
</div>
</div>
</div>
</body>
<script>
(function () {
let item = document.querySelectorAll('.nav-bottom>.item');
for (let i = 0; i < item.length; i++) {
item[i].onclick = function () {
switch (i) {
case 0:
window.location.href = "index.html";
break
case 1:
window.location.href = "app/category.html";
break
case 2:
window.location.href = "app/category.html";
break
case 3:
window.location.href = "app/person.html";
}
}
}
}());
</script>
<script src="js/index.js"></script>
<script src="js/pc-index.js"></script>
</html>