大约有 1,720 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...s = openDataContext.canvas sharedCanvas.width = layout.width; sharedCanvas.height = layout.height; //先清空绘制 layout.graphics.clear(false); //设置大小 var canvas = new Laya.Texture(sharedCanvas); canvas.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 layout.graphic...
来源: Laya_社区 发布时间: 20180625
...lf = this; var width = self.width; var height = self.height; var data = { view: self.$viewName, width: width, height: height }; // 赋值...
来源: Laya_社区 发布时间: 20181114
...ya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} cre...
来源: Laya_社区 发布时间: 20200228
...); //适配处理 var frameWidth = 720 * Laya.stage.clientScaleX; var frameHeight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width - frameWidth) * 0.5, (laya.u...
来源: Laya_社区 发布时间: 20170415
...gjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":0,"x":0,"width":192,"skin":"loading/dt_...
来源: Laya_社区 发布时间: 20170725
...uiView',function(){return this.uiView={"type":"View","props":{"width":600,"height":400}};} ]); return ABCPanelUI; })(View); var TestPageUI=(function(_super){ function TestPageUI(){ TestPageUI.__super.call(thi...
来源: Laya_社区 发布时间: 20161017
...同来自: 刚刚实测没问题, 代码:<div style='width:300px;height:100px;color:#ff0000;font-size:25px;font-family:SimSun;vertical-align:bottom;line-height:20px;'> <p><span style='font-weight:bold;stroke:3px; font:24px Arial' color='red' href='https://ask.layabox.com/'> ...
来源: Laya_社区 发布时间: 20220916
...List; list.width = this.itemList.width; list.height = this.itemList.height; list.x = this.itemList.x; list.y = this.itemList.y; list.spaceY = 12; list.vScrollBarSkin = ""; list.selectEnable = tru...
来源: Laya_社区 发布时间: 20170310
... public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor...
来源: Laya_社区 发布时间: 20200228
...17 11:31 @Monica: 还要 加这个Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; king • 2017-07-17 11:32 @Monica:就有问题了啊, Monica • 2017-07-17 14:41 @king:同事这边没有时间去看这个问题,目前最简单的解决方法就是在舞台下添加个root容器。然后移动...
来源: Laya_社区 发布时间: 20170713