提交
This commit is contained in:
@@ -103,6 +103,10 @@
|
||||
return cell;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (!QXGlobal.shareGlobal.isLogin) {
|
||||
[[QXGlobal shareGlobal] logOut];
|
||||
return;
|
||||
}
|
||||
QXDynamicModel *model = self.dataArray[indexPath.row];
|
||||
QXDynamicDetailViewController *vc = [[QXDynamicDetailViewController alloc] init];
|
||||
vc.model = model;
|
||||
@@ -120,6 +124,10 @@
|
||||
return cell;
|
||||
}
|
||||
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (!QXGlobal.shareGlobal.isLogin) {
|
||||
[[QXGlobal shareGlobal] logOut];
|
||||
return;
|
||||
}
|
||||
QXTopicModel *model = self.hotTopicArray[indexPath.row];
|
||||
QXToppicDynamicViewController *vc = [[QXToppicDynamicViewController alloc] init];
|
||||
vc.model = model;
|
||||
|
||||
Reference in New Issue
Block a user