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

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

41. list 加载动画为什么实现的效果会错乱掉? [ 83%]

...m); Laya.stage.addChild(list); list.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); }     我想实现的效果是   设置每个特效宽高都为80 * 8...

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

42. list只能显示一个图片 [ 83%]

...index){ console.log(index + ' selected'); } _proto.onRenderList = function(cell,index){ console.log(cell.dataSource); //如果索引不再可索引范围,则终止该函数 if(index > this.data.length)return; //获取当前渲染条目的数据 var listData = this.data[index]; console.log(listD...

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

43. [LayaAir3]LayaAir 3.3.6 切换坐标,再切换显示组件,坐标错误 [ 81%]

...标错误 示例附件传了 assets/BugDemo/ItemSort.lh box下面子结点cell ,cell里有两个itm用控制器切换显示,改下cell位置再切换item,里面item还在老位置... 实测最新3.3.6必现,之前3.3.5正常   附件 : --> LayDemo.zip 2026-01-07 添加评论 免费帖 --> 分享 ...

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

44. 不等高的list,有人做过吗。 [ 81%]

... 0 分享 微博 QZONE 微信 130*****753 赞同来自: Laya 自带的List cell 不支持修改宽高,就没法不等高了。我也有这个需求,我做的聊天气泡。使用fairyGui得GList结合laya。可以实现每个cell得宽高自定义。 下图是效果,每个聊天气泡是list...

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

45. 升级引擎到1.7.19.1beta List报错问题 [ 81%]

升级引擎到1.7.19.1beta List报错问题 升级引擎后List._cells在调用父类构造函数之后,导致继承List的类设置itemRender报错,希望Laya技术留意下;   解决方案: 需要把_cells和_offset放置到super.call()前 附件 : --> 2018-08-10 添加评论 免费帖 ...

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

46. List翻页效果 [ 80%]

...bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes(...

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

47. List翻页效果怎么实现 [ 80%]

...bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes(...

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

48. [LayaAir3]laya3.2 使用list.getCell时 list长度超过ceil时,有问题 [ 80%]

[LayaAir3]laya3.2 使用list.getCell时 list长度超过ceil时,有问题 我不知道是不是我用法不对,目前没有找到其他用法。暂时用panel解决。 demo设置cell为9个  list长度为20 列表拉到最下面以后调用getCeil(0)   返回undefined 列表拉到最上面...

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

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

...bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes(...

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

50. 请问laya有没有类似翻页容器(pageView)的组件? [ 79%]

...bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes(...

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