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,