<!--{include file="<!--{$oetplpath}-->public/cart_top.tpl"}--> 
<script src="<!--{$skinpath}-->public/js/cart.js"></script> 
<!--//oe_public_top End--> 
<!--购物车列表开始-->
<div class="oe_cart" style="display:;">
  <div class="oe_cart_top">
    <div class="oe_cart_top_left">
	  <span>全部商品 <i f="all_goods_nums">0</i></span>
	</div>
    <div class="oe_cart_top_right"> 
	  已选商品（不含运费）<b  f="totalprice_2">¥0.00</b> 
	  <span class="current" f="confirm_order" >结算</span>
	</div>
  </div>
  <div class="oe_cart_title">
    <span class="oe_cart_title_1"><label><input type="checkbox" name="J_checkAll" id="J_checkAll" class="J_checkAll" />全选</label></span>
	<span class="oe_cart_title_2">商品信息</span>
	<span class="oe_cart_title_3">单价（元）</span>
	<span class="oe_cart_title_4">数量</span>
	<span class="oe_cart_title_5">金额（元）</span>
	<span class="oe_cart_title_6">操作</span>
    <div class="clear"></div>
  </div>
  <!--{foreach $cartlist as $val}-->
  <div class="oe_cart_list" f="shop_<!--{$val.shopid}-->">
    <div class="oe_cart_list_title">
      <input type="checkbox" name="J_checkShop" id="<!--{$val.shopid}-->" />
      商家：<a href="<!--{$urlpath}-->index.php?c=shop&a=detail&id=<!--{$val.shopid}-->"> 
      <!--{$val.shopname}--></a>
	</div>
    <dl>
      <!--{foreach $val.goodslist as $v}-->
      <dd f="goods_<!--{$v.cartid}-->">
	    <span class="oe_cart_list_1">
        <input type="checkbox" name="J_checkGoods_<!--{$v.shopid}-->" f="J_checkGoods" id="<!--{$v.goodsid}-->" shopid="<!--{$v.shopid}-->" priceid="<!--{$v.priceid}-->" cartid="<!--{$v.cartid}-->" />
        </span>
		<span class="oe_cart_list_2">
		  <a href="<!--{$urlpath}-->index.php?c=goods&a=detail&id=<!--{$v.goodsid}-->"> <img src="<!--{$urlpath}--><!--{$v.thumbimg}-->" class="pic"/></a>
		  <a href="<!--{$urlpath}-->index.php?c=goods&a=detail&id=<!--{$v.goodsid}-->"><!--{$v.goodsname}--> </a>
          <p><!--<img src="<!--{$skinpath}-->images/ico_b.png" alt="" />--></p>
        </span>
		<span class="oe_cart_list_3">
		  <!--{$v.pricelist.name}-->
		</span>
        <span class="oe_cart_list_4">
		  <s><!--{$v.oldprice}--></s>
		  <span><!--{$v.price}--></span>
        </span>
        <span class="oe_cart_list_5">
		  <i f="updatanums" act="-" gid="<!--{$v.goodsid}-->_<!--{$v.priceid}-->">-</i>
          <input type="text" name="nums_<!--{$v.goodsid}-->_<!--{$v.priceid}-->" id="nums_<!--{$v.goodsid}-->_<!--{$v.priceid}-->" value="<!--{$v.nums}-->" f="cart_<!--{$v.cartid}-->" readonly />
          <i f="updatanums" act="+" gid="<!--{$v.goodsid}-->_<!--{$v.priceid}-->">+</i>
		</span>
        <span class="oe_cart_list_6">
		  <b f="total_<!--{$v.goodsid}-->_<!--{$v.priceid}-->"><!--{$v.total}--></b>
        </span>
        <span class="oe_cart_list_7">
		  <a href="javascript:;" class="oe_shop_collect" f="collectgoods" data-id="<!--{$v.goodsid}-->">移入收藏夹</a>
          <a href="javascript:;" f="delgoods" id="<!--{$v.cartid}-->" shopid="<!--{$v.shopid}-->">删除</a>
		</span>
        <div class="clear"></div>
      </dd>
      <!--{/foreach}-->
    </dl>
  </div>
  <!--{/foreach}-->
  
  <div class="oe_cart_bottom">
    <span class="oe_cart_bottom_1">
      <label><input type="checkbox" name="J_checkAll" id="J_checkAll" />全选</label>
	</span> 
	<span class="oe_cart_bottom_3" f='delAllGoods'>删除</span>
    <div class="oe_cart_bottom_right">
	  <span class="oe_cart_bottom_right_1">
	    <i>已选商品</i><b f="checkedGoodsNums">0</b><i>件</i>
	  </span>
	  <span class="oe_cart_bottom_right_2">
	    <i>合计(不含运费)：</i><b f="totalprice">￥0</b><i>元</i>
	  </span>
	  <span class="oe_cart_bottom_right_3 current">结 算</span>
      <div class="clear"></div>
    </div>
  </div>
</div>
<form action="<!--{$urlpath}-->index.php?c=order&a=confirm" method="post" name="myform" id="myform">
  <input type="hidden" name="goodslist" id="goodslist" f="goodslist">
</form>
<!--购物车列表结束--> 
<!--{include file="<!--{$oetplpath}-->public/widget_footer.tpl"}-->
</body>
</html>