瀏覽代碼

[new]合并备案号

zk 2 月之前
父節點
當前提交
6a60a3eedb
共有 3 個文件被更改,包括 12 次插入5 次删除
  1. 2 1
      assets/string/base/string.xml
  2. 4 1
      lib/module/about/about_page.dart
  3. 6 3
      lib/resource/string.gen.dart

+ 2 - 1
assets/string/base/string.xml

@@ -250,7 +250,8 @@
     </string>
     <string name="logout_account">注销账号</string>
     <string name="account_logout_success">注销成功</string>
-    <string name="record_number">备案号:皖ICP备2024057362号-19A</string>
+    <string name="record_number_ios">备案号:皖ICP备2024057362号-19A</string>
+    <string name="record_number_android">备案号:皖ICP备2024057362号-20A</string>
     <string name="permission_setting">快速设置</string>
     <string name="permission_location_setting">定位权限开启</string>
     <string name="permission_location_setting_subtitle">

+ 4 - 1
lib/module/about/about_page.dart

@@ -59,7 +59,10 @@ class AboutPage extends BasePage<AboutController> {
           ],
         ),
         SizedBox(height: 1.w),
-        Text(StringName.recordNumber,
+        Text(
+            Platform.isAndroid
+                ? StringName.recordNumberAndroid
+                : StringName.recordNumberIos,
             style: TextStyle(fontSize: 12.sp, color: '#A7A7A7'.color)),
         SizedBox(height: 52.w),
       ],

+ 6 - 3
lib/resource/string.gen.dart

@@ -2,7 +2,6 @@ import 'package:get/get.dart';
 
 class StringName {
   StringName._();
-
   static String get appNameAndroid => 'app_name_android'.tr; // 寻迹速查定位
   static String get appNameIos => 'app_name_ios'.tr; // 手机实时定位
   static String get mainTabHome => 'main_tab_home'.tr; // 首页
@@ -214,7 +213,10 @@ class StringName {
   static String get logoutAccountContent => 'logout_account_content'.tr; // 1.删除账号所有账号信息数据和定位记录;\n2.删除并放弃账号下的会员权益;\n3.点击“确认注销”即开始注销流程不可撤回,请慎重考虑。
   static String get logoutAccount => 'logout_account'.tr; // 注销账号
   static String get accountLogoutSuccess => 'account_logout_success'.tr; // 注销成功
-  static String get recordNumber => 'record_number'.tr; // 备案号:皖ICP备2024057362号-19A
+  static String get recordNumberIos =>
+      'record_number_ios'.tr; // 备案号:皖ICP备2024057362号-19A
+  static String get recordNumberAndroid =>
+      'record_number_android'.tr; // 备案号:皖ICP备2024057362号-20A
   static String get permissionSetting => 'permission_setting'.tr; // 快速设置
   static String get permissionLocationSetting => 'permission_location_setting'.tr; // 定位权限开启
   static String get permissionLocationSettingSubtitle => 'permission_location_setting_subtitle'.tr; // 定位权限需要设置为本应用选择“始终允许”,才可以正常查看轨迹。
@@ -559,7 +561,8 @@ class StringMultiSource {
       'logout_account_content': '1.删除账号所有账号信息数据和定位记录;\n2.删除并放弃账号下的会员权益;\n3.点击“确认注销”即开始注销流程不可撤回,请慎重考虑。',
       'logout_account': '注销账号',
       'account_logout_success': '注销成功',
-      'record_number': '备案号:皖ICP备2024057362号-19A',
+      'record_number_ios': '备案号:皖ICP备2024057362号-19A',
+      'record_number_android': '备案号:皖ICP备2024057362号-20A',
       'permission_setting': '快速设置',
       'permission_location_setting': '定位权限开启',
       'permission_location_setting_subtitle': '定位权限需要设置为本应用选择“始终允许”,才可以正常查看轨迹。',