Files
fanyin-ios/QXLive/Mine(音域)/View/我的房间/QXRoomSubsidyCell.m
2025-08-12 14:27:12 +08:00

37 lines
1.1 KiB
Objective-C

//
// QXRoomSubsidyCell.m
// IsLandVoice
//
// Created by 启星 on 2025/4/23.
//
#import "QXRoomSubsidyCell.h"
@implementation QXRoomSubsidyCell
+(instancetype)cellWithTableView:(UITableView *)tableView{
static NSString *cellId = @"QXRoomSubsidyCell";
QXRoomSubsidyCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
if (!cell) {
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
}
return cell;
}
-(void)setModel:(QXSubsidyDetailModel *)model{
_model = model;
self.allWaterLabel.text = [NSString stringWithFormat:@"累计流水:%.1f",model.total_transaction.doubleValue];
self.subsidyLabel.text = [NSString stringWithFormat:@"获得补贴:%.1f",model.subsidy_amount.doubleValue];
self.ststusLabel.text = model.status==1?@"已发放":@"未发放";
}
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end