index.html 8.22 KB
<!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>