主要四个页面的基础页面
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:chat/configs/app_colors.dart';
|
||||
import 'package:chat/services/tabbar_service.dart';
|
||||
import 'package:chat/views/contact/index/index_page.dart';
|
||||
import 'package:chat/views/home/index_page.dart';
|
||||
import 'package:chat/views/moments/index/index_page.dart';
|
||||
import 'package:chat/views/user/index/user_page.dart';
|
||||
@@ -12,6 +13,7 @@ class AppPage extends StatelessWidget {
|
||||
|
||||
final List<IndexedStackChild> _tabBarPageList = [
|
||||
IndexedStackChild(child: const HomePage()),
|
||||
IndexedStackChild(child: const ContactPage()),
|
||||
IndexedStackChild(child: const MomentsPage()),
|
||||
IndexedStackChild(child: const UserPage()),
|
||||
];
|
||||
@@ -19,15 +21,19 @@ class AppPage extends StatelessWidget {
|
||||
final List<Map> _tabBarList = [
|
||||
{
|
||||
'icon': 'tabBar_03.png',
|
||||
'label': '首页',
|
||||
'label': '消息',
|
||||
},
|
||||
{
|
||||
'icon': 'tabBar_03.png',
|
||||
'label': '首页',
|
||||
'label': '通讯录',
|
||||
},
|
||||
{
|
||||
'icon': 'tabBar_03.png',
|
||||
'label': '首页',
|
||||
'label': '发现',
|
||||
},
|
||||
{
|
||||
'icon': 'tabBar_03.png',
|
||||
'label': '我的',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user