新增游戏

This commit is contained in:
liyuhua
2024-04-30 19:30:11 +08:00
parent adabc08d07
commit 3be0f8bc74
46 changed files with 761 additions and 83 deletions

View File

@@ -134,7 +134,7 @@
_titleView.text = [NSString stringWithFormat:YMLocalizedString(@"XPMineConfirmGiveDiamondView1"),_giveDiamondModel.targetNick];
NSTextAttachment * attachment = [[NSTextAttachment alloc] init];
NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc]initWithString:@(self.inputDiamonds).stringValue attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:kGetScaleWidth(30) weight:UIFontWeightMedium],NSForegroundColorAttributeName:[DJDKMIMOMColor inputTextColor]}];
UIImage *iconImage = [UIImage imageNamed:@"mine_give_diamone_icon"];;
UIImage *iconImage = [UIImage imageNamed:@"exchange_gold_icon"];;
attachment.bounds = CGRectMake(0, roundf(self.numView.font.capHeight - 24)/2.f, 24, 24);
attachment.image =iconImage;

View File

@@ -309,6 +309,7 @@
[_applyBtn addTarget:self action:@selector(applyAction) forControlEvents:UIControlEventTouchUpInside];
_applyBtn.layer.cornerRadius = kGetScaleWidth(25)/2;
_applyBtn.layer.masksToBounds = YES;
_applyBtn.titleLabel.numberOfLines = 2;
}
return _applyBtn;

View File

@@ -134,7 +134,7 @@
_bgImageView.contentMode = UIViewContentModeScaleAspectFill;
_bgImageView.layer.cornerRadius = 10.f;
_bgImageView.clipsToBounds = YES;
_bgImageView.image = self.type == IncomeRecord_Diamond ? [UIImage imageNamed:@"income_record_diamond_bg"]: [UIImage imageNamed:@"income_record_gold_bg"];
_bgImageView.image = self.type == IncomeRecord_Diamond ? [UIImage imageNamed:@"income_record_gold_bg"]:[UIImage imageNamed:@"income_record_diamond_bg"];
}
return _bgImageView;
}

View File

@@ -113,6 +113,8 @@
NobleAuthInfo *info = [self.vipAuthInfos safeObjectAtIndex1:indexPath.row];
if ([self.vipInfo.ownAuthTypes containsObject:@(info.authType)]) {
cell.isOwn = YES;
}else{
cell.isOwn = NO;
}
cell.vipInfo = info;
return cell;