cc.Class({ extends: cc.Component, properties: { skinSkeleton: sp.Skeleton, summaryLabel: cc.Label, nameLabel: cc.RichText, iconSripte: cc.Sprite, }, onLoad() { }, bind(jobInfo) { // skinSkeleton.skeletonData = this.nameLabel.string = '' + jobInfo.name + ''; this.summaryLabel.string = jobInfo.msg; // cc.loader.loadRes(secondIcon, cc.SpriteFrame, (error, spriteFrame) => { // this.iconSripte.spriteFrame = spriteFrame; // }); }, start() { }, // update (dt) {}, });