大约有 1 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0013 秒)
...renderListItem(索引,getChildAt(索引))就可以了。 如果要侦听点击某一个item的事件,不必每个item加上Click事件的侦听器,而是直接侦听列表的ClickItem事件: list.on(Laya.UIEvent.ClickItem, this, this.onClickItem); // 回调函数的第一个参数就是当...
来源: Laya3.0_文档 发布时间: 20251128