页面与路由完善
This commit is contained in:
@@ -2,7 +2,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';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -14,7 +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 MomentsPage()),
|
||||
IndexedStackChild(child: const UserPage()),
|
||||
];
|
||||
|
||||
@@ -29,11 +28,11 @@ class AppPage extends StatelessWidget {
|
||||
'active_icon': Icons.contact_page,
|
||||
'label': '通讯录',
|
||||
},
|
||||
{
|
||||
'icon': Icons.explore_outlined,
|
||||
'active_icon': Icons.explore,
|
||||
'label': '发现',
|
||||
},
|
||||
// {
|
||||
// 'icon': Icons.explore_outlined,
|
||||
// 'active_icon': Icons.explore,
|
||||
// 'label': '发现',
|
||||
// },
|
||||
{
|
||||
'icon': Icons.person_outline,
|
||||
'active_icon': Icons.person,
|
||||
|
||||
Reference in New Issue
Block a user