30 lines
787 B
Mathematica
30 lines
787 B
Mathematica
|
|
//
|
||
|
|
// YYSubsidySetCell.m
|
||
|
|
// SweetParty
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2023/12/25.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "YYSubsidySetCell.h"
|
||
|
|
|
||
|
|
@implementation YYSubsidySetCell
|
||
|
|
|
||
|
|
- (void)awakeFromNib {
|
||
|
|
[super awakeFromNib];
|
||
|
|
|
||
|
|
[self.deleteBtn styleGradiBlueColor];
|
||
|
|
[self.settingBtn styleGradiBlueColor];
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)setModel:(YYSubsidySetModel *)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:@"ID:%@", model.uid];
|
||
|
|
self.valueLab.text = [NSString stringWithFormat:@"该用户可得:%.2f", model.subsidy_money];
|
||
|
|
self.fenpeiLab.text = [NSString stringWithFormat:@"分配比例:%@%%", model.ratio];
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|