35 lines
959 B
Mathematica
35 lines
959 B
Mathematica
|
|
//
|
||
|
|
// YYRoomSetPeopleCell.m
|
||
|
|
// SweetParty
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2022/6/8.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "YYRoomSetPeopleCell.h"
|
||
|
|
|
||
|
|
@interface YYRoomSetPeopleCell ()
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
@implementation YYRoomSetPeopleCell
|
||
|
|
|
||
|
|
- (void)awakeFromNib {
|
||
|
|
[super awakeFromNib];
|
||
|
|
|
||
|
|
[self.settingBtn styleGradiBlueColor];
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)setModel:(YYRoomSetPeopleModel *)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.biliLab_1.text = [NSString stringWithFormat:@"%@%%", model.ratio];
|
||
|
|
self.biliLab_2.text = [NSString stringWithFormat:@"%@%%", model.room_owner_ratio];
|
||
|
|
// self.shouyiLab.text = [NSString stringWithFormat:@"¥%@", model.today_profit];
|
||
|
|
// self.timeLab.text = [NSString stringWithFormat:@"今日主持时长 %@分钟", model.today_host_time];
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|