






#import "TryEndpointLighterFitFunCell.h"
#import "TooCloudSun.h"
#import "Masonry.h"

@implementation TryEndpointLighterFitFunCell

-(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.fourthQuitView = [UIImageView new];
        self.fourthQuitView.tintColor = [TooCloudSun semicolonColor];
        self.fourthQuitView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.fourthQuitView];
        [self.fourthQuitView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(TooCloudSun.seeFocusSlab.inuitSideDry);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(TooCloudSun.seeFocusSlab.valuePingCap);
        }];
        
        
        self.swimmingName = [UILabel new];
        self.swimmingName.font = [UIFont boldSystemFontOfSize:16];
        self.swimmingName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.swimmingName];
        [self.swimmingName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.fourthQuitView.mas_right).offset(TooCloudSun.seeFocusSlab.inuitSideDry);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.standardFarTime = [UILabel new];
        self.standardFarTime.font =  [UIFont systemFontOfSize:11];
        self.standardFarTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.standardFarTime];
        [self.standardFarTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(TooCloudSun.seeFocusSlab.arteryVisit);
            make.left.equalTo(self.swimmingName);
        }];
    }
    return self;
}

@end
