






#import "GenreGenerateMillDolbyJoinCell.h"
#import "SaveWayTaps.h"
#import "Masonry.h"

@implementation GenreGenerateMillDolbyJoinCell

-(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.extentsMidView = [UIImageView new];
        self.extentsMidView.tintColor = [SaveWayTaps divideRunColor];
        self.extentsMidView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.extentsMidView];
        [self.extentsMidView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(SaveWayTaps.offerHitEasy.denseTooRope);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(SaveWayTaps.offerHitEasy.tagNotLonger);
        }];
        
        
        self.analysisName = [UILabel new];
        self.analysisName.font = [UIFont boldSystemFontOfSize:16];
        self.analysisName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.analysisName];
        [self.analysisName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.extentsMidView.mas_right).offset(SaveWayTaps.offerHitEasy.denseTooRope);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.farLargeEarTime = [UILabel new];
        self.farLargeEarTime.font =  [UIFont systemFontOfSize:11];
        self.farLargeEarTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.farLargeEarTime];
        [self.farLargeEarTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(SaveWayTaps.offerHitEasy.dueClipPlug);
            make.left.equalTo(self.analysisName);
        }];
    }
    return self;
}

@end
