页面逻辑
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
import 'package:chat/middleware/auth_middleware.dart';
|
||||
import 'package:chat/views/contact/index/index_page.dart';
|
||||
import 'package:chat/views/user/qr_code/index_page.dart';
|
||||
import 'package:chat/views/user/setting/index_page.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
abstract class UserRoutes {
|
||||
/// 身份验证页面
|
||||
static const String index = '/user';
|
||||
static const String qrCode = '/user/qrCode';
|
||||
static const String setting = '/user/setting';
|
||||
static const String share = '/user/share';
|
||||
|
||||
static GetPage router = GetPage(
|
||||
name: UserRoutes.index,
|
||||
@@ -19,6 +22,10 @@ abstract class UserRoutes {
|
||||
name: '/qrCode',
|
||||
page: () => const UserQrCodePage(),
|
||||
),
|
||||
GetPage(
|
||||
name: '/setting',
|
||||
page: () => const UserSettingPage(),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user