diff --git a/assets/icons/house_keeping.png b/assets/icons/house_keeping.png new file mode 100644 index 00000000..bd1e5329 Binary files /dev/null and b/assets/icons/house_keeping.png differ diff --git a/lib/const/resource.dart b/lib/const/resource.dart index 3b0b1765..0cd2d093 100644 --- a/lib/const/resource.dart +++ b/lib/const/resource.dart @@ -209,6 +209,10 @@ class R { /// ![preview](file:///Users/zhangmeng/aku_community/assets/icons/house.png) static const String ASSETS_ICONS_HOUSE_PNG = 'assets/icons/house.png'; + /// ![preview](file:///Users/zhangmeng/aku_community/assets/icons/house_keeping.png) + static const String ASSETS_ICONS_HOUSE_KEEPING_PNG = + 'assets/icons/house_keeping.png'; + /// ![preview](file:///Users/zhangmeng/aku_community/assets/icons/icon_notification.png) static const String ASSETS_ICONS_ICON_NOTIFICATION_PNG = 'assets/icons/icon_notification.png'; diff --git a/lib/constants/application_objects.dart b/lib/constants/application_objects.dart index d265a379..f30483fd 100644 --- a/lib/constants/application_objects.dart +++ b/lib/constants/application_objects.dart @@ -91,7 +91,7 @@ List appObjects = [ AO('电子商务', R.ASSETS_ICONS_COMMERC_PNG, () => ElectronicCommercPage()), AO('服务浏览', R.ASSETS_ICONS_SERVICE_PNG, () => ServiceBrowsePage()), AO('社区介绍', R.ASSETS_ICONS_INTRODUCE_PNG, () => CommunityIntroducePage()), - AO('家政服务', R.ASSETS_IMAGES_PLACEHOLDER_WEBP, () => HouseKeepingPage()), + AO('家政服务', R.ASSETS_ICONS_HOUSE_KEEPING_PNG, () => HouseKeepingPage()), // AO( // '小区教育', // R.ASSETS_IMAGES_PLACEHOLDER_WEBP, diff --git a/lib/ui/manager/house_keeping/house_keeping_card.dart b/lib/ui/manager/house_keeping/house_keeping_card.dart index 7389d6dd..686725f4 100644 --- a/lib/ui/manager/house_keeping/house_keeping_card.dart +++ b/lib/ui/manager/house_keeping/house_keeping_card.dart @@ -36,6 +36,7 @@ class HouseKeepingCard extends StatelessWidget { ); Get.to(() => HouseKeepingDetailPage( model: model, + callRefresh: callRefresh, processModels: processModels, )); }, @@ -173,6 +174,7 @@ class HouseKeepingCard extends StatelessWidget { await HouseKeepingFunc.getHouseKeepingProcess(model.id); Get.to(() => HouseKeepingDetailPage( model: model, + callRefresh: callRefresh, processModels: processModels, )); }, diff --git a/lib/ui/manager/house_keeping/house_keeping_page.dart b/lib/ui/manager/house_keeping/house_keeping_page.dart index 4ea70543..de9f0b71 100644 --- a/lib/ui/manager/house_keeping/house_keeping_page.dart +++ b/lib/ui/manager/house_keeping/house_keeping_page.dart @@ -1,3 +1,4 @@ +import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; diff --git a/lib/ui/manager/house_keeping/house_keeping_view.dart b/lib/ui/manager/house_keeping/house_keeping_view.dart index 67e7f57c..140829bb 100644 --- a/lib/ui/manager/house_keeping/house_keeping_view.dart +++ b/lib/ui/manager/house_keeping/house_keeping_view.dart @@ -58,7 +58,7 @@ class _HouseKeepingViewState extends State ); }, separatorBuilder: (_, __) { - return 24.w.heightBox; + return 16.w.heightBox; }, itemCount: items.length); });