粉丝团任务数据更新

This commit is contained in:
chenguilong
2022-04-15 15:48:57 +08:00
parent f81be36d34
commit e6785796f7
5 changed files with 13 additions and 4 deletions

View File

@@ -267,6 +267,7 @@
if (roomInfo.type == RoomType_Anchor) {
[self.contributionButton setTitle:@"主播榜" forState:UIControlStateNormal];
self.anchorGiftValueView.hidden = !roomInfo.showGiftValue;
self.fansTeamEntranceView.hidden = NO;
if (!roomInfo.showGiftValue) {
self.anchorGiftValueView.giftValue = 0;
}
@@ -283,6 +284,7 @@
} else {
[self.contributionButton setTitle:@"房间榜" forState:UIControlStateNormal];
self.anchorGiftValueView.hidden = YES;
self.fansTeamEntranceView.hidden = YES;
[self.contributionButton mas_updateConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(kNavigationHeight);
}];