<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>创新消费领航者</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="../favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../static/light7/css/light7.min.css">
<link rel="stylesheet" href="../static/css/mobile.style.css">
</head>
<body>
	<div class="page">
		<header class="bar bar-nav">
			<a href="index.html" class="button button-link button-nav pull-left external" 
				data-transition='slide-out'><span
				class="icon icon-left"></span>返回
			</a> <a class="button button-link button-nav pull-right external"
				href="fastord.html" data-transition='slide-out'><span
				class="icon icon-cart"></span>&nbsp;&nbsp; </a>
			<h1 class="title">瞎猫超市</h1>
		</header>
		<nav class="bar bar-tab">
			<a class="tab-item  external" href="index.html"> <span
				class="icon icon-home"></span> <span class="tab-label">同城</span>
			</a> <a class="tab-item  external active" href="market.html"> <span
				class="icon icon-gift"></span> <span class="tab-label">瞎猫</span>
			</a> <a class="tab-item external" href="user.html"> <span
				class="icon icon-me"></span><span class="tab-label">我的</span>
			</a>
		</nav>
		<div class="content infinite-scroll" data-distance="100">
			<div class="buttons-tab" id="firstTabs"></div>
			<div class="content-block">
				<div class="tabs" id="firstTabContent"></div>
			</div>
			<div class="card">
				<div class="card-content">
					<div class="card-content-inner">
						热销商品，同城1至3小时送达,&nbsp; <a href="address.html"
							class='link-title external' style='font-size: 15px;'>收货地址</a>管理
					</div>
				</div>
			</div>
			<div class="list-block cards-list">
				<ul class="list-container">
				</ul>
			</div>

			<div class="infinite-scroll-preloader">
				<div class="preloader"></div>
			</div>
		</div>
	</div>
	<script src='../static/plugins/jquery/jquery-2.2.3.min.js'></script>
	<script src='../static/plugins/jquery/jquery.json.min.js'></script>
	<script src='../static/light7/js/light7.min.js'></script>
	<script src="../static/plugins/artTemplate/js/template.js"></script>
	<script src='../static/common/drain.mobile.js'></script>
	<script src="js/market.js"></script>
	<script type="text/html" id='noprodHtml'>
	<li class="card">
		<div class="card-header">
			友情提示
		</div>
		 <div class="card-content">
			<div class="card-content-inner">
				尊敬的用户，本分类下暂无商品出售，小二正在奋战中，期待您购物愉快
			</div>
		</div>
		<div class="card-footer">
		</div>
	</li>
	</script>
	<script type="text/html" id="productHtml">
	{{each records as prod}}
	<div class="card">
    <div class="card-header">
    <a class='link-title external' href='product.html?id={{prod.prodId}}'>
		<span style='color:#333;'>{{prod.name}}</span>
	</a>
    </div>
    <div class="card-content">
      <div class="list-block media-list">
        <ul style="padding-left:0px;">
          <li class="item-content">
            <div class="item-media">
				<a class='link-title external' href='product.html?id={{prod.prodId}}'>
            	   <img src='{{prod.img}}' style="max-width:100%;max-height:120px;">
				</a>
            </div>
            <div class="item-inner">
              <div class="item-title-row">
                <div class="item-title">
				<span style='color:#DAA520;'>
					{{if prod.star==5}}&star;&star;&star;&star;&star;{{/if}}
					{{if prod.star==4}}&star;&star;&star;&star;{{/if}}
					{{if prod.star==3}}&star;&star;&star;{{/if}}
					{{if prod.star==2}}&star;&star;{{/if}}
					{{if prod.star==1}}&star;{{/if}}
					{{if prod.star==0}}<span style='color:#ccc;font-size:13px;'>此商品无星级评定</span>{{/if}}
				</span>
				<br/><br/>
				</div>
              </div>
              <div class="item-subtitle">
					原&nbsp;&nbsp;价：<span style='text-decoration:line-through;color:#ccc;'>{{prod.orig}}&yen;</span><br/>
					售&nbsp;&nbsp;格：<span style='color:red;font-size:16px;'>{{prod.price}}&yen;</span>
			  </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
    <div class="card-footer">
      <span>{{if prod.freight > 0}}运费：<lable style='color:red;'>{{prod.freight}}&yen;</lable>{{else}}免运费{{/if}}</span>
      <span>销量：{{prod.amount}}件</span>
    </div>
  	</div> 
  {{/each}}
	</script>
</body>
</html>