Authored by 梁志锋

购物车功能开发

... ... @@ -64,14 +64,14 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
if (data) {
$('#good-totalprice').html('¥' + data.commonCart.price);
$('#good-activityPrice').html('¥' + data.commonCart.activityPrice);
$('#good-total').html('总计:¥' + data.commonCart.sumPrice +' (' + data.commonCart.count + '件)');
$('#good-total').html('总计:¥' + data.commonCart.sumPrice + ' (' + data.commonCart.count + '件)');
}
},
error: function() {
tip.show('网络错误');
}
});
} else if(data.code === 200) {
} else if (data.code === 200) {
tip.show('网络错误');
}
}).fail(function() {
... ...