Authored by 梁志锋

购物车修改

... ... @@ -14,7 +14,6 @@ var chosePanel = require('./chose-panel'),
var $cartContent = $('.cart-content');
var navHammer,
$advanceBuy = $('.advance-buy'),
cartType = $('#cartType').val();
var hasChecked = $('.cart-goods .icon-cb-checked').length > 0 ? true : false; //是否有选中商品
... ...
... ... @@ -75,7 +75,6 @@ function show(html, cb) {
//隐藏当前Panel
function hide() {
$('.chose-panel').hide();
//cbFn = null;
}
//修改加入购物车的文字和背景
... ...
... ... @@ -25,7 +25,7 @@ function getProductInfo(skn, promotionId) {
tip.show('网络错误');
return;
}
chosePanel.show(html, function(){
chosePanel.show(html, function() {
window.location.href = '/cart/index/orderEnsure?cartType=' + queryString.cartType;
});
}, function() {
... ...