Authored by Aiden Xu

分期订单

... ... @@ -47,10 +47,10 @@ $('.header-tab a').click(function() {
return false;
});
// const
// 默认加载第一页
loadOrderList(search.pageIndex, 1);
// TODO: 滚屏分页
$(window).scroll(()=> {
// var scrollTop = $(window).scrollTop();
... ...
... ... @@ -154,10 +154,13 @@ setInterval(()=> {
*/
$('#apply-form').submit(function() {
$.post('/home/installment/activate-service', formModel).then((result)=> {
const params = { action: 'go.instalmentRepayment' };
if (result.code === 200) {
location.href = '/installment/review';
location.href = `/home/installment/review?openby:yohobuy=${encodeURIComponent(JSON.stringify(params))}`;
} else {
tip.show(result.message);
}
});
return false;
... ...