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

大约有 20 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0033 秒)

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

...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("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(ind...

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

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

...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("config/i18n.json"); text_info.text = i18n[`tips_text$text_i18n$${1101 + index}`][ConfigInfo.lang] } public setCurPage(ind...

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

13. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 74%]

...ist.array = data; }   function updateItem(cell, index) { cell.setImg(cell.dataSource); }   function onSelect(index) { console.log("当前选择的索引:" + index); } })(); 2018-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

14. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 71%]

...} list.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); ```

来源: Laya2.0_文档 发布时间: 20210714

15. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 70%]

...; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public st...

来源: Laya2.0_文档 发布时间: 20210715

16. 微信小游戏关系链 我创建了一个开放域的项目 但是报错了 [ 68%]

...rankList.array = data; function updateItem(cell, index) { cell.setImg(cell.dataSource); }  发布小游戏将code.js 发到开放域设置的目录下面改名为index.js  报错了 具体图片如下     附件 : --> 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

17. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 68%]

...x:int):void { //用获得的数据给图片更换皮肤 cell.img.skin=cell.dataSource; } /***选择单元格回调***/ private function onSelect(index:int):void { trace("当前选择的索引:" + index); } } } //单元格类,继承于Box import laya.ui.Box; import laya.ui.Image; class Item exten...

来源: Laya2.0_文档 发布时间: 20210715

18. 列表组件 · LayaAir3.0文档 · LAYABOX [ 67%]

...; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor...

来源: Laya3.0_文档 发布时间: 20230927

19. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 65%]

...ull, onLoaded)); }*/  function updateItem(cell, index) { cell.setImg(cell.dataSource); }  function onLoaded(): void {      var rankList = new Laya.List();      //rankList.scrollBar.elasticBackTime = 200;    //rankList.scrollBar.elasticBackTime = 200;//设置橡皮筋回弹时间。单...

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

20. 【LIST无法拖动】参照官方实例做的 [ 64%]

...rivate updateItem(cell: Item): void {         cell.setImg(cell.dataSource);      }     private onSelect(index: number): void {         console.log("当前选择的索引:" + index);         console.log("目的是哪一关" + this.box_arr[index]);    ...

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