_label= [[UILabel alloc]init];
_label.autoresizingMask = UIViewAutoresizingFlexibleWidth;
_label.text = @"我推广的人";
_label.textColor = [UIColor grayColor];
_label.textAlignment = NSTextAlignmentCenter;
_label.lineBreakMode = NSLineBreakByWordWrapping;
_label.font = [UIFont fontWithName:@"AmericanTypewriter" size:14];
_label.numberOfLines = 1;
[_label sizeToFit];
_label.adjustsFontSizeToFitWidth = YES;
_label.userInteractionEnabled = YES;
[self.view addSubview:_label];
[_label mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.mas_equalTo(5);
make.top.mas_equalTo(80);
}];