






#import "PeriodicDefineDublinWetSpaCell.h"
#import "AlbumBoxSex.h"
#import "Masonry.h"

@implementation PeriodicDefineDublinWetSpaCell

-(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.slopeFrontView = [UIImageView new];
        self.slopeFrontView.tintColor = [AlbumBoxSex panIodineColor];
        self.slopeFrontView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.slopeFrontView];
        [self.slopeFrontView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(AlbumBoxSex.catalanHertz.subBypassFix);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(AlbumBoxSex.catalanHertz.resetSpaLast);
        }];
        
        
        self.disallowName = [UILabel new];
        self.disallowName.font = [UIFont boldSystemFontOfSize:16];
        self.disallowName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.disallowName];
        [self.disallowName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.slopeFrontView.mas_right).offset(AlbumBoxSex.catalanHertz.subBypassFix);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.itsDigitOptTime = [UILabel new];
        self.itsDigitOptTime.font =  [UIFont systemFontOfSize:11];
        self.itsDigitOptTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.itsDigitOptTime];
        [self.itsDigitOptTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(AlbumBoxSex.catalanHertz.talkIllWire);
            make.left.equalTo(self.disallowName);
        }];
    }
    return self;
}

@end
