Ver código fonte

更新页面

tags/0.0.1
Weller 4 anos atrás
pai
commit
e88df47b19
3 arquivos alterados com 10 adições e 7 exclusões
  1. +1
    -1
      .dart_tool/package_config.json
  2. +0
    -1
      lib/pages/main_page/main_page.dart
  3. +9
    -5
      lib/register.dart

+ 1
- 1
.dart_tool/package_config.json Ver arquivo

@@ -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"
}

+ 0
- 1
lib/pages/main_page/main_page.dart Ver arquivo

@@ -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(


+ 9
- 5
lib/register.dart Ver arquivo

@@ -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());



Carregando…
Cancelar
Salvar