Commit 037497a195fb0c384b8e513cb53061cfc0809c07
1 parent
8a10fbf0
文章点击其他推荐有两个灰色背景
Showing
3 changed files
with
3 additions
and
0 deletions
CNLiveScioLive/Pages/Home/新闻详情/OldController/OldArticleDetailViewController.m
| @@ -587,6 +587,7 @@ | @@ -587,6 +587,7 @@ | ||
| 587 | return cell; | 587 | return cell; |
| 588 | } | 588 | } |
| 589 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | 589 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
| 590 | + [tableView deselectRowAtIndexPath:indexPath animated:YES]; | ||
| 590 | NSLog(@"%@",_newsArray[indexPath.row]); | 591 | NSLog(@"%@",_newsArray[indexPath.row]); |
| 591 | NSDictionary *_dic = _newsArray[indexPath.row]; | 592 | NSDictionary *_dic = _newsArray[indexPath.row]; |
| 592 | [self pushViewTo:_dic]; | 593 | [self pushViewTo:_dic]; |
CNLiveScioLive/Pages/Home/新闻详情/OldController/OldVideoDetailViewController.m
| @@ -531,6 +531,7 @@ | @@ -531,6 +531,7 @@ | ||
| 531 | return cell; | 531 | return cell; |
| 532 | } | 532 | } |
| 533 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | 533 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
| 534 | + [tableView deselectRowAtIndexPath:indexPath animated:YES]; | ||
| 534 | NSLog(@"%@",_newsArray[indexPath.row]); | 535 | NSLog(@"%@",_newsArray[indexPath.row]); |
| 535 | NSDictionary *_dic = _newsArray[indexPath.row]; | 536 | NSDictionary *_dic = _newsArray[indexPath.row]; |
| 536 | [self pushViewTo:_dic]; | 537 | [self pushViewTo:_dic]; |
CNLiveScioLive/Pages/Home/新闻详情/OldController/SCIOSpecialViewController.m
| @@ -516,6 +516,7 @@ | @@ -516,6 +516,7 @@ | ||
| 516 | return height; | 516 | return height; |
| 517 | } | 517 | } |
| 518 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { | 518 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { |
| 519 | + [tableView deselectRowAtIndexPath:indexPath animated:YES]; | ||
| 519 | NSLog(@"%@",self.dataArray[indexPath.section]); | 520 | NSLog(@"%@",self.dataArray[indexPath.section]); |
| 520 | NSDictionary *dic = self.dataArray[indexPath.section]; | 521 | NSDictionary *dic = self.dataArray[indexPath.section]; |
| 521 | NSArray *array = dic[@"list"]; | 522 | NSArray *array = dic[@"list"]; |