diff --git a/assets/home/happy_00.gif b/assets/home/happy_00.gif deleted file mode 100644 index 909d422..0000000 Binary files a/assets/home/happy_00.gif and /dev/null differ diff --git a/assets/home/happy_01.gif b/assets/home/happy_01.gif deleted file mode 100644 index 3cf2e86..0000000 Binary files a/assets/home/happy_01.gif and /dev/null differ diff --git a/assets/home/happy_02.gif b/assets/home/happy_02.gif deleted file mode 100644 index 0166712..0000000 Binary files a/assets/home/happy_02.gif and /dev/null differ diff --git a/assets/home/happy_03.gif b/assets/home/happy_03.gif deleted file mode 100644 index 780b31e..0000000 Binary files a/assets/home/happy_03.gif and /dev/null differ diff --git a/assets/home/happy_04.gif b/assets/home/happy_04.gif deleted file mode 100644 index 9503ebd..0000000 Binary files a/assets/home/happy_04.gif and /dev/null differ diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 8a398e7..74c3d4d 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -1051,10 +1051,9 @@ class _HomePageState extends BaseStoreState mainAxisAlignment: MainAxisAlignment.center, children: [ _buttonTitleRow( - // AppConfig.getShowCommission() - // ? R.ASSETS_HOME_MENU_A_PNG - // : R.ASSETS_LISTTEMP_RECOOKMAKE_ICON_PNG, - R.ASSETS_HOME_HAPPY_00_GIF, + AppConfig.getShowCommission() + ? R.ASSETS_HOME_MENU_A_PNG + : R.ASSETS_LISTTEMP_RECOOKMAKE_ICON_PNG, AppConfig.getShowCommission() ? "我的权益" : "瑞库制品", onPressed: () { if (AppConfig.getShowCommission()) { @@ -1077,15 +1076,9 @@ class _HomePageState extends BaseStoreState }), _buttonTitleRow( // R.ASSETS_LOTTERY_REDEEM_LOTTERY_ICON_PNG, - // AppConfig.getShowCommission() - // ? R.ASSETS_HOME_MENU_BB_PNG - // : R.ASSETS_LISTTEMP_HOMELIFE_ICON_PNG, - R.ASSETS_HOME_HAPPY_01_GIF, - // AppConfig.getShowCommission() ? "我的店铺" : "家居生活", - // R.ASSETS_LOTTERY_REDEEM_LOTTERY_ICON_PNG, - // AppConfig.getShowCommission() - // ? R.ASSETS_HOME_MENU_BB_PNG - // : R.ASSETS_LISTTEMP_HOMELIFE_ICON_PNG, + AppConfig.getShowCommission() + ? R.ASSETS_HOME_MENU_BB_PNG + : R.ASSETS_LISTTEMP_HOMELIFE_ICON_PNG, // AppConfig.getShowCommission() ? "我的店铺" : "家居生活", // '彩票兑换', '彩票频道', @@ -1105,10 +1098,9 @@ class _HomePageState extends BaseStoreState // }, ), _buttonTitleRow( - // AppConfig.getShowCommission() - // ? R.ASSETS_HOME_INVITE_WEBP_S_PNG - // : R.ASSETS_LISTTEMP_HOMEAPPLIANCES_ICON_PNG, - R.ASSETS_HOME_HAPPY_02_GIF, + AppConfig.getShowCommission() + ? R.ASSETS_HOME_INVITE_WEBP_S_PNG + : R.ASSETS_LISTTEMP_HOMEAPPLIANCES_ICON_PNG, AppConfig.getShowCommission() // ? "升级店主" ? "一键邀请" @@ -1123,35 +1115,22 @@ class _HomePageState extends BaseStoreState // AppRouter.push(context, RouteName.Member_BENEFITS_PAGE,); } }), - _buttonTitleRow( - // R.ASSETS_HOME_MENU_DD_PNG, - R.ASSETS_HOME_HAPPY_03_GIF, - - "热销榜单", - onPressed: () { - AppRouter.push(context, RouteName.GOODS_HOT_LIST); - }, - ), - _buttonTitleRow( - // R.ASSETS_HOME_MENU_EE_PNG, - R.ASSETS_HOME_HAPPY_04_GIF, - - "全部分类", - onPressed: () { - HomeDao.getCategories( - success: (data, code, msg) { - CRoute.push( - context, - ClassifyPage( - data: data, - )); - }, - failure: (code, msg) { - Toast.showError(msg); - }, - ); - }, - ), + _buttonTitleRow(R.ASSETS_HOME_MENU_DD_PNG, "热销榜单", + onPressed: () { + AppRouter.push(context, RouteName.GOODS_HOT_LIST); + }), + _buttonTitleRow(R.ASSETS_HOME_MENU_EE_PNG, "全部分类", + onPressed: () { + HomeDao.getCategories(success: (data, code, msg) { + CRoute.push( + context, + ClassifyPage( + data: data, + )); + }, failure: (code, msg) { + Toast.showError(msg); + }); + }), ], ), ),