//
//  ScreeningCollectionViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 16/6/1.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "ScreeningCollectionViewCell.h"

@implementation ScreeningCollectionViewCell


- (void)setModel:(SceneListModel *)model
{
    _model = model;
    [self.sceneImageView sd_setImageWithURL:[NSURL URLWithString:_model.pricure] placeholderImage:REPLACEIMAGE];
    if (_model.isSelectedSate) {
        self.layer.borderWidth = 2.0f;
        self.layer.borderColor = kMainBlueColor.CGColor;
    }else
    {
        self.layer.borderWidth = 0.f;
    }
}

@end
