Commit 7af278e89a3bda374da333e4bd02094cc80f6999
1 parent
5516821e
0.0.6
Showing
2 changed files
with
2 additions
and
3 deletions
CNLiveCMineModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveCMineModule' | 10 | s.name = 'CNLiveCMineModule' |
| 11 | - s.version = '0.0.5' | 11 | + s.version = '0.0.6' |
| 12 | s.summary = '网家家C端个人中心' | 12 | s.summary = '网家家C端个人中心' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveCMineModule/Classes/inte/View/CNLiveCMineInteCollectionViewCell.m
| @@ -493,10 +493,9 @@ | @@ -493,10 +493,9 @@ | ||
| 493 | self.nameLabel.text = annouModel.title; | 493 | self.nameLabel.text = annouModel.title; |
| 494 | self.dateLabel.text = annouModel.publishTime; | 494 | self.dateLabel.text = annouModel.publishTime; |
| 495 | 495 | ||
| 496 | - if ([annouModel.tag isEqualToString:@"1"]) { | 496 | + if ([annouModel.model isEqualToString:@"roof"]) { |
| 497 | self.tagLabel.backgroundColor = UIColorHex(#F5A623); | 497 | self.tagLabel.backgroundColor = UIColorHex(#F5A623); |
| 498 | self.tagLabel.text = @" 置顶 "; | 498 | self.tagLabel.text = @" 置顶 "; |
| 499 | - | ||
| 500 | __weak typeof(self) weakSelf = self; | 499 | __weak typeof(self) weakSelf = self; |
| 501 | [self.nameLabel mas_updateConstraints:^(MASConstraintMaker *make) { | 500 | [self.nameLabel mas_updateConstraints:^(MASConstraintMaker *make) { |
| 502 | make.centerY.mas_equalTo(weakSelf.tagLabel); | 501 | make.centerY.mas_equalTo(weakSelf.tagLabel); |