Commit bd87db71 by qiaomu

two

parent 4107d2ea
Showing with 7 additions and 2 deletions
...@@ -209,7 +209,8 @@ ...@@ -209,7 +209,8 @@
var str = ''; var str = '';
for(var i = 0;i < banksarr.length; i++) { for(var i = 0;i < banksarr.length; i++) {
str = str + '<option value="'+banksarr[i]+'">'+banksarr[i]+'</option>'; str = str + '<option value="'+banksarr[i]+'">'+banksarr[i]+'</option>';
} }
var time1;
$(".bank").html(str); $(".bank").html(str);
$ip = 'https://zhiboweb.ishuaji.cn/'; $ip = 'https://zhiboweb.ishuaji.cn/';
$.ajax({ $.ajax({
...@@ -255,7 +256,11 @@ ...@@ -255,7 +256,11 @@
$(".ing").show(); $(".ing").show();
}else { }else {
$(".alert").css('display','inline-block'); $(".alert").css('display','inline-block');
$(".alert").html(res.msg); $(".alert").html(res.msg);
clearTimeout(time1);
time1 = setTimeout(function () {
$(".alert").css('display','none');
},2000);
} }
}, },
error: function() { error: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment