27 lines
600 B
Mathematica
27 lines
600 B
Mathematica
|
|
//
|
||
|
|
// YYJYSimiGiftCell.m
|
||
|
|
// YaYin
|
||
|
|
//
|
||
|
|
// Created by bj_szd on 2023/7/27.
|
||
|
|
// Copyright © 2023 YaYin. All rights reserved.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "YYJYSimiGiftCell.h"
|
||
|
|
|
||
|
|
@implementation YYJYSimiGiftCell
|
||
|
|
|
||
|
|
- (void)awakeFromNib {
|
||
|
|
[super awakeFromNib];
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)setModel:(YYJYSimiGiftModel *)model {
|
||
|
|
_model = model;
|
||
|
|
|
||
|
|
[self.giftImgV sd_setImageWithURL:[NSURL URLWithString:model.base_image]];
|
||
|
|
self.nameLab.text = model.gift_name;
|
||
|
|
self.priceLab.text = [NSString stringWithFormat:@"%@", model.gift_price];
|
||
|
|
self.timeLab.text = [NSString stringWithFormat:@"+%lds", model.duration];
|
||
|
|
}
|
||
|
|
|
||
|
|
@end
|