<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>创新消费领航者</title>
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no, minimal-ui" />
<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="default">
<meta content=”telephone=no,email=no” name=”format-detection” />
<link rel="stylesheet" href="../static/light7/css/light7.min.css">
<link rel="stylesheet" href="../static/css/mobile.style.css">
</head>
<body>
	<div class="page" id="main">
		<header class="bar bar-nav">
			<a class="button button-link button-nav pull-left back "
				href="market.html" data-transition='slide-out'><span
				class="icon icon-left"></span>返回</a>
			 <a  class="button button-link button-nav pull-right external" href="user.html"
				data-transition='slide-out'><span class="icon icon-me"></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" href="market.html"> <span
				class="icon icon-gift"></span> <span class="tab-label">瞎猫</span>
			</a> 
			<a class="tab-item  external active" href="cart.html"> <span
				class="icon icon-cart"></span> <span class="tab-label">买到</span>
			</a>
		</nav>
		<div class="content">
			<div class="card">
				<div class="card-header">
					<span>已选商品</span>
					 <a href="#" class="button button-danger"
						onclick="delForCart()">移除</a>
				</div>
				<div class="card-content list-block media-list inset"
					id="cart-content" style="min-height: 100px;"></div>
				<div class="card-footer" id="cart_footer">
					<span>总价：<label id="_sum" class="red-span"></label><label class="red-span">&yen;</label>&nbsp;&nbsp;</span>
					<span>数量：<label id="_num"></label>件</span>
				</div>
			</div>
			
			<div class="card" id="settle_card">
				<div class="card-header">收货人地址
					<a href="address.html" class="item-link item-content external">
						<div class="item-inner">
							<div class="item-title"><span style="color:#444;">管理</span></div>
						</div>
					</a></div>
				<div class="card-content">
					<div class='card-content-inner'>
						<input type="text" id="phone" class="light-input"   placeholder="联系电话">
						<input type="text" id="uname" class="light-input" placeholder="收货人姓名"><br/>
						<input type="text" id='city-picker'  class="light-input"  value="贵州 贵阳  南明区" /><br/>
						<input type="text" id="addr"  class="light-input"  placeholder="详细地址" style="width:100%;">
					</div>
				</div>
				<div class="card-footer">
					<div class="content-block" style="width: 100%;">
						<div class="row">
							<div class="col-50">
								<a href="#" id="settleBtn"
									class="button button-big button-fill button-danger">结算</a>
							</div>
							<div class="col-50">
								<a href="market.html"
									class="button button-big button-fill button-success back">返回</a>
							</div>
						</div>
					</div>
				</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/common/drain.mobile.js'></script>
	<script src='../static/light7/js/light7.min.js'></script>
	<script src='../static/light7/js/i18n/cn.js'></script>
	<script src="../static/plugins/artTemplate/js/template.js"></script>
	<script src="../static/light7/js/light7-city-picker.min.js"></script>
	<script src="js/shoppingcart.js"></script>
	<script src="js/cart.js"></script>
	<script type="text/html" id="cartHtml">
	<ul>
	{{each content as prod}}
	<li>
    <label class="label-checkbox item-content">
      <input type="checkbox" name="my-radio" value="{{prod.paramid}}">
      <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
      <div class="item-inner">
        <div class="item-subtitle">{{prod.name}}</div>
        <div class="item-text">单价：<span class='red-span'>{{prod.price}}</span><span class='red-span'>&yen;</span>
			x {{prod.count}} 件 
		</div>
      </div>
    </label>
  	</li>
	{{/each}}
	</ul>
	</script>
</body>
</html>