| 1234567891011121314151617181920212223242526 |
- const { ccclass, property } = cc._decorator;
- @ccclass
- export default class FriendsItem extends cc.Component{
- @property({displayName: '头像', type: cc.Sprite})
- private sp_headPhoto: cc.Sprite = null;
- @property({displayName: '昵称', type: cc.Label})
- private lbl_name: cc.Label = null;
- @property({displayName: '看视频次数', type: cc.Label})
- private lbl_watchVideoTimes: cc.Label = null;
- @property({displayName: '累计贡献', type: cc.Label})
- private lbl_totalCon: cc.Label = null;
- start(){
- }
- public setItemData(data)
- {
- //this.InitUI(data);
- }
- }
|