Commit 7af278e89a3bda374da333e4bd02094cc80f6999
1 parent
5516821e
0.0.6
Showing
2 changed files
with
2 additions
and
3 deletions
CNLiveCMineModule.podspec
CNLiveCMineModule/Classes/inte/View/CNLiveCMineInteCollectionViewCell.m
| ... | ... | @@ -493,10 +493,9 @@ |
| 493 | 493 | self.nameLabel.text = annouModel.title; |
| 494 | 494 | self.dateLabel.text = annouModel.publishTime; |
| 495 | 495 | |
| 496 | - if ([annouModel.tag isEqualToString:@"1"]) { | |
| 496 | + if ([annouModel.model isEqualToString:@"roof"]) { | |
| 497 | 497 | self.tagLabel.backgroundColor = UIColorHex(#F5A623); |
| 498 | 498 | self.tagLabel.text = @" 置顶 "; |
| 499 | - | |
| 500 | 499 | __weak typeof(self) weakSelf = self; |
| 501 | 500 | [self.nameLabel mas_updateConstraints:^(MASConstraintMaker *make) { |
| 502 | 501 | make.centerY.mas_equalTo(weakSelf.tagLabel); | ... | ... |