// // LMTixianRecordTableViewCell.m // SweetParty // // Created by Xmac on 2024/9/25. // #import "LMTixianRecordTableViewCell.h" #import "NSString+category.h" @implementation LMTixianRecordTableViewCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setModel:(LMTixianRecordListModel *)model { _model = model; self.txTitleLabel.text = @"收益提现"; self.txTimeLabel.text = model.add_time.formateDateYMD_HM; self.txMoneyLabel.text = model.general_money; if (model.status == 1){ self.txStatusLabel.text = @"待审核"; }else if (model.status == 2){ self.txStatusLabel.text = @"已到账"; }else if (model.status == 3){ self.txStatusLabel.text = @"打款失败"; }else{ self.txStatusLabel.text = @"未知"; } } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } @end