






#import "FisheyeCrossInfoRowVisitorCell.h"
#import "BigAddition.h"
#import "Masonry.h"

@implementation FisheyeCrossInfoRowVisitorCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.middlePoloView = [UIImageView new];
        self.middlePoloView.tintColor = [BigAddition portHumanColor];
        self.middlePoloView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.middlePoloView];
        [self.middlePoloView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(BigAddition.noiseFactMen.lossArranged);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(BigAddition.noiseFactMen.farsiInfoZip);
        }];
        
        
        self.nowCheckName = [UILabel new];
        self.nowCheckName.font = [UIFont boldSystemFontOfSize:16];
        self.nowCheckName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.nowCheckName];
        [self.nowCheckName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.middlePoloView.mas_right).offset(BigAddition.noiseFactMen.lossArranged);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.imageVisualTime = [UILabel new];
        self.imageVisualTime.font =  [UIFont systemFontOfSize:11];
        self.imageVisualTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.imageVisualTime];
        [self.imageVisualTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(BigAddition.noiseFactMen.lawPhotoTry);
            make.left.equalTo(self.nowCheckName);
        }];
    }
    return self;
}

@end
