//
//  NewsListTableViewCell.m
//  KKCivilAd
//
//  Created by 雷俊博 on 2019/11/30.
//  Copyright © 2019 雷俊博. All rights reserved.
//

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

@implementation NewsListTableViewCell

- (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]];
    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
