diff --git a/lib/constants/api.dart b/lib/constants/api.dart index bca7b289..6c5d4581 100644 --- a/lib/constants/api.dart +++ b/lib/constants/api.dart @@ -175,6 +175,9 @@ class _Community { ///社区话题:app用户点赞/取消点赞 String get like => '/user/gambit/likes'; + + ///社区话题:查询活跃话题(取前4个) + String get hotTopic => '/user/gambit/findActivityGambit'; } class _Upload { diff --git a/lib/pages/activities_page/activities_details_page/activities_details_page.dart b/lib/pages/activities_page/activities_details_page/activities_details_page.dart index 1c249117..78e1af00 100644 --- a/lib/pages/activities_page/activities_details_page/activities_details_page.dart +++ b/lib/pages/activities_page/activities_details_page/activities_details_page.dart @@ -17,6 +17,8 @@ import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; +//TODO CLEAN BOTTOM CODES. +@Deprecated("sh*t activities_details_page need to be cleaned.") class ActivitiesDetailsPage extends StatefulWidget { final Bundle bundle; ActivitiesDetailsPage({Key key, this.bundle}) : super(key: key); diff --git a/lib/ui/community/community_views/widgets/chat_card.dart b/lib/ui/community/community_views/widgets/chat_card.dart index be5c8cd2..15849441 100644 --- a/lib/ui/community/community_views/widgets/chat_card.dart +++ b/lib/ui/community/community_views/widgets/chat_card.dart @@ -1,11 +1,9 @@ -import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/common/img_model.dart'; import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/headers.dart'; -import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; import 'package:akuCommunity/widget/views/bee_grid_image_view.dart';