作者 郭鑫
1 个管道 的构建 通过 耗费 1 秒

页面修改

... ... @@ -137,7 +137,9 @@
success: function (res) {
popup(res.message);
if(res.code == 1){
setTimeout(window.location.href = "{:url('Member/myOrder')}",10000);
setTimeout(function(){
location.href="{:url('Member/myOrder')}";
},3000);
}
console.log(res);
},
... ...
... ... @@ -48,7 +48,7 @@
if(res.code == 1){
setTimeout(function(){
location.href="{:url('Member/myBalance')}";
},5000);
},3000);
}
console.log(res);
},
... ...
... ... @@ -177,7 +177,9 @@
// console.log(res);
popup(res.message);
if(res.code == 1){
setTimeout("location.reload()",2500);
setTimeout(function(){
location.reload();
},3000);
}
},
error: function (res) {
... ...
... ... @@ -588,16 +588,19 @@
success: function (res) {
if(res.code == 1){
$('.examinewrapper').css('display','block');
setTimeout(location.href="{:url('Member/index')}",20000);
setTimeout(function(){
location.href="{:url('Member/index')}";
},3000);
}else{
popup(res.message);
}
console.log('1111111');
console.log(res);
// console.log('1111111');
// console.log(res);
},
error: function (res) {
console.log('33333333');
console.log(res);
// console.log('33333333');
// console.log(res);
}
});
})
... ...