qc.ifish7.com/Application/Shop/View/ShopCart/index.html

126 lines
5.3 KiB
HTML

<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pagetitle}-{$Think.config.setting.sitename}</title>
<link href="__PUBLIC__/skin/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/font-awesome.min.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/nav2.css" rel="stylesheet">
<link href="__PUBLIC__/skin/css/slick-min.css" type="text/css" rel="stylesheet"/>
<link href="__PUBLIC__/skin/css/global.css" rel="stylesheet">
</head>
<body>
<include file="./Application/Data/templateFile/header.html"/>
<div class="indexProduct UserCenter shopping">
<div class="indexProduct_content clear all">
<div class="shopping_title clear">
<div class="shopping_title_list fl on">
<dd>1</dd>
<dt>我的购物车</dt>
</div>
<div class="shopping_title_list fl">
<dd>2</dd>
<dt>确认订单信息</dt>
</div>
<div class="shopping_title_list fl">
<dd>3</dd>
<dt>支付订单</dt>
</div>
</div>
<div class="mygwc cartBox">
<form name="" method="post" action="" onsubmit="return save_form(this,callback)">
<div class="mygwc_title clear">
<div class="mygwc_title_xun fl">
<label class="checkbox_gwc">
<input name="nm" type="checkbox" value="" id="mor" class="whole_check"/>
<div class="title_wen_xun clear">
<dd class="fl"></dd>
</div>
</label>
</div>
<div class="mygwc_title_xun fl">商品信息</div>
<div class="mygwc_title_xun fl">单价</div>
<div class="mygwc_title_xun fl">数量</div>
<div class="mygwc_title_xun fl">小计</div>
<div class="mygwc_title_xun fl">操作</div>
</div>
<div class="mygwc_wen">
<foreach name="data" item="v">
<div class="mygwc_wen_xun clear order_lists" data-id="{$v.id}">
<div class="wen_xun_buttom fl">
<label class="checkbox_gwc">
<input name="ids[]" type="checkbox" value="{$v.id}" id="mor" class="son_check"/>
<div class="title_wen_xun"><dd></dd></div>
</label>
</div>
<div class="wen_xun_img fl clear">
<div class="xun_img_left fl"><a href="{:titleurl($v[cms_product])}" target="_blank"><img src="{$v.cms_product.thumb}"></a></div>
<div class="xun_img_right fl">
<dd><a href="{:titleurl($v[cms_product])}" target="_blank">{$v.cms_product.title}</a></dd>
<dt>
<p>商品型号:{$v.cms_product.type_no}</p>
<p>订货号:{$v.cms_product.type_no}</p>
</dt>
</div>
</div>
<div class="wen_xun_dj fl list_price">
<dd class="price">¥{$v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price']} / 个</dd>
<if condition="$v[cms_product]['price2']"><dt><s>¥{$v.cms_product.price} / 个</s></dt></if>
</div>
<div class="wen_xun_sl fl amount_box">
<a href="javascript:;" class="reduce reSty fl" data-id="{$v.id}">-</a>
<input type="text" value="{$v.quantity}" data-id="{$v.id}" class="sum fl">
<a href="javascript:;" class="plus fl" data-id="{$v.id}">+</a>
</div>
<div class="wen_xun_xj fl list_sum"><span class="sum_price">¥{:($v[cms_product]['price2']?$v[cms_product]['price2']:$v[cms_product]['price'])*$v[quantity]}</span></div>
<div class="wen_xun_cz fl">
<a href="javascript:;" class="delBtn" data-id="{$v.id}">删除</a>
</div>
</div>
</foreach>
</div>
<div class="mygwc_jieg clear">
<div class="mygwc_jieg_left fl">
<a href="javascript:history.go(-1)"><img src="/Public/skin/images/bn81.png" />返回继续购物</a>
<a href="javascript:;" id="deleteAll">删除选中商品</a>
</div>
<div class="mygwc_jieg_right fr clear">
<div class="jieg_right_gj totalMoney">总金额(不含运费):<span class="total_text">¥0.00</span></div>
<input type="submit" value="结算" disabled class="fr" />
</div>
</div>
</form>
</div>
</div>
</div>
<section class="model_bg"></section>
<section class="my_model">
<p class="title">删除宝贝<span class="closeModel">X</span></p>
<p>您确认要删除该宝贝吗?</p>
<div class="opBtn"><a href="javascript:;" class="dialog-sure">确定</a><a href="javascript:;" class="dialog-close">关闭</a></div>
</section>
<include file="./Application/Data/templateFile/footer.html"/>
<script type="text/javascript" src="__PUBLIC__/skin/js/jquery-1.8.3.min.js"></script>
<script src="__PUBLIC__/skin/js/global.js"></script>
<script src="__PUBLIC__/skin/js/nav.js"></script>
<script src="/Public/Admin/layer/layer.js"></script>
<script src="/Public/Admin/js/globals.js"></script>
<script>
function callback(data){
window.location.href="{:U('confirmation_order')}";
}
var change_shop_cart_url = "{:U('change_shop_cart')}";
var delete_url = "{:U('delete')}";
</script>
<script src="/Public/Home/js/shop.js"></script>
</body>
</html>