Commit 7de874c1 authored by houdong's avatar houdong

有奖赛首页

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