覆盖羽声

This commit is contained in:
启星
2025-10-20 09:43:10 +08:00
parent affed1af58
commit 0d82f9e0ef
1331 changed files with 43209 additions and 14707 deletions

View File

@@ -18,6 +18,9 @@
}
return cell;
}
-(void)setIsCoin:(BOOL)isCoin{
_isCoin = isCoin;
}
-(void)setModel:(QXCoinDetailModel *)model{
_model = model;
self.reasonLabel.text = model.remarks;
@@ -26,7 +29,12 @@
formatter.dateFormat = @"yyyy-MM-dd HH:mm:ss";
NSString*time = [formatter stringFromDate:date];
self.timeLabel.text = time;
self.priceLabel.text = [NSString stringWithFormat:@"%.2f",model.change_value.doubleValue];
if (self.isCoin) {
self.priceLabel.text = [NSString stringWithFormat:@"%.2f",model.change_value.doubleValue];
}else{
self.priceLabel.text = [NSString stringWithFormat:@"%.4f",model.change_value.doubleValue];
}
}
- (void)awakeFromNib {
[super awakeFromNib];