|
|
@ -30,7 +30,7 @@ class _TabNavigatorState extends State<TabNavigator> {
|
|
|
|
super.initState();
|
|
|
|
super.initState();
|
|
|
|
_pages = [
|
|
|
|
_pages = [
|
|
|
|
HomePage(),
|
|
|
|
HomePage(),
|
|
|
|
MarketPage(),
|
|
|
|
// MarketPage(),
|
|
|
|
PropertyIndex(),
|
|
|
|
PropertyIndex(),
|
|
|
|
CommunityIndex(),
|
|
|
|
CommunityIndex(),
|
|
|
|
PersonalIndex()
|
|
|
|
PersonalIndex()
|
|
|
@ -62,13 +62,12 @@ class _TabNavigatorState extends State<TabNavigator> {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
ScreenUtil.init(context,
|
|
|
|
ScreenUtil.init(context,
|
|
|
|
designSize: Size(750, 1334), allowFontScaling: true);
|
|
|
|
designSize: Size(750, 1334), allowFontScaling: true);
|
|
|
|
double iconSize = ScreenUtil().setWidth(44);
|
|
|
|
|
|
|
|
//底部导航来
|
|
|
|
//底部导航来
|
|
|
|
List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[
|
|
|
|
List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[
|
|
|
|
_buildBottomBar(
|
|
|
|
_buildBottomBar(
|
|
|
|
'首页', AssetsImage.TAB_HOME_UNSELECT, AssetsImage.TAB_HOME_SELECT),
|
|
|
|
'首页', AssetsImage.TAB_HOME_UNSELECT, AssetsImage.TAB_HOME_SELECT),
|
|
|
|
_buildBottomBar(
|
|
|
|
// _buildBottomBar(
|
|
|
|
'商城', AssetsImage.TAB_MARKET_UNSELECT, AssetsImage.TAB_MARKET_SELECT),
|
|
|
|
// '商城', AssetsImage.TAB_MARKET_UNSELECT, AssetsImage.TAB_MARKET_SELECT),
|
|
|
|
_buildBottomBar(
|
|
|
|
_buildBottomBar(
|
|
|
|
'物业', AssetsImage.TAB_HOUSE_UNSELECT, AssetsImage.TAB_HOUSE_SELECT),
|
|
|
|
'物业', AssetsImage.TAB_HOUSE_UNSELECT, AssetsImage.TAB_HOUSE_SELECT),
|
|
|
|
_buildBottomBar('社区', AssetsImage.TAB_MESSAGE_UNSELECT,
|
|
|
|
_buildBottomBar('社区', AssetsImage.TAB_MESSAGE_UNSELECT,
|
|
|
|