From 9636c3b913109cc7b16390445fe3b9f93fc4b485 Mon Sep 17 00:00:00 2001 From: libccy Date: Thu, 28 Jul 2016 02:14:42 +0800 Subject: [PATCH] i --- game/game.js | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/game/game.js b/game/game.js index 4398d71c3..94a38302c 100755 --- a/game/game.js +++ b/game/game.js @@ -21745,6 +21745,10 @@ }; var dashboard=ui.create.div(pageboard); var clickDash=function(){ + var templayer=ui.create.div('.popup-container',ui.window); + setTimeout(function(){ + templayer.remove(); + },500); pageboard.hide(); this.link.show(); }; @@ -21913,6 +21917,10 @@ } }; ui.create.div('.config.more','
返回',page,function(){ + var templayer=ui.create.div('.popup-container',ui.window); + setTimeout(function(){ + templayer.remove(); + },500); page.hide(); pageboard.show(); }); @@ -22307,6 +22315,10 @@ updatePile(); }; ui.create.div('.config.more.margin-bottom','
返回',page,function(){ + var templayer=ui.create.div('.popup-container',ui.window); + setTimeout(function(){ + templayer.remove(); + },500); page.hide(); pageboard.show(); }); @@ -22483,6 +22495,16 @@ ui.window.appendChild(node); node.editor.setValue(node.code,1); } + else if(lib.device=='ios'){ + ui.window.appendChild(node); + if(!node.textarea){ + var textarea=document.createElement('textarea'); + editor.appendChild(textarea); + node.textarea=textarea; + lib.setScroll(textarea); + } + node.textarea.value=node.code; + } else{ var aceReady=function(){ ui.window.appendChild(node); @@ -22751,6 +22773,10 @@ } }; ui.create.div('.config.more.margin-bottom','
返回',page,function(){ + var templayer=ui.create.div('.popup-container',ui.window); + setTimeout(function(){ + templayer.remove(); + },500); page.hide(); pageboard.show(); }); @@ -22843,6 +22869,16 @@ ui.window.appendChild(node); node.editor.setValue(node.code,1); } + else if(lib.device=='ios'){ + ui.window.appendChild(node); + if(!node.textarea){ + var textarea=document.createElement('textarea'); + editor.appendChild(textarea); + node.textarea=textarea; + lib.setScroll(textarea); + } + node.textarea.value=node.code; + } else{ var aceReady=function(){ ui.window.appendChild(node); @@ -23023,6 +23059,10 @@ var dash4=(function(){ var page=ui.create.div('.hidden.menu-buttons'); ui.create.div('.config.more.margin-bottom','
返回',page,function(){ + var templayer=ui.create.div('.popup-container',ui.window); + setTimeout(function(){ + templayer.remove(); + },500); page.hide(); pageboard.show(); }); @@ -23098,6 +23138,16 @@ ui.window.appendChild(node); node.editor.setValue(node.code,1); } + else if(lib.device=='ios'){ + ui.window.appendChild(node); + if(!node.textarea){ + var textarea=document.createElement('textarea'); + this.editor.appendChild(textarea); + node.textarea=textarea; + lib.setScroll(textarea); + } + node.textarea.value=node.code; + } else{ var editor=this.editor; var aceReady=function(){