feat: 增加防丢失页面

This commit is contained in:
2026-01-12 06:49:03 -08:00
parent 0474f3c9d9
commit 26f6c10557
16 changed files with 390 additions and 0 deletions
+8
View File
@@ -7,6 +7,8 @@ import 'package:kaer_with_panels/app/modules/hi_node_list/bindings/hi_node_list_
import 'package:kaer_with_panels/app/modules/hi_node_list/views/hi_page_node_view.dart';
import 'package:kaer_with_panels/app/modules/hi_user_info/bindings/hi_user_info_binding.dart';
import 'package:kaer_with_panels/app/modules/hi_user_info/views/hi_user_info_view.dart';
import 'package:kaer_with_panels/app/modules/hi_anti_lost/bindings/hi_anti_lost_binding.dart';
import 'package:kaer_with_panels/app/modules/hi_anti_lost/views/hi_anti_lost_view.dart';
import '../modules/kr_crisp_chat/bindings/kr_crisp_binding.dart';
import '../modules/kr_crisp_chat/views/kr_crisp_view.dart';
@@ -130,5 +132,11 @@ class AppPages {
popGesture: false,
arguments: {'showSubscriptionButton': true}, // 显示购买按钮
),
GetPage(
name: _Paths.HI_ANTI_LOST,
page: () => SwipeWrapper.detect(() => const HIAntiLostView()),
binding: HIAntiLostBinding(),
popGesture: false,
),
];
}
+2
View File
@@ -24,6 +24,7 @@ abstract class Routes {
static const HI_NODE_LIST = _Paths.HI_NODE_LIST;
static const HI_HELP = _Paths.HI_HELP;
static const HI_USER_INFO = _Paths.HI_USER_INFO;
static const HI_ANTI_LOST = _Paths.HI_ANTI_LOST;
}
abstract class _Paths {
@@ -48,4 +49,5 @@ abstract class _Paths {
static const HI_NODE_LIST = '/hi_node_list';
static const HI_HELP = '/hi_help';
static const HI_USER_INFO = '/hi-user-info';
static const HI_ANTI_LOST = '/hi-anti-lost';
}