Authored by 毕凯

订单确认计算价格 增加loading

... ... @@ -93,6 +93,7 @@ $invoice.on('touchend', '.checkbox', function() {
function orderCompute() {
var yohoCoin = orderInfo('yohoCoin');
loading.showLoadingMask();
$.ajax({
method: 'POST',
url: '/cart/index/orderCompute',
... ... @@ -127,6 +128,8 @@ function orderCompute() {
}
}).fail(function() {
window.location.reload();
}).always(function() {
loading.hideLoadingMask();
});
}
... ...