//
//  NewsList2Cell.m
//  KKCivilAd
//
//  Created by 雷俊博 on 2020/9/15.
//  Copyright © 2020 雷俊博. All rights reserved.
//

#import "NewsList2Cell.h"
#import "UIImageView+WebCache.h"
#import "UITableViewCell+TABLayoutSubviews.h"
#import "UIView+TABAnimated.h"
#import <TABKit/TABKit.h>

@implementation NewsList2Cell

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

- (void)refreshUIWithModel:(JHNewsModel *)model
{
    self.lb_content.text = model.title;
    [self.icon 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
