提交
This commit is contained in:
@@ -184,6 +184,7 @@
|
||||
[weakSelf.delegate didClickOptionType:QXMainHeaderOptionTypeNobility];
|
||||
}
|
||||
}];
|
||||
self.nobilityBgView.hidden = YES;
|
||||
[self addSubview:self.nobilityBgView];
|
||||
|
||||
self.nobilityImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"mine_nobility_bg"]];
|
||||
@@ -347,13 +348,17 @@
|
||||
}
|
||||
|
||||
-(void)reloadData{
|
||||
if ([self.toolsArray containsObject:self.rechargeModel]) {
|
||||
return;
|
||||
}
|
||||
if (QXGlobal.shareGlobal.isOpenRecharge) {
|
||||
self.nobilityBgView.hidden = NO;
|
||||
if ([self.toolsArray containsObject:self.rechargeModel]) {
|
||||
return;
|
||||
}
|
||||
[self.toolsArray insertObject:self.rechargeModel atIndex:0];
|
||||
[self.collectionView reloadData];
|
||||
}else{
|
||||
self.nobilityBgView.hidden = YES;
|
||||
}
|
||||
[self.collectionView reloadData];
|
||||
|
||||
}
|
||||
-(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
|
||||
return self.toolsArray.count;
|
||||
@@ -410,6 +415,7 @@
|
||||
self.nameLabel.shimmerColor = [UIColor colorWithHexString:userModel.nickname_color];
|
||||
[self.nameLabel startShimmer];
|
||||
}else{
|
||||
self.nameLabel.shimmerColor = [UIColor clearColor];
|
||||
[self.nameLabel stopShimmer];
|
||||
}
|
||||
self.nameLabel.text = userModel.nickname;
|
||||
|
||||
Reference in New Issue
Block a user