增加换肤功能
This commit is contained in:
37
QXLive/Mine(音域)/View/每日任务/QXTaskGiftRecordCell.m
Normal file
37
QXLive/Mine(音域)/View/每日任务/QXTaskGiftRecordCell.m
Normal file
@@ -0,0 +1,37 @@
|
||||
//
|
||||
// QXTaskGiftRecordCell.m
|
||||
// QXLive
|
||||
//
|
||||
// Created by 启星 on 2025/7/11.
|
||||
//
|
||||
|
||||
#import "QXTaskGiftRecordCell.h"
|
||||
|
||||
@implementation QXTaskGiftRecordCell
|
||||
+(instancetype)cellWithTableView:(UITableView *)tableView{
|
||||
static NSString *cellId = @"QXTaskGiftRecordCell";
|
||||
QXTaskGiftRecordCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
|
||||
if (!cell) {
|
||||
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
|
||||
cell.backgroundColor = [UIColor clearColor];
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
-(void)setModel:(QXTaskGiftBoxRecordModel *)model{
|
||||
_model = model;
|
||||
self.titleLabel.text = model.createtime;
|
||||
self.nameLabel.text = model.gift_bag_name;
|
||||
self.giftLabel.text = model.gift_name;
|
||||
}
|
||||
- (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
|
||||
Reference in New Issue
Block a user