29 lines
772 B
Objective-C
Executable File
29 lines
772 B
Objective-C
Executable File
//
|
|
// GMMicCharmCell.m
|
|
// romantic
|
|
//
|
|
// Created by MAC on 2022/12/29.
|
|
// Copyright © 2022 romantic. All rights reserved.
|
|
//
|
|
|
|
#import "GMMicCharmCell.h"
|
|
|
|
@implementation GMMicCharmCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
}
|
|
|
|
- (void)setModel:(GMMicCharmModel *)model {
|
|
_model = model;
|
|
|
|
[self.iconImageView sd_setImageWithURL:[NSURL URLWithString:model.head_pic] placeholderImage:kDefaultUserIcon];
|
|
self.nameLabel.text = model.nick_name;
|
|
self.valueLabel.text = model.change_value;
|
|
self.IDLab.text = [NSString stringWithFormat:@"ID:%@", model.uid];
|
|
[self.gxImgV sd_setImageWithURL:[NSURL URLWithString:model.contribution_level_image]];
|
|
[self.mlImgV sd_setImageWithURL:[NSURL URLWithString:model.charm_level_image]];
|
|
}
|
|
|
|
@end
|