27 lines
579 B
Objective-C
Executable File
27 lines
579 B
Objective-C
Executable File
//
|
|
// SPGonghuiListCell.m
|
|
// SweetParty
|
|
//
|
|
// Created by bj_szd on 2022/6/29.
|
|
//
|
|
|
|
#import "SPGonghuiListCell.h"
|
|
|
|
@implementation SPGonghuiListCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
}
|
|
|
|
- (void)setModel:(SPGonghuiListModel *)model {
|
|
_model = model;
|
|
|
|
[self.imgV sd_setImageWithURL:[NSURL URLWithString:model.cover] placeholderImage:kDefaultUserIcon];
|
|
self.nameLab.text = model.guild_name;
|
|
self.valueLab.text = model.total_gift_total_price;
|
|
self.num.text = [NSString stringWithFormat:@"%@人",model.num];
|
|
}
|
|
|
|
@end
|