This commit is contained in:
启星
2025-12-04 14:11:00 +08:00
parent 2d37ab6844
commit 1c5a908dda
49 changed files with 505 additions and 192 deletions

View File

@@ -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;