diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index f22f59b..bd44398 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -680,7 +680,7 @@ "languageVersion": "2.1" } ], - "generated": "2020-09-14T01:30:48.161905Z", + "generated": "2020-09-14T04:30:17.438032Z", "generator": "pub", "generatorVersion": "2.7.2" } diff --git a/lib/pages/main_page/main_page.dart b/lib/pages/main_page/main_page.dart index ea28ad7..04aecb5 100644 --- a/lib/pages/main_page/main_page.dart +++ b/lib/pages/main_page/main_page.dart @@ -139,7 +139,6 @@ class _MainPageContainerState extends State<_MainPageContainer> { model: datas[i], )); } - print('生成列表widget个数 ${list.length}'); if (list.length <= 0) { list.add(SliverToBoxAdapter( child: Container( diff --git a/lib/register.dart b/lib/register.dart index 81fb630..d2a88a7 100644 --- a/lib/register.dart +++ b/lib/register.dart @@ -48,16 +48,20 @@ class BaseWidgetRegister { WidgetFactory.regist('normal_nav', NormalNavCreater()); // ==================== 首页 - /// 可滚动banner +// WidgetFactory.regist('index_title', NormalNavCreater()); +// WidgetFactory.regist( +// 'index_search', DefaultWidgetCreater((model) => MineData())); + +// /// 可滚动banner WidgetFactory.regist('index_carousel', HomeSlideBannerCreater()); WidgetFactory.regist('index_recommend_list', GoodsListCreater()); // 首页快速入口 WidgetFactory.regist('home_quick_entry', HomeQuickEntryCreater()); - - /// 首页快速入口 +// +// /// 首页快速入口 WidgetFactory.regist('multi_nav', HomeQuickEntryCreater()); - - /// 不可以滚动banner +// +// /// 不可以滚动banner WidgetFactory.regist('index_banner_one', HomeBannerCreater()); WidgetFactory.regist('index_banner_two', HomeBannerCreater());