-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
261 lines (253 loc) · 10.2 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
<!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>墨米商城</title>
<!-- 引入页签图标 -->
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<!-- 引入字体图标 -->
<link rel="stylesheet" href="./fa/css/all.css">
<!-- 引入默认样式 -->
<link rel="stylesheet" href="./css/reset.css">
<!-- 引入基础样式 -->
<link rel="stylesheet" href="./css/base.css">
<!-- 引入专属样式 -->
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 顶部导航条 -->
<div class="topbar">
<div class="container">
<ul class="service">
<li><a href="javascript:;">墨米商城</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">墨品优选</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">云服务</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">金融</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">开放平台</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">企业团购</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">资质证照</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">协议规则</a></li>
<li><span class="separate"></span></li>
<li class="code">
<a href="javascript:;">
扫码下载
<div class="download">
<img src="./images/download.png" alt="扫码下载">
<span>扫码下载</span>
</div>
</a>
</li>
</ul>
<ul class="welcome">
<li><a href="javascript:;">登录</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">注册</a></li>
<li><span class="separate"></span></li>
<li><a href="javascript:;">消息</a></li>
<li class="cart"><a href="javascript:;"><i class="fas fa-shopping-cart"></i> 购物车(0)</a></li>
</ul>
</div>
</div>
<!-- 头部导航栏 -->
<div class="header">
<div class="container">
<h1 class="logo" title="墨米商城">
<span>墨米商城</span>
<a href="javascript:;">
<img src="./images/logo.png" alt="墨米商城">
</a>
</h1>
<ul class="nav">
<li class="whole">
<a href="javascript:;">全部商品分类</a>
<div>
<ul class="kinds">
<li class="kind"><a href="javascript:;">手机<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">电视<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">家电<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">笔记本 平板<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">出行 穿戴<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">耳机 音响<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">健康 儿童<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">生活 箱包<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">智能 路由器<i class="fas fa-chevron-right"></i></a></li>
<li class="kind"><a href="javascript:;">电源 配件<i class="fas fa-chevron-right"></i></a></li>
<div class="sorts">
<ul class="sort">
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>插排</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>充电器</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>数据线</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>移动电源</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>电池</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>手机壳</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>手机贴膜</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="./images/info.png" alt="品类商品">
<span>其他配件</span>
</a>
</li>
</ul>
</div>
</ul>
</div>
</li>
<li class="show"><a href="javascript:;">手机</a></li>
<li class="show"><a href="javascript:;">手表</a></li>
<li class="show"><a href="javascript:;">电视</a></li>
<li class="show"><a href="javascript:;">家电</a></li>
<li class="show"><a href="javascript:;">平板</a></li>
<li class="show"><a href="javascript:;">笔记本</a></li>
<li class="show"><a href="javascript:;">路由器</a></li>
<li><a href="javascript:;">服务</a></li>
<li><a href="javascript:;">社区</a></li>
<div class="hot">
<ul>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
<li>
<a class="info" href="javascript:;">
<img src="./images/info.png" alt="热门商品">
<span>电视</span>
<span class="price">199元起</span>
</a>
</li>
</ul>
</div>
</ul>
<div class="search">
<form action="#">
<input type="text" name="search" id="search" placeholder="搜索">
<ul>
<li><a href="javascript:;">电脑</a></li>
<li><a href="javascript:;">手机</a></li>
<li><a href="javascript:;">手表</a></li>
</ul>
<button type="button" title="搜索"><i class="fas fa-search"></i></button>
</form>
</div>
</div>
</div>
<!-- 轮播内容区 -->
<div class="banner">
<div class="container">
<ul>
<li><a href="javascript:;"><img src="./images/banner.jpg" alt="轮播图片"></a></li>
</ul>
<div class="pointer">
<a class="active" href="javascript:;"></a>
<a href="javascript:;"></a>
</div>
<div class="arrow">
<a class="prev" href="javascript:;"></a>
<a class="next" href="javascript:;"></a>
</div>
</div>
</div>
<!-- 侧边工具条 -->
<div class="sidebar">
<a href="javascript:;"><i class="fas fa-mobile"></i></a>
<a href="javascript:;"><i class="fas fa-user"></i></a>
<a href="javascript:;"><i class="fas fa-tools"></i></a>
<a href="javascript:;"><i class="fas fa-headset"></i></a>
<a href="javascript:;"><i class="fas fa-shopping-cart"></i></a>
</div>
<!-- 促销活动栏 -->
<div class="promotions">
<div class="container">
<ul class="tools">
<li><a href="javascript:;"><i class="fas fa-clock"></i>保障服务</a></li>
<li><a href="javascript:;"><i class="fas fa-building"></i>企业团购</a></li>
<li><a href="javascript:;"><i class="fas fa-hashtag"></i>会员权益</a></li>
<li><a href="javascript:;"><i class="fas fa-exchange-alt"></i>以旧换新</a></li>
<li><a href="javascript:;"><i class="fas fa-sim-card"></i>话费充值</a></li>
<li><a href="javascript:;"><i class="fas fa-hands"></i>公益支持</a></li>
</ul>
<ul class="wares">
<li><a href="javascript:;"><img src="./images/ware.png" alt="促销商品"></a></li>
<li><a href="javascript:;"><img src="./images/ware.png" alt="促销商品"></a></li>
<li><a href="javascript:;"><img src="./images/ware.png" alt="促销商品"></a></li>
</ul>
</div>
</div>
<!-- 显示占用栏 -->
<div class="test"></div>
</body>
</html>