Commit 5657e609 authored by zjz1994's avatar zjz1994

暂时去除全屏显示

parent b4dfd297
...@@ -97,7 +97,7 @@ export default class MainBase extends eui.UILayer { ...@@ -97,7 +97,7 @@ export default class MainBase extends eui.UILayer {
// 功能。 // 功能。
// 0:隐藏 // 0:隐藏
// 1:不隐藏 // 1:不隐藏
window['SNNativeClient'].setNavigationHiden(0); window['SNNativeClient']&&window['SNNativeClient'].setNavigationHiden(0);
} else { } else {
// 1.页面引入 // 1.页面引入
// http://res.suning.cn/project/mvs/RES/common/script/android/sneapp.js // http://res.suning.cn/project/mvs/RES/common/script/android/sneapp.js
......
...@@ -441,6 +441,7 @@ export default class MainScene extends Scene { ...@@ -441,6 +441,7 @@ export default class MainScene extends Scene {
}else{ }else{
this.islongScreen = true; this.islongScreen = true;
} }
this.islongScreen = false;
if(this.islongScreen){ if(this.islongScreen){
this['adapttop'].y = 60; this['adapttop'].y = 60;
}else{ }else{
......
...@@ -141,6 +141,7 @@ export default class MapScene extends Scene { ...@@ -141,6 +141,7 @@ export default class MapScene extends Scene {
}else{ }else{
this.islongScreen = true; this.islongScreen = true;
} }
this.islongScreen = false;
// console.log("手机长短屏幕适配",whl,this.islongScreen); // console.log("手机长短屏幕适配",whl,this.islongScreen);
if(this.islongScreen){ if(this.islongScreen){
this['adapttop'].y = 50; this['adapttop'].y = 50;
......
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