This commit is contained in:
2025-11-09 16:05:42 +08:00
parent 553238de0c
commit 2c4a4329ff

View File

@@ -131,7 +131,14 @@
//
- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index {
NSLog(@"%@", NSStringFromSelector(_cmd));
self.
// VC/ validListDict
id<JXCategoryListContentViewDelegate> list = self.listContainerView.validListDict[@(index)];
if ([list isKindOfClass:[HomeRankContentVC class]]) {
HomeRankContentVC *currentVC = (HomeRankContentVC *)list;
// collectionView
self.collectionView = currentVC.collectionView;
// TODO: currentVC
}
//
self.navigationController.interactivePopGestureRecognizer.enabled = (index == 0);
}