






#import "OfficialNearNicknameClickedGigahertzCell.h"
#import "SumWorkTrad.h"
#import "Masonry.h"

@implementation OfficialNearNicknameClickedGigahertzCell

-(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.sobKeepRunView = [UIImageView new];
        self.sobKeepRunView.tintColor = [SumWorkTrad alphaPingColor];
        self.sobKeepRunView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.sobKeepRunView];
        [self.sobKeepRunView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(SumWorkTrad.fastAgeWidth.databasesBus);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(SumWorkTrad.fastAgeWidth.lookupUnsafe);
        }];
        
        
        self.runAcuteName = [UILabel new];
        self.runAcuteName.font = [UIFont boldSystemFontOfSize:16];
        self.runAcuteName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.runAcuteName];
        [self.runAcuteName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.sobKeepRunView.mas_right).offset(SumWorkTrad.fastAgeWidth.databasesBus);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.andFitRightTime = [UILabel new];
        self.andFitRightTime.font =  [UIFont systemFontOfSize:11];
        self.andFitRightTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.andFitRightTime];
        [self.andFitRightTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(SumWorkTrad.fastAgeWidth.danceDuplex);
            make.left.equalTo(self.runAcuteName);
        }];
    }
    return self;
}

@end
