35 lines
925 B
Objective-C
35 lines
925 B
Objective-C
//
|
|
// WithdrawRecordTableViewCell.m
|
|
// ShenQi
|
|
//
|
|
// Created by Yao on 2024/11/9.
|
|
//
|
|
|
|
#import "WithdrawRecordTableViewCell.h"
|
|
|
|
@implementation WithdrawRecordTableViewCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
[self setSelectionStyle:(UITableViewCellSelectionStyleNone)];
|
|
}
|
|
|
|
-(void)setList:(WithdrawRecordList *)list
|
|
{
|
|
_list = list;
|
|
|
|
self.nameLabel.text = self.list.name;
|
|
self.bankLabel.text = [NSString stringWithFormat:@"(%@)",self.list.bankName];
|
|
self.amountLabel.text = [NSString stringWithFormat:@"%@:%.1f",NSLocalizedString(@"Amount", nil),self.list.amount];
|
|
self.balanceLabel.text = [NSString stringWithFormat:@"%@:%.1f",NSLocalizedString(@"Balance", nil),self.list.balance];
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|