|
|
@ -47,9 +47,11 @@ class _ActivityTopList extends State<ActivityTopList> { |
|
|
|
itemBuilder: (context, position) { |
|
|
|
itemBuilder: (context, position) { |
|
|
|
return GestureDetector( |
|
|
|
return GestureDetector( |
|
|
|
onTap: () { |
|
|
|
onTap: () { |
|
|
|
Navigator.of(context).pushNamed( |
|
|
|
Navigator.of(context).pushNamed('/router/web_page', |
|
|
|
'/router/headlines_column_details', |
|
|
|
arguments: {"articleId": widget.articleTop[position].id}); |
|
|
|
arguments: {"id": widget.articleTop[position].id}); |
|
|
|
widget.articleTop[position].viewers = |
|
|
|
|
|
|
|
(widget.articleTop[position].viewers + 1); |
|
|
|
|
|
|
|
setState(() {}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: headlinesCollectionItem(widget.articleTop[position], position), |
|
|
|
child: headlinesCollectionItem(widget.articleTop[position], position), |
|
|
|
); |
|
|
|
); |
|
|
|