






#import "RepeatsRunAlpineUrgentUnlockCell.h"
#import "WetDoneFill.h"
#import "Masonry.h"

@implementation RepeatsRunAlpineUrgentUnlockCell

-(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.tapPanLastView = [UIImageView new];
        self.tapPanLastView.tintColor = [WetDoneFill scrollHasColor];
        self.tapPanLastView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.tapPanLastView];
        [self.tapPanLastView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(WetDoneFill.artSensitive.dueLawInside);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(WetDoneFill.artSensitive.unionTrapThe);
        }];
        
        
        self.sumPowerName = [UILabel new];
        self.sumPowerName.font = [UIFont boldSystemFontOfSize:16];
        self.sumPowerName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.sumPowerName];
        [self.sumPowerName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.tapPanLastView.mas_right).offset(WetDoneFill.artSensitive.dueLawInside);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.youPlayThatTime = [UILabel new];
        self.youPlayThatTime.font =  [UIFont systemFontOfSize:11];
        self.youPlayThatTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.youPlayThatTime];
        [self.youPlayThatTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(WetDoneFill.artSensitive.kilogramTry);
            make.left.equalTo(self.sumPowerName);
        }];
    }
    return self;
}

@end
