|
|
@ -31,7 +31,7 @@ import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
|
|
|
|
class AppApplication {
|
|
|
|
class AppApplication {
|
|
|
|
String name;
|
|
|
|
String name;
|
|
|
|
String assetPath;
|
|
|
|
String assetPath;
|
|
|
|
Widget page;
|
|
|
|
dynamic page;
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
this.name,
|
|
|
|
this.name,
|
|
|
|
this.assetPath,
|
|
|
|
this.assetPath,
|
|
|
@ -54,27 +54,27 @@ class _ApplicationPageState extends State<ApplicationPage>
|
|
|
|
|
|
|
|
|
|
|
|
List<AppApplication> _recommandApplications = [
|
|
|
|
List<AppApplication> _recommandApplications = [
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ActivityManagerPage()),
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ()=>ActivityManagerPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, VisitorManagerPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, ()=>VisitorManagerPage()),
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, BorrowManagerPage()),
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, ()=>BorrowManagerPage()),
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, WarningPage()),
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, ()=>WarningPage()),
|
|
|
|
];
|
|
|
|
];
|
|
|
|
List<AppApplication> _wisdomApplications = [
|
|
|
|
List<AppApplication> _wisdomApplications = [
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, WarningPage()),
|
|
|
|
AppApplication('一键报警', R.ASSETS_HOME_IC_POLICE_PNG, ()=>WarningPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, VisitorManagerPage()),
|
|
|
|
AppApplication('访客管理', R.ASSETS_HOME_IC_VISITORS_PNG, ()=>VisitorManagerPage()),
|
|
|
|
AppApplication('报事报修', R.ASSETS_HOME_IC_SERVICE_PNG, BusinessAndFixPage()),
|
|
|
|
AppApplication('报事报修', R.ASSETS_HOME_IC_SERVICE_PNG, ()=>BusinessAndFixPage()),
|
|
|
|
AppApplication('物品出户', R.ASSETS_HOME_IC_ARTICLE_PNG, ItemsOutdoorPage()),
|
|
|
|
AppApplication('物品出户', R.ASSETS_HOME_IC_ARTICLE_PNG, ()=>ItemsOutdoorPage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'装修管理', R.ASSETS_HOME_IC_DECORATION_PNG, DecorationManagerPage()),
|
|
|
|
'装修管理', R.ASSETS_HOME_IC_DECORATION_PNG, ()=> DecorationManagerPage()),
|
|
|
|
AppApplication(
|
|
|
|
AppApplication(
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ActivityManagerPage()),
|
|
|
|
'活动管理', R.ASSETS_HOME_IC_ACTIVITY_PNG, ()=> ActivityManagerPage()),
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, BorrowManagerPage()),
|
|
|
|
AppApplication('借还管理', R.ASSETS_HOME_IC_BORROW_PNG, ()=>BorrowManagerPage()),
|
|
|
|
AppApplication('巡检管理', R.ASSETS_HOME_IC_PATROL_PNG, InspectionManagePage()),
|
|
|
|
AppApplication('巡检管理', R.ASSETS_HOME_IC_PATROL_PNG, ()=>InspectionManagePage()),
|
|
|
|
AppApplication('绿化管理', R.ASSETS_HOME_IC_GREENING_PNG, GreenManagePage()),
|
|
|
|
AppApplication('绿化管理', R.ASSETS_HOME_IC_GREENING_PNG, ()=>GreenManagePage()),
|
|
|
|
AppApplication('设施检查', R.ASSETS_HOME_IC_FACILITIES_PNG, FacilitiesPage()),
|
|
|
|
AppApplication('设施检查', R.ASSETS_HOME_IC_FACILITIES_PNG, ()=> FacilitiesPage()),
|
|
|
|
AppApplication('包裹管理', R.ASSETS_HOME_PACKAGE_PNG, PackagesManagePage()),
|
|
|
|
AppApplication('包裹管理', R.ASSETS_HOME_PACKAGE_PNG, ()=> PackagesManagePage()),
|
|
|
|
AppApplication('钥匙管理', R.ASSETS_HOME_KEY_PNG, KeyManagePage()),
|
|
|
|
AppApplication('钥匙管理', R.ASSETS_HOME_KEY_PNG, ()=> KeyManagePage()),
|
|
|
|
AppApplication('规程管理', R.ASSETS_HOME_RULES_PNG, RulesManagePage())
|
|
|
|
AppApplication('规程管理', R.ASSETS_HOME_RULES_PNG, ()=> RulesManagePage())
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|