本帖最后由 弘毅他爹 于 2021-3-1 16:17 编辑
5.3.10版本正常, 5.4版本右侧灰屏,exml设置如下<e:Skin class="BeginSceneSkin" width="1280" height="720" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" >
<w:Config id="1616faa8fe5" ></w:Config>
<e:Group left="0" right="0" top="0" bottom="0">
<e:Image source="bg_jpg" anchorOffsetY="0" anchorOffsetX="0" left="0" right="0" top="0" bottom="0"/>
<e:Button id="beginBtn" label="" height="111" anchorOffsetX="0" anchorOffsetY="0" width="348" verticalCenter="247.5" horizontalCenter="-8">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="start_btn_png"/>
<e abel id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
</e:Group>
index.html设置如下
<div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
data-entry-class="Main"
data-orientation="landscape"
data-scale-mode="fixedNarrow"
data-frame-rate="30"
data-content-width="1280"
data-content-height="720"
data-multi-fingered="2"
data-show-fps="false" data-show-log="false"
data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
|
-
|