3
This commit is contained in:
@@ -179,11 +179,13 @@
|
||||
|
||||
// 返回各个列表菜单下的实例,该实例需要遵守并实现 <JXCategoryListContentViewDelegate> 协议
|
||||
- (id<JXCategoryListContentViewDelegate>)listContainerView:(JXCategoryListContainerView *)listContainerView initListForIndex:(NSInteger)index {
|
||||
KBTag *tagModel = self.tags[index];
|
||||
HomeRankContentVC *list = [[HomeRankContentVC alloc] init];
|
||||
list.tagModel = tagModel;
|
||||
NSString *tagId = nil;
|
||||
if (index >= 0 && index < self.tags.count) {
|
||||
KBTag *tag = self.tags[index];
|
||||
tagId = tag.tagId;
|
||||
}
|
||||
HomeRankContentVC *list = [[HomeRankContentVC alloc] initWithTagId:tagId];
|
||||
self.collectionView = list.collectionView;
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user