大约有 46 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)
...ist.array = data; } function updateItem(cell, index) { cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })(); 2018-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180731
...lText.pos(0, 0); this.delText.width = 130; this.delText.height = 80; } get dataSource(){ return super.dataSource; } set dataSource(value) { super.dataSource = value; if (!value) return; this.LmsgTime.changeText(value.msgTime.text); this.LmsgTitle.changeText(value.msgTitle.text); this.redHot.visible ...
来源: Laya2.0_示例 发布时间: 20241117
...ist.getItem(xxx).getChildByName()无效,获取不到,我发现只要是DataSource里面没有定义的参数用list.getItem(xxx)都获取不到,list.getItem(xxx)就是list.datasource[xxx]吧? weiyongwill • 2017-01-06 11:21 "this.sList.getItem(...).getChildByName is not a function"...
来源: Laya_社区 发布时间: 20170105
...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numC...
来源: Laya3.0_api 发布时间: 20231115
...lor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D itemRender keepStatus left list mask mous...
来源: Laya3.0_api 发布时间: 20231115
...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
...Item, index: number) : void { cell.publicSpaceData = cell.dataSource; } module gamepublicspaceitem { export class PublicSpaceItem extends Laya.Box { public static BTN_ENTRER_CLICK:string = "BtnEnterClick"; public _publicSpaceData:datasheet.PublicSpaceData; private bg...
来源: Laya_社区 发布时间: 20170923
...bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBarSkin height hideFlags hitArea is3D itemRender ...
来源: Laya3.0_api 发布时间: 20231115
...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
...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