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

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

41. typescipt在一定范围内加载图片按照等比排列 [ 61%]

...der);   function onImgListRender(box: Laya.Box) {     let model = box.dataSource;     let panel = box.getChildByName('panel') as Laya.Panel;     let img = panel.getChildByName('img') as Laya.Image;      img.skin = model;     let reset = function () {         let source ...

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

42. list图片路径没问题.为什么图片就是不显示.啊啊啊也,求解答 [ 61%]

...tem(cell:FurnitureItemCell, index:number):void { cell.furnitureInfo = cell.dataSource; } http://layaair.ldc.layabox.com ... DList 官方例子也有。 你不写逻辑,代码它自己怎么知道你要显示图片呢~~~~~ z624697 • 2018-03-21 16:55 恩恩。我再看看.非常感谢.谢谢 z6246...

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

43. list组件里面使用box作为渲染项,在渲染项里面再嵌套一个box,这里面的数据该怎么渲染呢 [ 60%]

...一个box,这里面的数据该怎么渲染呢 使用 _data={name值:{datasource:‘dd’}} 这样不能不渲染到渲染项内部box的数据,该怎么做的呢? 2018-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

44. 怎么设置了label的text属性,没有生效啊? [ 60%]

...0 分享 微博 QZONE 微信 youxin 赞同来自:         this.box.dataSource = {slider: 50, scroll: 80, progress: 0.2, input: "This is a input", label: {color: "#ff0000", text: "Hello LayaAir"}};                  this.TestLablel.text = "测试测试"; 官网提供,默认de...

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

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

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

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

46. List翻页效果 [ 60%]

...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_社区 发布时间: 20171202

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

...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_社区 发布时间: 20181112

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

...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

49. label 第一次赋值不能为0 [ 58%]

...事件不生效? 官方有没有animation中label事件使用的教程 DataSource怎么使用网路图片的路径赋值 textinput移除后再添加会将之前的内容全部赋值给全部input FLASH打包 官方UI DEMO 点击赋值 不能赋值 2.0 beta4 ts 含demo 在纵向滑动 list 的 rend...

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

50. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 57%]

...++++++++++++++') console.log(_super); console.log(fooddata); self.foodList.dataSource = fooddata;  //实例化角色容器 var foodBox = new Laya.Sprite(); //添加到舞台上 console.log(self.foodBox); Laya.stage.addChild(foodBox); self.foodBox = fooddata; console.log(self.foodBox); 2018-12-21 ...

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