From 065801b589140204d245f56415da34762eb8ed08 Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Tue, 12 Jan 2021 16:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=95=86=E5=9F=8E=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home/home_page.dart | 82 +++++++++++++++++------------------ lib/pages/tab_navigator.dart | 7 ++- 2 files changed, 44 insertions(+), 45 deletions(-) diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index e344f47d..98e57a17 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -138,50 +138,50 @@ class _HomePageState extends State ], ), SizedBox(height: 24.w), - Column( - children: [ - HomeTagBar( - title: '社区团购', - tag: '团购', - isShowImage: false, - ), - HomeCard( - isActivity: false, - title: '新疆库尔阿勒4.5斤,仙人蕉 香甜可口', - subtitleOne: '中国新疆', - subtitleTwo: '2020年07月03日', - imagePath: - 'http://news.eastday.com/d/file/tga/2013-02-17/c2e7bd7fca1ed2ecf5d50dc9fb30275d.jpg', - ), - HomeCard( - isActivity: false, - title: '刚果柠檬大果4盒 鲜果新鲜采摘15斤', - subtitleOne: '非洲刚果', - subtitleTwo: '2020年08月09日', - imagePath: - 'http://5b0988e595225.cdn.sohucs.com/images/20180203/328e145f84c54dd08d1b11b890109862.jpeg', - ), - ], - ), - SizedBox(height: 30.w), - HomeTagBar( - title: '社区商城', - tag: '团购', - isShowImage: false, - isShowTitle: true, - ), + // Column( + // children: [ + // HomeTagBar( + // title: '社区团购', + // tag: '团购', + // isShowImage: false, + // ), + // HomeCard( + // isActivity: false, + // title: '新疆库尔阿勒4.5斤,仙人蕉 香甜可口', + // subtitleOne: '中国新疆', + // subtitleTwo: '2020年07月03日', + // imagePath: + // 'http://news.eastday.com/d/file/tga/2013-02-17/c2e7bd7fca1ed2ecf5d50dc9fb30275d.jpg', + // ), + // HomeCard( + // isActivity: false, + // title: '刚果柠檬大果4盒 鲜果新鲜采摘15斤', + // subtitleOne: '非洲刚果', + // subtitleTwo: '2020年08月09日', + // imagePath: + // 'http://5b0988e595225.cdn.sohucs.com/images/20180203/328e145f84c54dd08d1b11b890109862.jpeg', + // ), + // ], + // ), + // SizedBox(height: 30.w), + // HomeTagBar( + // title: '社区商城', + // tag: '团购', + // isShowImage: false, + // isShowTitle: true, + // ), ], ), ), - SliverPadding( - padding: EdgeInsets.only( - top: 30.w, - left: 32.w, - right: 32.w, - ), - sliver: _shopList.length == 0 - ? SliverToBoxAdapter(child: GoodsCardSkeleton()) - : SliverGoodsCard(shoplist: _shopList)), + // SliverPadding( + // padding: EdgeInsets.only( + // top: 30.w, + // left: 32.w, + // right: 32.w, + // ), + // sliver: _shopList.length == 0 + // ? SliverToBoxAdapter(child: GoodsCardSkeleton()) + // : SliverGoodsCard(shoplist: _shopList)), ], ), ), diff --git a/lib/pages/tab_navigator.dart b/lib/pages/tab_navigator.dart index b02bd053..214f6ff8 100644 --- a/lib/pages/tab_navigator.dart +++ b/lib/pages/tab_navigator.dart @@ -30,7 +30,7 @@ class _TabNavigatorState extends State { super.initState(); _pages = [ HomePage(), - MarketPage(), + // MarketPage(), PropertyIndex(), CommunityIndex(), PersonalIndex() @@ -62,13 +62,12 @@ class _TabNavigatorState extends State { Widget build(BuildContext context) { ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true); - double iconSize = ScreenUtil().setWidth(44); //底部导航来 List _bottomNav = [ _buildBottomBar( '首页', AssetsImage.TAB_HOME_UNSELECT, AssetsImage.TAB_HOME_SELECT), - _buildBottomBar( - '商城', AssetsImage.TAB_MARKET_UNSELECT, AssetsImage.TAB_MARKET_SELECT), + // _buildBottomBar( + // '商城', AssetsImage.TAB_MARKET_UNSELECT, AssetsImage.TAB_MARKET_SELECT), _buildBottomBar( '物业', AssetsImage.TAB_HOUSE_UNSELECT, AssetsImage.TAB_HOUSE_SELECT), _buildBottomBar('社区', AssetsImage.TAB_MESSAGE_UNSELECT,