您还没有登录或者登录已超时~!', { btn: ['继续跳转', '返回主页'] ,title:'温馨提示' ,area: '450px' ,icon:icon ,shade:0.01 ,btnAlign: 'c' }, function() { location.href = url; }, function() { location.href = '/'; }); if(url=='javascript:window.close();' || url=='close'){ setTimeout(function (){ window.opener=null; window.open('','_self'); window.close(); },2000); }else{ setTimeout(function (){ location.href = url; },3000); } });