-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
258 lines (246 loc) · 10.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="pragma" content="no-cache" />
<meta name="keywords" content="农产品 网购" />
<meta name="description" content="fyus编写,农贸商城" />
<meta name="author" content="fyus" />
<meta name="robots" content="all" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<!--<meta name="viewport" content="initial-scale=1, maximum-scale=1">-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>泱农易购,农贸商城</title>
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/light7.css">
<script src="./js/zepto.min.js"></script>
<script src="./js/zepto.animate.js"></script>
</head>
<body>
<div class="page">
<!-- nav-->
<header class="bar bar-nav ">
<a href="#" class="open-panel pull-left button-nav button-link" >
<span class="icon icon-menu color-nong"></span>
</a>
<h1 class="title color-nong">泱农易购,农贸商城</h1>
<a href="#" class="pull-right button-nav button-link" >
<span class="icon icon-search color-nong"></span>
</a>
</header>
<!-- Toolbar-->
<nav class="bar bar-tab">
<a class="tab-item external active" href="#">
<span class="icon icon-home"></span>
<span class="tab-label">首页</span>
</a>
<a class="tab-item external" href="http://ogb4bjgm6.bkt.clouddn.com/">
<span class="icon icon-app"></span>
<span class="tab-label">电脑版</span>
</a>
<a class="tab-item external" href="./shopCar.html">
<span class="icon icon-cart"></span>
<span class="tab-label">购物车</span>
<span class="badge">0</span>
</a>
<a class="tab-item external" href="./me.html">
<span class="icon icon-me"></span>
<span class="tab-label">我的</span>
</a>
</nav>
<div class="content infinite-scroll pull-to-refresh-content" data-distance="100" data-ptr-distance="55">
<!--上来刷新-->
<div class="pull-to-refresh-layer">
<div class="preloader"></div>
<div class="pull-to-refresh-arrow"></div>
</div>
<!--主要内容-->
<div class="content-main">
<div class="list-block swiper">
<ul class="swiper-ul">
<li><a href="#"><img src="http://odji6lyqv.bkt.clouddn.com/jian0.jpg"></a></li>
<li><a href="#"><img src="http://odji6lyqv.bkt.clouddn.com/jian1.jpg"></a></li>
<li><a href="#"><img src="http://odji6lyqv.bkt.clouddn.com/jian2.jpg"></a></li>
<li><a href="#"><img src="http://odji6lyqv.bkt.clouddn.com/jian3.jpg"></a></li>
<li><a href="#"><img src="http://odji6lyqv.bkt.clouddn.com/jian0.jpg"></a></li>
</ul>
<ul class="xiaoyuan">
<li class="xiaoyuan1"><a>1</a></li>
<li><a>2</a></li>
<li><a>3</a></li>
<li><a>4</a></li>
</ul>
</div>
<div class="qianggou">
<div class="qianggo-title">
<span class="title0">限时抢购</span>
<span class="title1">还剩下</span>
<ul class="time-1">
<!--<li>9</li>-->
<!--<li>8</li>-->
<!--<li>7</li>-->
<!--<li>6</li>-->
<!--<li>5</li>-->
<!--<li>4</li>-->
<!--<li>3</li>-->
<li>0</li>
<li>1</li>
<li>2</li>
</ul>
<ul class="time-2">
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
</ul>
<span class="title2">:</span>
<ul class="time-3">
<!--<li>9</li>-->
<!--<li>8</li>-->
<!--<li>7</li>-->
<!--<li>6</li>-->
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
<ul class="time-4">
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
</ul>
<span class="title3">:</span>
<ul class="time-5">
<!--<li>9</li>-->
<!--<li>8</li>-->
<!--<li>7</li>-->
<!--<li>6</li>-->
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
<ul class="time-6">
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
</ul>
<span class="title4">结束</span>
</div>
<div class="qianggo-mian">
<ul class="qianggo-itemul">
<li class="qianggo-itemli">
<a class="qianggo-itema" href="#" title="冠锦 无核西梅干 255g ¥36">
<span class="qianggo-img">
<img src="http://odji6lyqv.bkt.clouddn.com/001.png" >
</span>
<p class="item-name">冠锦西梅干 255g</p>
</a>
</li>
<li class="qianggo-itemli">
<a class="qianggo-itema" href="#" title="可康 芒果味果冻420g*5 ¥52">
<span class="qianggo-img"><img src="http://odji6lyqv.bkt.clouddn.com/003.png"></span>
<p class="item-name">冠锦 无核西梅干</p>
</a>
</li>
<li class="qianggo-itemli">
<a class="qianggo-itema" href="#" title="英伯伦 富士苹果 25g ¥1.5">
<span class="qianggo-img"><img src="http://odji6lyqv.bkt.clouddn.com/002.png"></span>
<p class="item-name">无核西梅干 255g</p>
</a>
</li>
</ul>
</div>
</div>
<div class="list-block-max titleBackground">推荐</div>
<div class="list-block media-list">
<ul class="maxW"></ul>
</div>
</div>
<!-- 下拉刷新 -->
<div class="infinite-scroll-preloader">
<div class="preloader"></div>
</div>
</div>
</div>
<!-- popup, panel 等放在这里 -->
<div class="panel-overlay">
</div>
<!--侧边栏-->
<div class="panel panel-left panel-reveal">
<div class="content-l">
<p><a href="#" class="close-panel color-white">我的</a></p>
<p><a href="#" class="close-panel color-white">购物车</a></p>
<p><a href="#" class="close-panel color-white">收藏</a></p>
<p><a href="#" class="close-panel color-white">分享</a></p>
<p><a href="#" class="close-panel color-white ">设置</a></p>
<p><a href="#" class="close-panel color-white">返回</a></p>
</div>
</div>
<script type="text/template" id="group_list">
{@if (groupList.length>0)}
{@each groupList as it}
<li>
<a href="shopItem.html?pageName=shopItem&orderId=${it.orderNum}" class="item-link item-content external">
<div class="item-media">
<img id="itemIDimg${it.orderNum}" class="itemClassimg" src="${it.smallpic}" onerror="this.onerror=null; this.src='http://odji6lyqv.bkt.clouddn.com/h5Img-0.png'" style="width: 4rem;">
</div>
<div class="item-inner">
<div class="item-title-row">
<div class="item-title">${it.title}</div>
<div class="item-after" style="color:#ff871b"><div class="item-rmb">¥</div>${it.price}</div>
</div>
<div class="item-subtitle">${it.subtitle}</div>
<div class="groupText" style="color:${it.color}">${it.text}</div>
<div class="groupBuy" data-obj="${it|item_data}">加入购物车</div>
</div>
</a>
</li>
{@/each}
{@else}
没有任何数据...
{@/if}
</script>
<script type="text/template" id="group_last">
<li class="groupLast">
没有更多
</li>
</script>
<script>
$.config = {
autoInit: true
}
</script>
<script src=./js/light7.js></script>
<script src=./js/juicer-min.js></script>
<!--<script src=./js/vue.js></script>-->
<script src=./js/stroe/app.js></script>
<script src=js/stroe/main.js></script>
</body>
</html>