大约有 75 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...es/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); 2018-07-31 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20180731
... 2018-05-08 0 1 分享 微博 QZONE 微信 Miller 赞同来自: rankList.array = data; rankList.height = 670; 我试了一下,大概高度超过670这个list高度就不变了,即使把高度设置成1000,list也是显示这么长。往小的方向改是可以有效果的,但超过670就对l...
来源: Laya_社区 发布时间: 20180507
...{ vdata.push({name:{text:'gggg'}}); //压入三个view对象 } this.lister.array = vdata; this.lister.vScrollBarSkin = ""; this.lister.scrollBar.hide = true; 整体UI结构: VIEW -----list --------view -------------label 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170626
...ui/listskins/4.jpg"); // data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } function updateItem(cell, index) { cell.label.text = cell.dataSource.lb; cell.input.text = cell.dataSource.value; // cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索...
来源: Laya_社区 发布时间: 20180312
...ass LayaUISample { private var listP:ListPageUI;//UI面板 private var arr:Array;//list数据数组 public function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader....
来源: Laya_社区 发布时间: 20170313
...的第一点 布局截图 代码截图 如图使用这个写法说找不到array,在群里有朋友说可以去掉array 代码如下图,运行不抱异常了 紧接着出现的问题是1:列表没有赋值成功;2、列表不能滚动 问题3:为什么我写.array就找不到呢, 同...
来源: Laya_社区 发布时间: 20180323
...ush("res/ui/listskins/4.jpg"); data.push("res/ui/listskins/5.jpg"); } list.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); ```
来源: Laya2.0_文档 发布时间: 20210714
...Hello LayaAir" } }; //list赋值,先获得一个数据源数组 var arr: Array = []; for (var i: number = 0; i < 100; i++) { arr.push({ label: "item " + i, clip: i % 9 }); } //给list赋值更改list的显示 this.list.array = arr; //还可以自定义list渲染方式,可以打开下面注释看...
来源: Laya_示例 发布时间: 20261115
...Hello LayaAir" } }; //list赋值,先获得一个数据源数组 var arr: Array = []; for (var i: number = 0; i < 100; i++) { arr.push({ label: "item " + i, clip: i % 9 }); } //给list赋值更改list的显示 this.list.array = arr; //还可以自定义list渲染方式,可以打开下面注释看...
来源: Laya2.0_示例 发布时间: 20200319
...览: 727 关注: 3 人 rider • 2018-03-22 19:33 private var chatListData:Array=[ {state:1,day:"2/24",time:"13:00",news:"呵呵哒z1,呵呵哒,哈哈哈漂亮"}, {state:0,day:"2/23",time:"13:00",news:"你好呵呵哒,哈哈哈漂亮"...
来源: Laya_社区 发布时间: 20180319