[self.bgView addSubview:self.progressImageView];
[self.progressImageView mas_makeConstraints:^(MASConstraintMaker *make) { make.left.mas_equalTo(self.nameLabel.mas_right).with.offset();
make.centerY.mas_equalTo(self.iconImageView);
make.width.mas_equalTo(self.progressBgView).multipliedBy();
make.height.mas_equalTo();
}];
使用 multipliedBy 设置一个控件的宽是另一个宽的倍数