修改金币超出问题

This commit is contained in:
2025-12-23 15:33:14 +08:00
parent 000d603241
commit 73d6ec933a
2 changed files with 7 additions and 1 deletions

View File

@@ -226,6 +226,7 @@
[self.pointsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.pointsIconView.mas_right).offset(8);
make.centerY.equalTo(self.pointsIconView).offset(0);
make.right.lessThanOrEqualTo(self.rechargeButton.mas_left).offset(-12);
}];
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -275,6 +276,9 @@
_pointsLabel.text = @"0";
_pointsLabel.font = [KBFont bold:40];
_pointsLabel.textColor = [UIColor colorWithHex:0x02BEAC];
_pointsLabel.adjustsFontSizeToFitWidth = YES;
_pointsLabel.minimumScaleFactor = 0.6;
_pointsLabel.numberOfLines = 1;
}
return _pointsLabel;
}