Authored by hf

fixes bug to call product detail api and order status

... ... @@ -2816,10 +2816,10 @@ $loginBtn.on('touchstart', function() {
dataType: 'jsonp'
});
//1s后跳转页面
//2s后跳转页面
setTimeout(function() {
location.href = res.href;
}, 1000);
}, 2000);
} else {
showErrTip(data.message);
}
... ... @@ -2948,10 +2948,10 @@ $loginBtn.on('touchstart', function() {
dataType: 'jsonp'
});
//1000ms后跳转页面
//2000ms后跳转页面
setTimeout(function() {
location.href = res.href;
}, 1000);
}, 2000);
} else {
showErrTip(data.message);
}
... ... @@ -5154,7 +5154,8 @@ $consultForm.on('submit', function() {
isSubmiting = false;
loading.hideLoadingMask();
} else {
window.history.go(-1);
tip.show('提交成功~');
setTimeout(window.history.go(-1), 3000);
}
}).fail(function() {
tip.show('网络出了点问题~');
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
... ... @@ -141,7 +141,7 @@ class DetailModel
$build['time'] = $value['createTime'];
$result['feedbacks']['comments'][] = $build;
}
$result['feedbacks']['link'] = Helpers::url('/product/detail/comments', array('product_id' => $productId, 'total' => $result['feedbacks']['commentsNum']));
//$result['feedbacks']['link'] = Helpers::url('/product/detail/comments', array('product_id' => $productId, 'total' => $result['feedbacks']['commentsNum']));
}
// 品牌信息
... ...