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

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

11. List滚动条问题 [ 85%]

...common\\BalanceSellDlg\\xiaodou.png",hot:1,orderCount:9} cell.setGold(cell.dataSource.balance + cell.dataSource.gift); cell.setGoldImage(cell.dataSource.imgPath); cell.setPrice(cell.dataSource.price); }   附件 : --> 2017-04-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

12. 缓动-缓动函数演示 [ 85%]

...nctionsList.array = data; } function renderList(item) { item.setLabel(item.dataSource); } function onEaseFunctionChange(list) { character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedItem]); } function createDurationCrontroller() {...

来源: Laya_示例 发布时间: 20251130

13. 缓动-缓动函数演示 [ 81%]

...); easeFunctionsList.array = data; } renderList(item) { item.setLabel(item.dataSource); } onEaseFunctionChange(list) { const Tween = Laya.Tween, Ease = Laya.Ease; character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedItem]); } cre...

来源: Laya2.0_示例 发布时间: 20251130

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

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

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

...ist.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); }     我想实现的效果是   设置每个特效宽高都为80 * 80   然后一排显示3个 界...

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

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

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

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

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

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

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

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

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

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

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

20. list里面可以加入多个view吗? [ 75%]

...; } private function onRender(cell:Item,index:int):void { cell.setImg(cell.dataSource.src); cell.setLabel(cell.dataSource.txt); } } } import laya.ui.Image; import laya.ui.Label; import laya.ui.View; class Item extends View { public static var WID:int=150; public static var HEI:int=85; private var im...

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