Commit 227b7382 by 江龙

优化代码

parent 5437fcd1
......@@ -4,5 +4,5 @@
"labelArr":["贪吃的恐龙","魔法自走棋",""],
"defaultTap":1,
"socketUrl":"47.97.42.168",
"runCode":"let intervalId=setInterval(()=>{var p=[{i:0,t:'we',w:1262},{i:0,t:'ue',s:'page/HomePage.scene',w:1080},{i:5,t:'o',s:'home/icon_Invitation.png',w:121}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'we',w:1262},{i:0,t:'ue',s:'page/HomePage.scene',w:1080},{i:10,t:'o',s:'home/icon_Announce.png',w:129}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'we',w:1262},{i:0,t:'ue',s:'page/HomePage.scene',w:1080},{i:12,t:'o',s:'home/icon_Fans.png',w:129}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))||(c.w&&n.width!=c.w)){n=null;break}}if(n)n.visible=false;},100);var t=setInterval(function(){if(typeof gg!=='undefined'&&gg.platform){clearInterval(t);gg.platform.playVideo=function(tag){return new Promise(function(resolve,reject){if(window.VideoClient){window.VideoClient.callVideo(function(success){resolve(success?1:0)})}else{reject()}})}}},500);"
"runCode":"let intervalId=setInterval(()=>{var p=[{i:0,t:'we'},{i:0,t:'ue',s:'page/HomePage.scene'},{i:5,t:'o',s:'home/icon_Invitation.png'}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'we'},{i:0,t:'ue',s:'page/HomePage.scene'},{i:10,t:'o',s:'home/icon_Announce.png'}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))){n=null;break}}if(n)n.visible=false;var p=[{i:0,t:'we'},{i:0,t:'ue',s:'page/HomePage.scene'},{i:12,t:'o',s:'home/icon_Fans.png'}],n=Laya.stage;for(var k=0;k<p.length;k++){var c=p[k];n=n.getChildAt(c.i);if(!n||(c.t&&n.constructor.name!=c.t)||(c.s&&(n.skin!=c.s&&n.source!=c.s&&n.url!=c.s))){n=null;break}}if(n)n.visible=false;},100);var t=setInterval(function(){if(typeof gg!=='undefined'&&gg.platform){clearInterval(t);gg.platform.playVideo=function(tag){return new Promise(function(resolve,reject){if(window.VideoClient){window.VideoClient.callVideo(function(success){resolve(success?1:0)})}else{reject()}})}}},500);"
}
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 sign in to comment