修复验收问题

This commit is contained in:
edwinQQQ
2024-12-19 14:02:37 +08:00
parent 47c0f141a8
commit c0e7e7ff83
10 changed files with 70 additions and 25 deletions

View File

@@ -112,6 +112,12 @@
[self.presenter loadAllRegionInfo:^(NSArray<RegionListInfo *> * _Nonnull array) {
@kStrongify(self);
self.regionInfoList = array;
for (RegionListInfo *info in array) {
if (info.checked) {
[self updateRegion:info];
break;
}
}
} failure:^(NSError * _Nonnull error) {
}];
@@ -174,13 +180,21 @@
[self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.mas_equalTo(self.view);
make.top.mas_equalTo(kGetScaleWidth(128));
if (iPhoneXSeries) {
make.top.mas_equalTo(kGetScaleWidth(128));
} else {
make.top.mas_equalTo(kGetScaleWidth(68));
}
make.leading.mas_equalTo(kGetScaleWidth(24));
make.height.mas_equalTo(kGetScaleWidth(40));
}];
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
make.leading.trailing.bottom.equalTo(self.view);
make.top.mas_equalTo(kGetScaleWidth(192));
if (iPhoneXSeries) {
make.top.mas_equalTo(kGetScaleWidth(192));
} else {
make.top.mas_equalTo(kGetScaleWidth(132));
}
}];
[self.remindLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.leading.trailing.equalTo(self.bgView).inset(kGetScaleWidth(10));
@@ -593,7 +607,7 @@
_regionContainView.backgroundColor = UIColorFromRGB(0xF5F6FA);
[_regionContainView setCornerRadius:kGetScaleWidth(52)/2];
UIImageView *arrow = [[UIImageView alloc] initWithImage:kImage(@"grey_arrow")];
UIImageView *arrow = [[UIImageView alloc] initWithImage:[kImage(@"grey_arrow") ms_SetImageForRTL]];
// arrow.layer.contentsRect = CGRectMake(0.1, 0.1, 0.8, 0.8);
arrow.contentMode = UIViewContentModeScaleAspectFit;
[_regionContainView addSubview:arrow];