1.0.19 feat:首页 UI 配置更新
This commit is contained in:
@@ -89,8 +89,8 @@
|
||||
|
||||
- (void)setupTopTheme {
|
||||
__block UIImageView *theme = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, kGetScaleWidth(140))];
|
||||
theme.image = [[ClientConfig shareConfig] navigationAreaBG];// [UIImage imageNamed:@"home_top_bg"];
|
||||
theme.contentMode = UIViewContentModeScaleAspectFit;
|
||||
theme.image = [[ClientConfig shareConfig] navigationAreaBG];
|
||||
theme.contentMode = UIViewContentModeScaleAspectFill;
|
||||
[self.view addSubview:theme];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserverForName:[ClientConfig shareConfig].reloadNavigationAreaImageKey
|
||||
|
@@ -53,7 +53,9 @@
|
||||
_bannerInfoList = bannerInfoList;
|
||||
NSMutableArray *picArray = @[].mutableCopy;
|
||||
for (HomeBannerInfoModel *model in bannerInfoList) {
|
||||
[picArray addObject:model.bannerPic];
|
||||
if (![NSString isEmpty:model.bannerPic]) {
|
||||
[picArray addObject:model.bannerPic];
|
||||
}
|
||||
}
|
||||
self.bannerView.imageURLStringsGroup = picArray.copy;
|
||||
self.bannerView.autoScroll = YES;
|
||||
|
Reference in New Issue
Block a user