diff --git a/android/app/src/main/res/drawable-hdpi/splash.png b/android/app/src/main/res/drawable-hdpi/splash.png old mode 100755 new mode 100644 index 5c0586d..34eb4e9 Binary files a/android/app/src/main/res/drawable-hdpi/splash.png and b/android/app/src/main/res/drawable-hdpi/splash.png differ diff --git a/lib/app/modules/hi_node_list/views/hi_node_list_view.dart b/lib/app/modules/hi_node_list/views/hi_node_list_view.dart index 1018e8e..1d35299 100755 --- a/lib/app/modules/hi_node_list/views/hi_node_list_view.dart +++ b/lib/app/modules/hi_node_list/views/hi_node_list_view.dart @@ -436,7 +436,7 @@ class HINodeListView extends GetView { print('🎯 检测到auto组节点,获取最快节点信息'); final autoNodeInfo = controller.homeController.kr_getCountryAutoSelectedNode(item.country); print('📊 _kr_buildNodeListItem获取auto最快节点: $autoNodeInfo'); - displayDelay = autoNodeInfo?['delay'] ?? 0; + displayDelay = autoNodeInfo?['delay'] ?? 3000; print('✅ _kr_buildNodeListItem使用auto最快节点延迟: $displayDelay'); } else { // 普通节点,直接显示节点自身的速度 diff --git a/lib/app/modules/hi_node_list/views/hi_page_node_view.dart b/lib/app/modules/hi_node_list/views/hi_page_node_view.dart index 9f36e50..de5540e 100644 --- a/lib/app/modules/hi_node_list/views/hi_page_node_view.dart +++ b/lib/app/modules/hi_node_list/views/hi_page_node_view.dart @@ -19,53 +19,48 @@ class HINodePageView extends GetView { return HIBaseScaffold( child: Stack( children: [ + Positioned( + left: 0, + child: Obx(() => controller.isDebugMode.value + ? GestureDetector( + onTap: () { + controller.kr_resetDebugMode(); + }, + child: Container( + padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 4.w), + decoration: BoxDecoration( + color: Colors.red.withOpacity(0.8), + borderRadius: BorderRadius.circular(12.w), + ), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon( + Icons.bug_report, + size: 12.w, + color: Colors.white, + ), + SizedBox(width: 3.w), + Text( + '关闭调试', + style: TextStyle( + fontSize: 10.sp, + color: Colors.white, + fontWeight: FontWeight.w500, + ), + ), + ], + ), + ), + ) + : const SizedBox.shrink()), + ), // 主要内容区域 Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Positioned( - left: 0, // ⭐ 所有内容整体贴到左边 - child: Obx(() => controller.isDebugMode.value - ? GestureDetector( - onTap: () { - controller.kr_resetDebugMode(); - Get.snackbar( - '调试模式', - '已关闭调试模式', - snackPosition: SnackPosition.BOTTOM, - duration: const Duration(seconds: 2), - ); - }, - child: Container( - padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 4.w), - decoration: BoxDecoration( - color: Colors.red.withOpacity(0.8), - borderRadius: BorderRadius.circular(12.w), - ), - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - Icon( - Icons.bug_report, - size: 12.w, - color: Colors.white, - ), - SizedBox(width: 3.w), - Text( - '关闭调试', - style: TextStyle( - fontSize: 10.sp, - color: Colors.white, - fontWeight: FontWeight.w500, - ), - ), - ], - ), - ), - ) - : const SizedBox.shrink()), - ), - // 模式切换器 + + // 模式切换器 Padding( padding: EdgeInsets.only(left: 100.w, right: 60.w), child: Row(