-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·241 lines (239 loc) · 10.6 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
<!DOCTYPE html>
<html>
<head>
<title>商城首页</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
<link rel="stylesheet" href="lib/weui.min.css">
<link rel="stylesheet" href="css/jquery-weui.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body ontouchstart>
<!--顶部搜索-->
<div class="fixed-index-top"></div>
<header class='weui-header'>
<div class="weui-search-bar scroll-fixed" id="searchBar">
<form class="weui-search-bar__form">
<div class="weui-search-bar__box">
<i class="weui-icon-search"></i>
<input type="search" class="weui-search-bar__input" id="searchInput" placeholder="搜索您想要的商品" required>
<a href="javascript:" class="weui-icon-clear" id="searchClear"></a>
</div>
<label class="weui-search-bar__label" id="searchText" style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);">
<i class="weui-icon-search"></i>
<span>搜索您想要的商品</span>
</label>
</form>
<a href="javascript:" class="weui-search-bar__cancel-btn" id="searchCancel">取消</a>
</div>
</header>
<!--主体-->
<div class='weui-content'>
<!--顶部轮播-->
<div class="swiper-container swiper-banner">
<div class="swiper-wrapper">
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/banner1.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_list.html"><img src="upload/banner2.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/banner3.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_list.html"><img src="upload/banner4.jpg" /></a></div>
</div>
<div class="swiper-pagination"></div>
</div>
<!--图标分类-->
<div class="weui-flex wy-iconlist-box">
<div class="weui-flex__item"><a href="pro_list.html" class="wy-links-iconlist"><div class="img"><img src="images/icon-link1.png"></div><p>车险入口</p></a></div>
<div class="weui-flex__item"><a href="pro_list.html" class="wy-links-iconlist"><div class="img"><img src="images/icon-link2.png"></div><p>酒水专场</p></a></div>
<div class="weui-flex__item"><a href="all_orders.html" class="wy-links-iconlist"><div class="img"><img src="images/icon-link3.png"></div><p>订单管理</p></a></div>
<div class="weui-flex__item"><a href="Settled_in.html" class="wy-links-iconlist"><div class="img"><img src="images/icon-link4.png"></div><p>商家入驻</p></a></div>
</div>
<!--新闻切换-->
<div class="wy-ind-news">
<i class="news-icon-laba"></i>
<div class="swiper-container swiper-news">
<div class="swiper-wrapper">
<div class="swiper-slide"><a href="news_info.html">祝贺互利商城</a></div>
<div class="swiper-slide"><a href="news_info.html">2017季度热销产品</a></div>
<div class="swiper-slide"><a href="news_info.html">积分兑换优惠</a></div>
</div>
<div class="swiper-pagination"></div>
</div>
<a href="news_list.html" class="newsmore"><i class="news-icon-more"></i></a>
</div>
<!--精选推荐-->
<div class="wy-Module">
<div class="wy-Module-tit"><span>精选推荐</span></div>
<div class="wy-Module-con">
<div class="swiper-container swiper-jingxuan" style="padding-top:34px;">
<div class="swiper-wrapper">
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan2.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan3.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan4.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan5.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
</div>
<div class="swiper-pagination jingxuan-pagination"></div>
</div>
</div>
</div>
<!-- 广告 banner -->
<div class="long-pho">
<a href="">
<img src="upload/45.png"/>
</a>
</div>
<!--酒水专场-->
<div class="wy-Module">
<div class="wy-Module-tit"><span>酒水推荐</span></div>
<div class="wy-Module-con">
<div class="swiper-container swiper-jiushui" style="padding-top:34px;">
<div class="swiper-wrapper">
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan2.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan3.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan4.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan5.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan2.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan3.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan4.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan5.jpg" /></a></div>
<div class="swiper-slide"><a href="pro_info.html"><img src="upload/jingxuan1.jpg" /></a></div>
</div>
<div class="swiper-pagination jingxuan-pagination"></div>
</div>
</div>
</div>
<!--猜你喜欢-->
<div class="wy-Module">
<div class="wy-Module-tit-line"><span>猜你喜欢</span></div>
<div class="wy-Module-con">
<ul class="wy-pro-list clear">
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro1.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro2.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro3.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro4.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro5.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
<li>
<a href="pro_info.html">
<div class="proimg"><img src="upload/pro1.jpg"></div>
<div class="protxt">
<div class="name">洋河蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食白酒2瓶装包邮</div>
<div class="wy-pro-pri">¥<span>296.00</span></div>
</div>
</a>
</li>
</ul>
<div class="morelinks"><a href="pro_list.html">查看更多 >></a></div>
</div>
</div>
</div>
<!--底部导航-->
<div class="foot-black"></div>
<div class="weui-tabbar wy-foot-menu">
<a href="index.html" class="weui-tabbar__item weui-bar__item--on">
<div class="weui-tabbar__icon foot-menu-home"></div>
<p class="weui-tabbar__label">首页</p>
</a>
<a href="classify.html" class="weui-tabbar__item">
<div class="weui-tabbar__icon foot-menu-list"></div>
<p class="weui-tabbar__label">分类</p>
</a>
<a href="shopcart.html" class="weui-tabbar__item">
<span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;">8</span>
<div class="weui-tabbar__icon foot-menu-cart"></div>
<p class="weui-tabbar__label">购物车</p>
</a>
<a href="mine.html" class="weui-tabbar__item">
<div class="weui-tabbar__icon foot-menu-member"></div>
<p class="weui-tabbar__label">我的</p>
</a>
</div>
<script src="lib/jquery-2.1.4.js"></script>
<script src="lib/fastclick.js"></script>
<script>
$(function() {
FastClick.attach(document.body);
});
</script>
<script src="js/jquery-weui.js"></script>
<script src="js/swiper.js"></script>
<script>
//banner轮播
$(".swiper-banner").swiper({
loop: true,
autoplay: 3000
});
//新闻滚动
$(".swiper-news").swiper({
loop: true,
direction: 'vertical',
paginationHide :true,
autoplay: 2500
});
//精选图片滑动
$(".swiper-jingxuan").swiper({
pagination: '.swiper-pagination',
loop: true,
paginationType:'fraction',
slidesPerView:3,
paginationClickable: true,
spaceBetween: 2
});
//酒水推荐滑动
$(".swiper-jiushui").swiper({
pagination: '.swiper-pagination',
paginationType:'fraction',
loop: true,
slidesPerView:3,
slidesPerColumn: 2,
paginationClickable: true,
spaceBetween:2
});
</script>
</body>
</html>