Commit 7de874c1 authored by houdong's avatar houdong

有奖赛首页

parent 3a6c9839
...@@ -362,13 +362,14 @@ ...@@ -362,13 +362,14 @@
$("#popLogin").hide(); $("#popLogin").hide();
if(typeof(targetUrl) == "undefined"||targetUrl==''){ if(typeof(targetUrl) == "undefined"||targetUrl==''){
layer.alert('登录成功', 1, function(){ layer.close(window.location.reload());}); layer.msg('登录成功', 2,1,function(){ location.reload(); });
}else{ }else{
layer.alert('登录成功', 1, function(){ layer.msg('登录成功', 2,1,function(){
$.cookie('denglu',targetUrl); $.cookie('denglu',targetUrl);
location.reload(); location.reload();
}); });
} }
} }
......
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 to comment