|
|
|
@ -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<SettingsController> { |
|
|
|
const SettingsView({Key? key}) : super(key: key); |
|
|
|
@ -580,11 +581,11 @@ class SettingsView extends GetView<SettingsController> { |
|
|
|
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<SettingsController> { |
|
|
|
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<SettingsController> { |
|
|
|
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], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
|