diff --git a/lib/core/translations/language/zh_cn.dart b/lib/core/translations/language/zh_cn.dart index a67bac4f3..43063954b 100644 --- a/lib/core/translations/language/zh_cn.dart +++ b/lib/core/translations/language/zh_cn.dart @@ -118,7 +118,7 @@ const Map zhCN = { "exploreSlogan": "智能耳机,无限可能", "exploreSlogan1": "智能陪伴,无限可能", "exploreSlogan2": "智能眼镜,无限可能", - "exploreAi": "探索DeepSound提供的AI功能", + "exploreAi": "探索DeapSound提供的AI功能", "aiFunction": "AI功能", "allRoundAssistant": "全能助理", "allRoundAssistantInfo": "帮你解决各类问题", diff --git a/lib/modules/settings/views/settings_view.dart b/lib/modules/settings/views/settings_view.dart index b56c5d905..75b01db53 100644 --- a/lib/modules/settings/views/settings_view.dart +++ b/lib/modules/settings/views/settings_view.dart @@ -9,6 +9,7 @@ import '../../../core/widgets/common_bottom_nav.dart'; import '../../../routes/app_routes.dart'; //import '../../../data/models/user_Info.dart'; import 'dart:io'; +import '../../common/webview_page.dart'; class SettingsView extends GetView { const SettingsView({Key? key}) : super(key: key); @@ -580,11 +581,11 @@ class SettingsView extends GetView { onTap: () => Get.toNamed(Routes.OTA_UPGRADE), isDarkMode: isDarkMode, ), - // Divider( - // height: 1, - // color: isDarkMode - // ? Colors.white.withOpacity(0.1) - // : Colors.grey[200]), + Divider( + height: 1, + color: isDarkMode + ? Colors.white.withOpacity(0.1) + : Colors.grey[200]), // 添加权限管理设置项 _buildSettingItem( @@ -596,11 +597,11 @@ class SettingsView extends GetView { Get.toNamed(Routes.permissions); }, ), - Divider( - height: 1, - color: isDarkMode - ? Colors.white.withOpacity(0.1) - : Colors.grey[200]), + // Divider( + // height: 1, + // color: isDarkMode + // ? Colors.white.withOpacity(0.1) + // : Colors.grey[200]), // 退出登录 // _buildSimpleNavigationSetting( @@ -889,6 +890,23 @@ class SettingsView extends GetView { color: isDarkMode ? Colors.grey[400] : Colors.grey[500], ), ), + SizedBox(height: 4.h), + if (Get.locale?.languageCode == 'zh') + InkWell( + onTap: () => Get.to( + () => const WebViewPage( + url: 'https://beian.miit.gov.cn', + title: 'ICP备案信息', + ), + ), + child: Text( + '粤ICP备2025402357号-2A', + style: TextStyle( + fontSize: 12.sp, + color: isDarkMode ? Colors.grey[400] : Colors.grey[500], + ), + ), + ), ], ), ),