• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 39 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)

1. Image刷新问题 [ 100%]

...后,客户端如何清理缓存   let itImg = new Laya.Image(); itImg.skin = "http://******/get_img.php?"; Laya.stage.addChild(itImg);     如果"http://******/get_img.php?"图片更换了,我这边如何更换我的image展示 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20180416

2. Laya中Button等组件lose skin的问题 [ 99%]

Laya中Button等组件lose skin的问题 在UI界面给组件设置皮肤时遇到的问题,Button组件丢失了皮肤”lose skin wxlocal/enemy.png”无法正常显示,但是旁边的Image组件却能正常的展示。 设计模式中的两架飞机,上面那架是Image组件,下面那...

来源: Laya_社区 发布时间: 20191122

3. 更新到1.7.6beta之后,HBox有bug [ 99%]

...i.HBox = new laya.ui.HBox(); for (var i: number = 0; i < 10; i++) { var skin: string; switch (i) { case 0: skin = "comp/bg.png"; break; case 1: skin = "comp/blank.png"; break; case 2: skin = "comp/btn_close.png"; break; case 3: skin = "comp/button.png"; break; case 4: skin = "comp/checkbox.png"; ...

来源: Laya_社区 发布时间: 20170607

4. image.skin = base64 无效 [ 97%]

image.skin = base64 无效 向实现截图功能,获得 base64 数据之后赋值给 image.skin,但是无法显示。代码如下:   附件 : --> 2017-04-17 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cu...

来源: Laya_社区 发布时间: 20170417

5. List修改datasource数据的时候出现部分数据不能被修改 [ 94%]

...]; for (var i = 0; i < this.allData.length; i++) { var _data = { img: { skin: "../laya/assets/ui/num" + (i + 1) + ".png" }, text: { text: this.allData[i], color: "#ffffff" }, type:false, checkBox: { visible: false } }; dataSource.push(_data); } ; this.mainUI.list.array = dataSource; this.mainUI.l...

来源: Laya_社区 发布时间: 20170207

6. Image加载完成后的图片大小重设问题 [ 94%]

...关的链接 提交 1 个回复 非文 赞同来自: cnhotdog this.bg_img.skin = "ui/bg.jpg"; this.bg_img.width = Laya.stage.width; this.bg_img.height = Laya.stage.height; Image使用skin修改显示,改变宽高时,会拉伸显示内容   2016-11-16 1 1 分享 微博 QZONE 微信 为什么被...

来源: Laya_社区 发布时间: 20161116

7. 我就问一下一个遮罩的问题 [ 91%]

...问一下一个遮罩的问题 const img:Laya.Image = new Laya.Image() img.skin = 'xxxx' // 图片url路径 this.addChild(img) const imgMask:Laya.Sprite = new Laya.Sprite() img.mask = imgMask   我就问一下,这个时候img是能显示还是不能显示?   答案是,如果Laya.init就不...

来源: Laya_社区 发布时间: 20190328

8. List翻页效果 [ 91%]

..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...

来源: Laya_社区 发布时间: 20171202

9. List翻页效果怎么实现 [ 91%]

..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...

来源: Laya_社区 发布时间: 20181112

10. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 90%]

..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...

来源: Laya_社区 发布时间: 20180724