隐藏商城相关内容

hmxc
张萌 4 years ago
parent 0655d1fd20
commit 065801b589

@ -138,50 +138,50 @@ class _HomePageState extends State<HomePage>
],
),
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)),
],
),
),

@ -30,7 +30,7 @@ class _TabNavigatorState extends State<TabNavigator> {
super.initState();
_pages = [
HomePage(),
MarketPage(),
// MarketPage(),
PropertyIndex(),
CommunityIndex(),
PersonalIndex()
@ -62,13 +62,12 @@ class _TabNavigatorState extends State<TabNavigator> {
Widget build(BuildContext context) {
ScreenUtil.init(context,
designSize: Size(750, 1334), allowFontScaling: true);
double iconSize = ScreenUtil().setWidth(44);
//
List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[
_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,

Loading…
Cancel
Save