|
@@ -100,6 +100,12 @@ layui.use(['form','jquery'], function(){
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ $(".welcome .rulebtn").click(function(argument) {
|
|
|
|
+ $(".popwind").show();
|
|
|
|
+ })
|
|
|
|
+ $(".welcome .popwind .close").click(function(argument) {
|
|
|
|
+ $(".popwind").hide();
|
|
|
|
+ })
|
|
//获取用户信息
|
|
//获取用户信息
|
|
$.get('/Home/User/Info',{},function(responsedata){
|
|
$.get('/Home/User/Info',{},function(responsedata){
|
|
if(responsedata.code == 10001){
|
|
if(responsedata.code == 10001){
|
|
@@ -267,6 +273,8 @@ layui.use(['form','jquery'], function(){
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ $(".welcome").hide();
|
|
|
|
+ $(".gstart").show();
|
|
var url = "/Home/Game/Join";
|
|
var url = "/Home/Game/Join";
|
|
$.post(url,{client_id:client_id},function(responsedata){
|
|
$.post(url,{client_id:client_id},function(responsedata){
|
|
layer.msg(responsedata.msg, {
|
|
layer.msg(responsedata.msg, {
|