index.html
8.22 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="user-scalable=0, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta content="telephone=no" name="format-detection" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>农丰网</title>
<!-- css -->
<link rel="stylesheet" href="../css/style/common-2.0.css">
<!-- base seajs -->
<script src="http://static.nong12.com/static/newStatic/common/js/base/sea.js"></script>
<script src="../js/javascript/common/config.js"></script>
</head>
<body>
<!-- 主体 -->
<div class="m-page" data-role="page" id="indexPage">
<!-- private css -->
<link rel="stylesheet" href="../css/style/idangerous.swiper.css">
<link rel="stylesheet" href="../css/style/index.css">
<!-- <header class="m-header header-search header-home">
<div class="head">
<span class="lt-bar"><i class="m-icon icon-logo-app"></i></span>
<div class="search-box h-search">
<i class="m-icon icon-search-w"></i>请输入关键字
</div>
</div>
</header> -->
<!-- header -->
<header class="m-header header-search header-home border-1px border-bottom">
<div class="head">
<a href="#" class="lt-bar"><i class="m-icon icon-logo-app"></i></a>
<a href="#" class="search-box">
<i class="m-icon icon-search-w float-left"></i>
<div class="input-wrap">
<span class="m-input font-white">请输入关键字</span>
</div>
</a>
</div>
</header>
<div class="banner" id="banner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<a data-ajax="false" class="swiper-slide" href="$pic.linkUrl?source=wap" style="background:url(../temp/banner1.png) center center no-repeat; background-size:100%;"></a>
<a data-ajax="false" class="swiper-slide" href="$pic.linkUrl?source=wap" style="background:url(../temp/banner2.png) center center no-repeat; background-size:100%;"></a>
<a data-ajax="false" class="swiper-slide" href="$pic.linkUrl?source=wap" style="background:url(../temp/banner3.png) center center no-repeat; background-size:100%;"></a>
<a data-ajax="false" class="swiper-slide" href="$pic.linkUrl?source=wap" style="background:url(../temp/banner4.png) center center no-repeat; background-size:100%;"></a>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<div class="swiper-pagination"><span class="swiper-pagination-switch"></span><span class="swiper-pagination-switch"></span><span class="swiper-pagination-switch swiper-visible-switch swiper-active-switch"></span><span class="swiper-pagination-switch"></span></div>
</div>
</div>
<ul class="menu border-1px border-bottom">
<li><a href="#"><i class="m-icon icon-pfsc"></i>批发市场</a></li>
<li><a href="#"><i class="m-icon icon-cdzg"></i>产地直供</a></li>
<li><a href="#"><i class="m-icon icon-tcls"></i>同城零售</a></li>
<li><a href="#"><i class="m-icon icon-nhzy"></i>农户自营</a></li>
<li><a href="#"><i class="m-icon icon-gqxx"></i>供求信息</a></li>
<li><a href="#"><i class="m-icon icon-yqxx"></i>预售信息</a></li>
<li><a href="#"><i class="m-icon icon-jhd"></i>进货单</a></li>
<li><a href="#"><i class="m-icon icon-wdnf"></i>我的农丰</a></li>
</ul>
<div class="news border-1px border-bottom">
<i class="m-icon icon-information float-left title"></i>
<ul>
<li><i class="m-icon icon-new"></i> 今日成交订单3008个</li>
</ul>
</div>
<div class="category-section clearfix">
<h3 class="font-green">蔬菜</h3>
<ul class="top clearfix">
<li><a href="#" style="background:url(../temp/banner1.png) no-repeat; background-size: cover;"></a></li>
<li><a href="#" style="background:url(../temp/banner2.png) no-repeat; background-size: cover;"></a></li>
</ul>
<ul class="items border-1px border-top">
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-dou-jiao"></i>豆角</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-hua-cai"></i>花菜</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-mo-gu"></i>蘑菇</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-da-suan"></i>蒜</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-yang-cong"></i>洋葱</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-tu-dou"></i>土豆</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-luo-bo"></i>萝卜</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-pro-more"></i>更多</a>
</li>
</ul>
</div>
<!-- 水果 -->
<div class="category-section fruit-section clearfix">
<h3 class="font-orange">水果</h3>
<ul class="top clearfix">
<li><a href="#" style="background:url(../temp/banner3.png) no-repeat; background-size: cover;"></a></li>
<li><a href="#" style="background:url(../temp/banner4.png) no-repeat; background-size: cover;"></a></li>
</ul>
<ul class="items border-1px border-top">
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-ping-guo"></i>苹果</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-cao-mei"></i>草莓</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-xiang-jiao"></i>香蕉</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-pu-tao"></i>葡萄</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-ying-tao"></i>樱桃</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-xue-li"></i>梨</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-tao-zi"></i>桃子</a>
</li>
<li class="item border-1px-full">
<a href="#"><i class="m-icon icon-pro-more"></i>更多</a>
</li>
</ul>
</div>
<!-- 搜索 -->
<div class="s-page">
<header class="m-header header-search">
<div class="head">
<span class="lt-bar m-icon icon-back white"></span>
<span class="m-dropdown">
<span class="search-type-box current">商品</span>
<ul class="dropdown-items">
<li class="item"><a href="javascript:;"><i class="m-icon icon-bag"></i>商品</a></li>
<li class="item"><a href="javascript:;"><i class="m-icon icon-shop"></i>店铺</a></li>
</ul>
</span>
<div class="search-box">
<div class="input-wrap">
<input type="text" id="search-val" class="m-input" placeholder="请输入关键字" autocomplete="off">
</div>
</div>
<a href="/goods/searchByKeyword.do" ohref="/shop/getByKey.do" class="rt-bar text" id="search-btn">搜索</a>
</div>
</header>
<div class="content search-list" id="cotent">
<!-- 搜索历史开始 -->
<ul class="m-table-view"></ul>
<!-- 搜索历史结束 -->
<div class="m-no-data m-hide">
<div class="no-data-icon"></div>
<p>未查找到相关数据</p>
</div>
<div class="clear-history m-hide">
<span class="m-btn">清空历史记录</span>
</div>
</div>
</div>
<!-- app download -->
<div class="to-app-box">
<div class="to-app-bg clearfix">
<div class="ll">
<span class="app-close"></span><span class="app-logo"></span><div class="app-info">下载农丰网APP<p>随时随地做生意</p></div>
</div>
<span class="app-download rr" id="applink"></span>
</div>
</div>
<script type="text/template" id="productCategorysTmpl">
<%_.each(productCategorys, function(item){%>
<li>
<a href="/category/getSecondCategory.do?id=<%=item.Id%>">
<img src="<%=item.imgUrl%>"><div class="desc">
<%=item.Name%><p><%=descText[item.Name] || '提供'+item.Name+'商品等'%></p>
</div>
</a>
</li>
<%})%>
</script>
<script>
seajs.use(['/js/javascript/index/index']);
</script>
</div>
</body>
</html>