会话加好友

This commit is contained in:
2022-10-25 16:50:48 +08:00
parent b8242e66bd
commit 7c5201ea2b
16 changed files with 128 additions and 51 deletions

View File

@@ -5,6 +5,8 @@ import 'package:chat/views/contact/firend/recommend/friend_page.dart';
import 'package:chat/views/contact/firend/recommend/group_page.dart';
import 'package:chat/views/contact/firend/recommend/index_page.dart';
import 'package:chat/views/contact/firend/remark/index_page.dart';
import 'package:chat/views/contact/firend/request/apply_page.dart';
import 'package:chat/views/contact/firend/request/index_page.dart';
import 'package:chat/views/contact/firend/search/index_page.dart';
import 'package:chat/views/contact/group/create/index_page.dart';
import 'package:chat/views/contact/group/index_page.dart';
@@ -22,7 +24,7 @@ abstract class ContactRoutes {
static const String friendProfile = '/contact/friend/profile';
static const String friendProfileMore = '/contact/friend/profile/more';
static const String friendRemark = '/contact/friend/remark';
static const String friendApply = '/contact/friend/profile';
static const String friendRequestApply = '/contact/friend/request/apply';
static const String friendRecommend = '/contact/friend/recommend';
static const String friendRecommendFriend =
'/contact/friend/recommend/friend';
@@ -48,6 +50,16 @@ abstract class ContactRoutes {
name: '/friend',
page: () => const ContactGroupPage(),
children: [
GetPage(
name: '/request',
page: () => const ContactFriendRequestPage(),
children: [
GetPage(
name: '/apply',
page: () => const ContactFriendRequestApplyPage(),
),
],
),
GetPage(
name: '/search',
page: () => const ContactFriendSearchPage(),