//
//  NewsImagesCell.m
//  Open
//
//  Created by 雷俊博 on 2020/12/24.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import "NewsImagesCell.h"
#import "UIImageView+WebCache.h"

@implementation NewsImagesCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)refreshUIWithModel:(JHNewsModel *)model
{
    self.lb_title.text = model.title;
    [self.img1 sd_setImageWithURL:[NSURL URLWithString:model.news_pic_01]];
    [self.img2 sd_setImageWithURL:[NSURL URLWithString:model.news_pic_02]];
    [self.img3 sd_setImageWithURL:[NSURL URLWithString:model.news_pic_03]];
    self.lb_from.text = [NSString stringWithFormat:@"%@",model.news_from];
    self.lb_date.text = model.news_time;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
