+8
-8
@@ -110,13 +110,13 @@ function tsPost(url,datas){
|
||||
if(rs.url){
|
||||
|
||||
//再来个提示
|
||||
tsNotice(rs.msg+'<br /><span class="text-danger" id="notice_daojishi">3</span>秒后自动跳转...');
|
||||
//tsNotice(rs.msg+'<br /><span class="text-danger" id="notice_daojishi">3</span>秒后自动跳转...');
|
||||
|
||||
var step = 3;
|
||||
var step = 0;
|
||||
var _res = setInterval(function() {
|
||||
|
||||
$('#notice_daojishi').html(step);
|
||||
step-=1;
|
||||
//$('#notice_daojishi').html(step);
|
||||
//step-=1;
|
||||
if(step <= 0){
|
||||
window.location = rs.url;
|
||||
clearInterval(_res);//清除setInterval
|
||||
@@ -156,13 +156,13 @@ jQuery(document).ready(function(){
|
||||
if(rs.url){
|
||||
|
||||
//再来个提示
|
||||
tsNotice(rs.msg+'<br /><span class="text-danger" id="notice_daojishi">3</span>秒后自动跳转...');
|
||||
//tsNotice(rs.msg+'<br /><span class="text-danger" id="notice_daojishi">3</span>秒后自动跳转...');
|
||||
|
||||
var step = 3;
|
||||
var step = 0;
|
||||
var _res = setInterval(function() {
|
||||
|
||||
$('#notice_daojishi').html(step);
|
||||
step-=1;
|
||||
//$('#notice_daojishi').html(step);
|
||||
//step-=1;
|
||||
if(step <= 0){
|
||||
window.location = rs.url;
|
||||
clearInterval(_res);//清除setInterval
|
||||
|
||||
Reference in New Issue
Block a user