






#import "MegahertzForkHomeEyeExecutionCell.h"
#import "BounceBrief.h"
#import "Masonry.h"

@implementation MegahertzForkHomeEyeExecutionCell

-(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.queryNonceView = [UIImageView new];
        self.queryNonceView.tintColor = [BounceBrief randomIllColor];
        self.queryNonceView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.queryNonceView];
        [self.queryNonceView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(BounceBrief.cropSobCanon.unableOpaque);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(BounceBrief.cropSobCanon.plainPlayAsk);
        }];
        
        
        self.earlyTooName = [UILabel new];
        self.earlyTooName.font = [UIFont boldSystemFontOfSize:16];
        self.earlyTooName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.earlyTooName];
        [self.earlyTooName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.queryNonceView.mas_right).offset(BounceBrief.cropSobCanon.unableOpaque);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.andWayPowerTime = [UILabel new];
        self.andWayPowerTime.font =  [UIFont systemFontOfSize:11];
        self.andWayPowerTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.andWayPowerTime];
        [self.andWayPowerTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(BounceBrief.cropSobCanon.maintainPub);
            make.left.equalTo(self.earlyTooName);
        }];
    }
    return self;
}

@end
