Commit 3a590b2adaa109388d0de490a9bdb936e9e0c5af

Authored by zhangxiaowen
1 parent 8bb4dfa0

no message

CNLiveScioLive/Pages/Home/外宣要闻/View/CNLiveNewsLeftPicTableViewCell.m
@@ -70,6 +70,7 @@ @@ -70,6 +70,7 @@
70 _projectLabel.layer.cornerRadius = 2; 70 _projectLabel.layer.cornerRadius = 2;
71 [self.contentView addSubview:_projectLabel]; 71 [self.contentView addSubview:_projectLabel];
72 72
  73 + [self xw_layoutSubviews];
73 } 74 }
74 return self; 75 return self;
75 76
@@ -109,8 +110,7 @@ @@ -109,8 +110,7 @@
109 } 110 }
110 111
111 } 112 }
112 -- (void)layoutSubviews{  
113 - [super layoutSubviews]; 113 +- (void)xw_layoutSubviews{
114 [_backgroundImage mas_remakeConstraints:^(MASConstraintMaker *make) { 114 [_backgroundImage mas_remakeConstraints:^(MASConstraintMaker *make) {
115 make.left.equalTo(self.mas_left).with.offset(10); 115 make.left.equalTo(self.mas_left).with.offset(10);
116 make.right.equalTo(self.mas_right).with.offset(-10); 116 make.right.equalTo(self.mas_right).with.offset(-10);