<!--{assign var="menu_id" value="coupon"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<style type="text/css">
  body{background:#f7f7f7;}
</style>
<script src="<!--{$wapskin}-->js/oemarry.cart.js"></script>
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>购物车</p>
  <label f="data-edit">编辑</label>
</div>

<div class="oe_cart">
    <!--{foreach $data as $volist}-->
  <dl f="shop_<!--{$volist.shopid}-->">
  	<dt>
      <label class=""><i class="iconfont">&#xe621;</i><input type="checkbox" name="J_checkShop" id="<!--{$volist.shopid}-->" style="display: none;"> </label>
        <font onclick="goUrl('<!--{$oefile}-->&c=shop&a=detail&id=<!--{$volist.shopid}-->')"><i class="iconfont">&#xe60e;</i> <!--{$volist.shopname}-->  <i class="iconfont" >&#xe615;</i></font>
    </dt>
  	<dd>
      <ul f="data-goodslist">
        <!--{foreach $volist.goodslist as $val}-->
        <li class="" f="goods_<!--{$val.cartid}-->">
            <label class="radio">
                <i class="iconfont">&#xe621;</i><input type="checkbox" name="J_checkGoods_<!--{$val.shopid}-->" f="J_checkGoods" id="<!--{$val.goodsid}-->" shopid="<!--{$val.shopid}-->" priceid="<!--{$val.priceid}-->" cartid="<!--{$val.cartid}-->" style="display: none;" />
            </label>
          <img src="<!--{$val.thumbimg}-->" alt="" onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$val.goodsid}-->')" />
          <h3 onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$val.goodsid}-->')"><!--{$val.goodsname}--></h3>
          <p class="p_3">
          <span class="span_1" f="updatanums" act="-" gid="<!--{$val.goodsid}-->_<!--{$val.priceid}-->">-</span>
              <label><input type="text" name="nums_<!--{$val.goodsid}-->_<!--{$val.priceid}-->" id="nums_<!--{$val.goodsid}-->_<!--{$val.priceid}-->" value="<!--{$val.nums}-->" f="cart_<!--{$val.cartid}-->" readonly style="width: 90%;" /></label>
          <span class="span_2" f="updatanums" act="+" gid="<!--{$val.goodsid}-->_<!--{$val.priceid}-->">+</span>
          </p>
          <p class="p_1" onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$val.goodsid}-->')">套餐类型：<!--{$val.pricelist.name}--></p>
          <p class="p_2" onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$val.goodsid}-->')">
              <span>￥<!--{number_format($val.price, 2)}--></span>
              <s>￥<!--{number_format($val.oldprice, 2)}--></s>
              <label>
                  x <font f="nums_<!--{$val.goodsid}-->_<!--{$val.priceid}-->"><!--{$val.nums}--></font>
              </label>
              <b f="total_<!--{$val.goodsid}-->_<!--{$val.priceid}-->" style="display: none;"><!--{$val.total}--></b>
          </p>
        </li>
        <!--{/foreach}-->
      </ul>
    </dd>
  </dl>
  <!--{/foreach}-->
</div>

<div class="kong"></div>
<div class="oe_cartfooter">
    <label class="big_lable ">
        <span class="label_1"><i class="iconfont">&#xe621;</i> </span> <span class="label_2">全选</span>
        <input type="checkbox" name="J_checkAll" id="J_checkAll" style="display: none;">
    </label>
    <p class="p_1" f="p_1">
        <span><em>合计：<font f='totalprice'>￥0</font></em> <i>不含运费</i></span>
        <label>结算(<b f='checkedGoodsNums'>0</b>)</label>
    </p>
    <p class="p_2" f="p_2"  style="display:none;">
        <span>删除<font f='checkedGoodsNums'>0</font>个商品</span>
        <label f='data-delGoods'>删除</label>
    </p>
</div>

<form action="<!--{$oefile}-->&c=<!--{$c}-->&a=confirm" method="post" name="myform" id="myform">
    <input type="hidden" name="goodslist" id="goodslist" f="goodslist">
</form>

<!--弹出框提示-->
<div id="varpop_shade" class="varpop-shade"></div>
<div class="confirm-layout" id="cancel_box" style="display: none;">
    <p>确定要删除这<font f='checkedGoodsNums'>0</font>商品吗？</p>
    <div class="confirm-list">
        <div class="confirm-l" f="close_var" data-id="cancel_box">取消</div>
        <div class="confirm-r"  f="delAllGoods" data-id="cancel_box">确定</div>
        <div class="clear"></div>
    </div>
</div>

<script type="text/javascript">
  $(function(){
    $max_width = WIN_WIDTH-135;
    $(".oe_cart dl dd ul li p.p_2").css({"width":$max_width});
});
</script>

</body>
</html>