会话加好友
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import 'package:chat/middleware/auth_middleware.dart';
|
||||
import 'package:chat/views/conversation/index_page.dart';
|
||||
import 'package:chat/views/conversation/info/group_page.dart';
|
||||
import 'package:chat/views/conversation/info/private_page.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -23,11 +25,11 @@ abstract class ConversationRoutes {
|
||||
children: [
|
||||
GetPage(
|
||||
name: '/private',
|
||||
page: () => Container(),
|
||||
page: () => const ConversationInfoPrivatePage(),
|
||||
),
|
||||
GetPage(
|
||||
name: '/group',
|
||||
page: () => Container(),
|
||||
page: () => const ConversationInfoGroupPage(),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user