cc.Class({ extends: cc.Component, properties: { skinSkeleton: sp.Skeleton, }, onLoad() { }, bind(jobInfo) { // skinSkeleton.skeletonData = // this.nameLabel.string = '' + jobInfo.name + ''; // this.summaryLabel.string = jobInfo.msg; // let picId = 50000 + jobInfo.id; // this.titleText.string = ` ${jobInfo.name}` // cc.loader.loadRes(jobInfo.picId, cc.SpriteFrame, (error, spriteFrame) => { // this.iconSripte.spriteFrame = spriteFrame; // }); }, start() { }, // update (dt) {}, });