增加换肤功能

This commit is contained in:
启星
2025-08-14 10:07:49 +08:00
parent f6964c1e89
commit 4f9318d98e
8789 changed files with 978530 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
//
// QXWithDrawRecordCell.m
// QXLive
//
// Created by on 2025/7/12.
//
#import "QXWithDrawRecordCell.h"
@implementation QXWithDrawRecordCell
+(instancetype)cellWithTableView:(UITableView *)tableView{
static NSString *cellId = @"QXWithDrawRecordCell";
QXWithDrawRecordCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
if (!cell) {
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
cell.backgroundColor = [UIColor clearColor];
}
return cell;
}
-(void)setModel:(QXWithDrawRecordModel *)model{
_model = model;
self.reasonLabel.text = model.name;
self.timeLabel.text = model.createtime;
self.priceLabel.text = [NSString stringWithFormat:@"%.2f",model.money.doubleValue];
self.statusLabel.text = model.status_str;
}
- (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