This commit is contained in:
启星
2025-10-25 19:38:29 +08:00
parent 3a5cf56099
commit 90709a94c4
144 changed files with 890 additions and 821 deletions

View File

@@ -13,17 +13,18 @@
QXRankCPListCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
if (!cell) {
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
cell.backgroundColor = UIColor.clearColor;
}
return cell;
}
//-(void)setModel:(SRRankListResponseModel *)model{
// _model = model;
// [self.headerImageView1 sd_setImageWithURL:[NSURL URLWithString:model.head_picture1] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
// [self.headerImageView2 sd_setImageWithURL:[NSURL URLWithString:model.head_picture2] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
// self.nameLabel.text = [NSString stringWithFormat:@"%@\n%@",model.nickname1,model.nickname2];
// self.valueLabel.text = model.number;
// self.numberLabel.text = model.rank;
//}
-(void)setModel:(QXMyRankModel *)model{
_model = model;
[self.headerImageView1 sd_setImageWithURL:[NSURL URLWithString:model.user_avatar] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
[self.headerImageView2 sd_setImageWithURL:[NSURL URLWithString:model.user_avatar1] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
self.nameLabel.text = [NSString stringWithFormat:@"%@\n%@",model.nickname,model.nickname1];
self.valueLabel.text = [NSString qx_showHotCountNum:model.total.longLongValue];
self.numberLabel.text = model.rank;
}
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code