首次提交
This commit is contained in:
30
SweetParty/主类/音悦新增/麦位弹框子列表/YYSetHostCell.m
Executable file
30
SweetParty/主类/音悦新增/麦位弹框子列表/YYSetHostCell.m
Executable file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// YYSetHostCell.m
|
||||
// SweetParty
|
||||
//
|
||||
// Created by bj_szd on 2022/6/8.
|
||||
//
|
||||
|
||||
#import "YYSetHostCell.h"
|
||||
|
||||
@interface YYSetHostCell ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation YYSetHostCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
|
||||
}
|
||||
|
||||
- (void)setModel:(SPFocusFansModel *)model {
|
||||
_model = model;
|
||||
|
||||
[self.avatarImgV sd_setImageWithURL:[NSURL URLWithString:model.head_pic] placeholderImage:kDefaultUserIcon];
|
||||
self.nicknameLab.text = model.nick_name;
|
||||
self.IDLab.text = [NSString stringWithFormat:@"%@", model.uid];
|
||||
self.sexImgV.image = model.sex == 1 ? ImageNamed(@"sex_nan") : ImageNamed(@"sex_nv");
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user