






#import "PrivacyConvertYouPagerMinderCell.h"
#import "WinNeedHang.h"
#import "Masonry.h"

@implementation PrivacyConvertYouPagerMinderCell

-(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.eraTwitterView = [UIImageView new];
        self.eraTwitterView.tintColor = [WinNeedHang suspendedColor];
        self.eraTwitterView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.eraTwitterView];
        [self.eraTwitterView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(WinNeedHang.chargePenSin.littleTabAre);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(WinNeedHang.chargePenSin.clangTypeFax);
        }];
        
        
        self.wetSpaceName = [UILabel new];
        self.wetSpaceName.font = [UIFont boldSystemFontOfSize:16];
        self.wetSpaceName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.wetSpaceName];
        [self.wetSpaceName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.eraTwitterView.mas_right).offset(WinNeedHang.chargePenSin.littleTabAre);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.yetRatioTheTime = [UILabel new];
        self.yetRatioTheTime.font =  [UIFont systemFontOfSize:11];
        self.yetRatioTheTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.yetRatioTheTime];
        [self.yetRatioTheTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(WinNeedHang.chargePenSin.dashGetSwap);
            make.left.equalTo(self.wetSpaceName);
        }];
    }
    return self;
}

@end
