|
|
@ -15,6 +15,7 @@ import 'package:aku_new_community/ui/community/community_views/add_new_event_pag
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/my_community_view.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/my_community_view.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/new_community_view.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/new_community_view.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/topic/topic_community_view.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/topic/topic_community_view.dart';
|
|
|
|
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/topic/topic_detail_page.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/widgets/chat_card.dart';
|
|
|
|
import 'package:aku_new_community/ui/community/community_views/widgets/chat_card.dart';
|
|
|
|
import 'package:aku_new_community/ui/home/public_infomation/public_infomation_card.dart';
|
|
|
|
import 'package:aku_new_community/ui/home/public_infomation/public_infomation_card.dart';
|
|
|
|
import 'package:aku_new_community/ui/home/public_infomation/public_infomation_page.dart';
|
|
|
|
import 'package:aku_new_community/ui/home/public_infomation/public_infomation_page.dart';
|
|
|
@ -398,7 +399,7 @@ class _CommunityPageState extends State<CommunityPage>
|
|
|
|
}, '全部'),
|
|
|
|
}, '全部'),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
32.hb,
|
|
|
|
32.hb,
|
|
|
|
_searchHistoryWidget()
|
|
|
|
_newTopicListWidget()
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -416,7 +417,7 @@ class _CommunityPageState extends State<CommunityPage>
|
|
|
|
minWidth: double.infinity,
|
|
|
|
minWidth: double.infinity,
|
|
|
|
color: Color(0xFFF3F3F3),
|
|
|
|
color: Color(0xFFF3F3F3),
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
//Get.to(() => SearchGoodsPage());
|
|
|
|
// Get.to(() => TopicSearchPage());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
@ -433,7 +434,8 @@ class _CommunityPageState extends State<CommunityPage>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_searchHistoryWidget() {
|
|
|
|
///新鲜话题列表
|
|
|
|
|
|
|
|
_newTopicListWidget() {
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
padding: EdgeInsets.only(left: 32.w, right: 32.w),
|
|
|
|
padding: EdgeInsets.only(left: 32.w, right: 32.w),
|
|
|
@ -464,7 +466,9 @@ class _CommunityPageState extends State<CommunityPage>
|
|
|
|
labelPadding: EdgeInsets.only(right: 12.w, left: 12.w),
|
|
|
|
labelPadding: EdgeInsets.only(right: 12.w, left: 12.w),
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
onSelected: (bool value) {
|
|
|
|
onSelected: (bool value) {
|
|
|
|
// Get.to(() => TopicDetailPage(model: item));
|
|
|
|
Get.to(() => TopicDetailPage(
|
|
|
|
|
|
|
|
topicId: item.id,
|
|
|
|
|
|
|
|
));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
label: Row(
|
|
|
|
label: Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|