Browse Source

更新 'games/yqrxd/launcher/egret_loader.js'

yunhaipiaodi 6 years ago
parent
commit
f324f61754
1 changed files with 6 additions and 2 deletions
  1. 6 2
      games/yqrxd/launcher/egret_loader.js

+ 6 - 2
games/yqrxd/launcher/egret_loader.js

@@ -47,10 +47,14 @@ egret_h5.startGame = function () {
                 rootContainer.leftOrRightDown(0);
             }
           	
-          	if(e && e.keyCode == 13){       //确定键
-                if(rootContainer.curIsHomePage()){
+          	if(e && e.keyCode == 13){       
+                if(rootContainer.curIsHomePage()){		//确定键
 					rootContainer.startToGame();
                 }
+              
+              	if(rootContainer.curIsInfoPage()){      //内容页
+                    rootContainer.startToGame();
+                }
             }
         };
     }