Commit 82ef94e3 authored by zjz1994's avatar zjz1994

调整游戏内网页

parent cd4884a2
......@@ -441,7 +441,7 @@ export default class MainScene extends Scene {
}else{
this.islongScreen = true;
}
this.islongScreen = false;
// this.islongScreen = false;
if(this.islongScreen){
this['adapttop'].y = 60;
}else{
......
......@@ -142,7 +142,7 @@ export default class MapScene extends Scene {
}else{
this.islongScreen = true;
}
this.islongScreen = false;
// this.islongScreen = false;
// console.log("手机长短屏幕适配",whl,this.islongScreen);
if(this.islongScreen){
this['adapttop'].y = 50;
......
......@@ -80,7 +80,7 @@ export default class WebView extends egret.DisplayObjectContainer {
// this._iframe.height = this._iframeWrapper.style.height = this._windowH+"px";
this.closebtn = document.createElement("img");
this.closebtn.src = "//yun.duiba.com.cn/aurora/assets/571906f5a3b59d6e654e6522c916ed1707231551.png";
this.closebtn.src = "http://yun.duiba.com.cn/aurora/assets/571906f5a3b59d6e654e6522c916ed1707231551.png";
this.closebtn.style.position = "absolute";
this.closebtn.style.top = "100px";
......
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