Authored by 毕凯

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

... ... @@ -28,8 +28,8 @@ var $chosePanel = $('#chose-panel'),
$curSizeBlock,
$sizeRowList,
cbFn,
cartType,
$allChoseItems,
queryString,
$yohoPage = $('.yoho-page');
//初始化购物车面板显示
... ... @@ -39,6 +39,7 @@ function init() {
hasChooseColor = false;
hasChooseSize = false;
$curSizeBlock = null;
queryString = $.queryString();
$imgsThumb = $('.chose-panel').find('.thumb');
$allChoseItems = $('.chose-items');
$sizeRowList = $('.size-list ul');
... ... @@ -324,7 +325,7 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
buyNumber: buyNumber,
promotionId: promotionId,
isEdit: isEdit,
cartType: cartType
cartType: queryString.cartType
}
}).done(function(res) {
loading.hideLoadingMask();
... ...
... ... @@ -26,7 +26,7 @@ function getProductInfo(skn, promotionId) {
return;
}
chosePanel.show(html, function() {
window.location.href = '/cart/index/orderEnsure?cartType=' + queryString.cartType;
window.location.href = '/cart/index/index?cartType=' + queryString.cartType;
});
}, function() {
tip.show('网络错误');
... ...