This commit is contained in:
2025-11-15 00:33:29 +08:00
parent 1f9dbba39d
commit f9a8955384
5 changed files with 68 additions and 14 deletions

View File

@@ -98,11 +98,13 @@
_heartsStack.spacing = 4;
_heartsStack.alignment = UIStackViewAlignmentCenter;
_heartsStack.distribution = UIStackViewDistributionFillProportionally;
for (int i = 0; i < 5; i++) {
for (int i = 0; i < 1; i++) {
UIImageView *iv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pay_5aixin_icon"]];
iv.contentMode = UIViewContentModeScaleAspectFit;
[iv mas_makeConstraints:^(MASConstraintMaker *make) {
make.width.height.mas_equalTo(16);
make.height.mas_equalTo(10);
make.width.mas_equalTo(77);
}];
[_heartsStack addArrangedSubview:iv];
}