www.lightcourse.com/app/home/view/default/member/cart/cart_empty.html

95 lines
2.7 KiB
HTML

{include file="default/base/mall_top" /}
<link rel="stylesheet" href="{$Think.HOME_SITE_ROOT}/new/css/member.css">
<style>
.main-other-qa{
margin-bottom: 0;
padding-bottom: 2rem;
}
</style>
<script>
$(document).ready(function () {
var total = 0;
$.each($(".user-container .b .b4"), function () {
console.log($(this).find("span").text() * 1);
var num = $(this).find("span").text() * 1
total += num;
$(".total").text("¥" + total)
})
})
</script>
<main class="user-container">
<section class="main-center container">
<div class="left">
<a href="/Memberinformation/index.html">
<!-- <i class="iconfont icon-yishoucang"></i> -->
<span>Profile</span>
</a>
<a href="/Membersecurity/index.html">
<!-- <i class="iconfont icon-pinglun1"></i> -->
<span>Account</span>
</a>
<!-- <a href="./member-course.html">-->
<a href="/Membercourse/index.html">
<!-- <i class="iconfont icon-yiguanzhu"></i> -->
<span>My Courses</span>
</a>
<a href="/Cart/index.html" class="active">
<!-- <i class="iconfont icon-tuichu1"></i> -->
<span>My Cart</span>
</a>
<a href="/Memberfavorites/fglist.html">
<!-- <i class="iconfont icon-tuichu1"></i> -->
<span>My Favorites</span>
</a>
<a href="/Memberorder/index.html">
<!-- <i class="iconfont icon-tuichu1"></i> -->
<span>Previous Orders</span>
</a>
<a href="/Memberfeedback/index.html">
<!-- <i class="iconfont icon-tuichu1"></i> -->
<span>Help Center</span>
</a>
</div>
<script>
var pathName = window.location.pathname
$.each($(".user-container .container .left a"),function(){
if($(this).attr("href") == pathName){
$(this).addClass("active").siblings().removeClass("active")
}
})
</script>
<div class="right">
<h2 class="c-tit">My Cart</h2>
<!-- <h2 class="cart-tit">购物车</h2> -->
<div class="content shopping-content">
<p class="tip">Your shopping cart is still empty</p>
</div>
</div>
</section>
</main>
{include file="default/base/mall_footer" /}
<script src="{$Think.HOME_SITE_ROOT}/js/goods_cart.js"></script>
<script>
$('#next_submit').on('click',function(){
if ($(document).find('input[ds_type="eachGoodsCheckBox"]:checked').size() == 0) {
layer.msg('Please select the goods to be settled');
return false;
}else {
{if session('is_login') !== '1'}
$(".tips-wrap").addClass("show")
{else /}
$('#form_buy').submit();
{/if}
}
});
</script>