From 3921cc63249b36f83feb1c8e6ccd08cd0cbd2d81 Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Thu, 22 Jul 2021 14:09:14 +0800 Subject: [PATCH] update icons --- assets/icons/house_keeping.png | Bin 0 -> 2082 bytes lib/const/resource.dart | 4 ++++ lib/constants/application_objects.dart | 2 +- .../house_keeping/house_keeping_card.dart | 2 ++ .../house_keeping/house_keeping_page.dart | 1 + .../house_keeping/house_keeping_view.dart | 2 +- 6 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 assets/icons/house_keeping.png diff --git a/assets/icons/house_keeping.png b/assets/icons/house_keeping.png new file mode 100644 index 0000000000000000000000000000000000000000..bd1e5329147af23505a14952025a8828c254ccb1 GIT binary patch literal 2082 zcmV+-2;KLIP)b*RA9W?F{=-{(?A{-dd7NIrI=G zaq_RLOpcfNh| z-kbNHLlh%Mj2JOu#E20J3_3u_X0xeeGMP#w5+=8IcX!KMTU%DKSS-^4LE8ztc=2M! zFpLo#88p*%hLvpF=3{PQVPT2dh_(?Xh?*2c`9TSiH_6K7MoJj#sNUY*TXm$W%*zhvR`|Q zF)8;!3YV^5zdlS6AQHkrRt{v%D&14_^YeKMfUvLU2c4uD=g*%v;aBnGQc`zIle>Ta ze(BVyQ|ln@3#mJO^5n^z4<0>VOn#a|#)S(P9M^=Ev`8bg z66Rv^vlKF5dB>D{E|W%RB}|xnt)93VE7Re+$k0ldn{ zTNutg-a{bJcQ^(c`YggY_sF>gvZ9bKMr0vsD0>qYjAQzy+|S`<98-7 z6w<|rG;36kGyzLQGgfNOC&=M(yf;kO$sAcA>m0}`QACJ5FUh3AQqBfQ;5xvP2^Zo@ zRFYLg+cMuGk>Qp$YXr_;PKgk8x=YI*1FEFdzSnZ zo`j2#k_0~^(utpyr zdqQVEd|dc;{_{B~{Y7<5P5*3cY!p@HT~qM*%GXzksqQ0x`0AJOzy5h=?DxM-didn1 z+hbIv4dhL<>YlVr7|5E%!{pTdp2Po^zWeNt^ojS^#GMSw_;lkqB#}MzF^@}f@h?xR zEc~&$VW65GwD0urOUQ8F+Qt$3@z+n59zW~LxLq3r54S>EOW_@kc)E~P#s>S`Pe0!r z09mge3@!kFz&f&|c!grB8*LmM|F1_@^&XPZ*ps}Yy<7BscIh0Sr~SFmbgL2Hz=W|S zBqicWuioGQLNy}!VasnaWiO^`q~%#UC_r+T1BK3eR3Q^vHipY(KF`vm)^l*gSL`SP zA@GuPG3}O!OYM;)FO@2eR7~Ua3prO=-45aJawNhyZuepxhlwt`)xlO@LRaOP)KxOh zZVt#};I}O*dsPcB?KlNMf&xHnm`%CQRX6O~tJERAljjM3NC#meaL7ls_!q8*iEC9Q z5qV52nM{_wbIShm)%2C?d(lvPwLHxi#gaM8uM$_?h+we@W31S+$7!HV^ z*)+JWg%!bh1zCUb917$UzI7PuE;SU>bUeLtH`JV@D-8Ei0hjDmCWtQcO&GR38KtX! zRiR-Vn2?N1jx5 zH^px+cBhptS3O~zeLij9?JmlkNUzAu(dah!G=3j2JOu#5id94;Z6JQM{&*9{>OV M07*qoM6N<$f-?c(qyPW_ literal 0 HcmV?d00001 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); });