This commit is contained in:
启星
2025-11-21 16:17:05 +08:00
parent 7ac937ddbf
commit 8913ea6f48
283 changed files with 8474 additions and 800 deletions

View File

@@ -87,7 +87,9 @@
self.nameLabel = [[CKShimmerLabel alloc] initWithFrame:CGRectMake(self.userHeaderView.right+6, self.userHeaderView.top+5, self.width-self.userHeaderView.right-16-6, 22)];
self.nameLabel.shimmerWidth = 20;
self.nameLabel.shimmerRadius = 20;
self.nameLabel.shimmerColor = [UIColor yellowColor];
self.nameLabel.durationTime = 1;
self.nameLabel.text = @"羽声语音";
// self.nameLabel.shimmerColor = [UIColor yellowColor];
self.nameLabel.repeat = YES;
self.nameLabel.textColor = RGB16A(0xffffff,0.85);
self.nameLabel.font = [UIFont boldSystemFontOfSize:18];
@@ -321,6 +323,7 @@
if (QXGlobal.shareGlobal.isOpenRecharge) {
[self.toolsArray insertObject:self.rechargeModel atIndex:0];
}
[self.collectionView reloadData];
}
-(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
return self.toolsArray.count;
@@ -367,9 +370,10 @@
[self.userHeaderView setHeadIcon:userModel.avatar dress:userModel.dress];
[self.userHeaderView.nobilityImageView sd_setImageWithURL:[NSURL URLWithString:userModel.nobility_image]];
if ([userModel.nickname_color isExist]) {
self.nameLabel.textColor = [UIColor colorWithHexString:userModel.nickname_color];
self.nameLabel.shimmerColor = [UIColor colorWithHexString:userModel.nickname_color];
[self.nameLabel startShimmer];
}else{
self.nameLabel.textColor = RGB16A(0xffffff,0.85);
[self.nameLabel stopShimmer];
}
self.nameLabel.text = userModel.nickname;
self.idLabel.text = [NSString stringWithFormat:@"ID:%@",userModel.user_code];