3
This commit is contained in:
@@ -22,10 +22,11 @@
|
||||
[self.coverView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.right.equalTo(self.contentView);
|
||||
// 高度按照宽度等比(接近截图比例)
|
||||
make.height.equalTo(self.contentView.mas_width).multipliedBy(0.58);
|
||||
// make.height.equalTo(self.contentView.mas_width).multipliedBy(0.58);
|
||||
make.height.mas_equalTo(KBFit(264));
|
||||
}];
|
||||
[self.leftLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.equalTo(self.contentView).offset(12);
|
||||
make.left.equalTo(self.contentView).offset(0);
|
||||
make.top.equalTo(self.coverView.mas_bottom).offset(10);
|
||||
}];
|
||||
[self.rightLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
Reference in New Issue
Block a user