diff --git a/lib/routers/page_routers.dart b/lib/routers/page_routers.dart index d3b3a421..36efccfd 100644 --- a/lib/routers/page_routers.dart +++ b/lib/routers/page_routers.dart @@ -30,7 +30,6 @@ import 'package:akuCommunity/pages/message_center_page/comment_message_page/comm import 'package:akuCommunity/pages/message_center_page/shop_message_page/shop_message_page.dart'; import 'package:akuCommunity/pages/message_center_page/system_message_page/system_details_page/system_details_page.dart'; -import 'package:akuCommunity/pages/open_door_page/open_door_page.dart'; import 'package:akuCommunity/pages/certification_page/certification_page.dart'; import 'package:akuCommunity/pages/visitor_access_page/visitor_access_page.dart'; diff --git a/lib/widget/home_gride_button.dart b/lib/widget/home_gride_button.dart index f8bd9135..fe2e871c 100644 --- a/lib/widget/home_gride_button.dart +++ b/lib/widget/home_gride_button.dart @@ -6,6 +6,7 @@ import 'package:akuCommunity/pages/things_page/fixed_submit_page.dart'; import 'package:akuCommunity/pages/things_page/things_page.dart'; import 'package:akuCommunity/pages/total_application_page/total_applications_page.dart'; import 'package:akuCommunity/pages/visitor_access_page/visitor_access_page.dart'; +import 'package:akuCommunity/routers/page_routers.dart'; import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:akuCommunity/const/resource.dart'; @@ -44,7 +45,16 @@ class _HomeGridButtonState extends State { Get.to(IndustryCommitteePage()); }), GridButton('建议咨询', R.ASSETS_ICONS_TOOL_JYTS_PNG, () { - Get.to(ThingsPage()); + Get.to(ThingsPage( + bundle: Bundle() + ..putMap('things', { + 'title': '建议咨询', + 'treeList': >[ + {'name': '您的建议'}, + {'name': '您的咨询'}, + ] + }), + )); }), GridButton('便民电话', R.ASSETS_ICONS_TOOL_BMDH_PNG, () { Get.to(ConvenientPhonePage());