修改金币超出问题

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

@@ -139,6 +139,7 @@
[self.amountLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.smallCoinView.mas_right).offset(10);
make.centerY.equalTo(self.rechargeButton);
make.right.lessThanOrEqualTo(self.rechargeButton.mas_left).offset(-12);
}];
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
@@ -303,7 +304,8 @@
_amountLabel.textColor = [UIColor colorWithHex:KBColorValue];
_amountLabel.font = [KBFont bold:40];
_amountLabel.adjustsFontSizeToFitWidth = YES;
// _amountLabel.minimumScaleFactor = 0.7;
_amountLabel.minimumScaleFactor = 0.6;
_amountLabel.numberOfLines = 1;
}
return _amountLabel;
}