27 lines
610 B
Objective-C
Executable File
27 lines
610 B
Objective-C
Executable File
//
|
|
// SPGiftMingxiCell.m
|
|
// SweetParty
|
|
//
|
|
// Created by bj_szd on 2022/6/27.
|
|
//
|
|
|
|
#import "SPGiftMingxiCell.h"
|
|
|
|
@implementation SPGiftMingxiCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
}
|
|
|
|
- (void)setModel:(SPGiftMingxiModel *)model {
|
|
_model = model;
|
|
|
|
[self.giftImgV sd_setImageWithURL:[NSURL URLWithString:model.base_image]];
|
|
self.giftNameLab.text = [NSString stringWithFormat:@"%@x%@", model.gift_name, model.gift_num];
|
|
self.giftPriceLab.text = model.gift_total_price;
|
|
self.timeLab.text = [NSString timestampToDateString:model.add_time];
|
|
}
|
|
|
|
@end
|