Skip to content

Commit fa61ff7

Browse files
committed
项目首页-页面调整
1 parent 856decf commit fa61ff7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Coding_iOS/Views/Cell/ProjectInfoCell.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ - (void)layoutSubviews{
115115
make.left.equalTo(_proImgView.mas_right).offset(pading);
116116
make.width.mas_lessThanOrEqualTo(titleWidth);
117117
if (hasDetail) {
118-
make.bottom.equalTo(_proImgView.mas_centerY);
118+
make.centerY.equalTo(_proImgView.mas_centerY).offset(-kProjectInfoCell_ProImgViewWidth/5);
119119
}else{
120120
make.centerY.equalTo(_proImgView.mas_centerY);
121121
}
@@ -130,7 +130,7 @@ - (void)layoutSubviews{
130130
[_proInfoL mas_makeConstraints:^(MASConstraintMaker *make) {
131131
make.left.equalTo(_proTitleL);
132132
make.right.equalTo(self.contentView.mas_right).offset(-pading);
133-
make.top.equalTo(_proTitleL.mas_bottom).offset(5);
133+
make.centerY.equalTo(_proImgView.mas_centerY).offset(kProjectInfoCell_ProImgViewWidth/5);
134134
make.height.mas_equalTo(15);
135135
}];
136136
[_lineView mas_makeConstraints:^(MASConstraintMaker *make) {

0 commit comments

Comments
 (0)