diff --git a/lib/modules/common/widgets/privacy_policy_dialog.dart b/lib/modules/common/widgets/privacy_policy_dialog.dart index b6863e2f3..16ecc154e 100644 --- a/lib/modules/common/widgets/privacy_policy_dialog.dart +++ b/lib/modules/common/widgets/privacy_policy_dialog.dart @@ -78,11 +78,11 @@ class PrivacyPolicyDialog extends StatelessWidget { child: GestureDetector( onTap: () { String url = - 'https://www.voitrans.net/doc/ysxy.html'; // 隐私政策链接 + 'https://www.voitrans.net/doc/privacy_policy.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { url = - 'https://www.voitrans.net/doc/ysxy_en.html'; // 隐私政策英文链接 + 'https://www.voitrans.net/doc/privacy_policy_en.html'; } Get.to(() => WebViewPage( url: url, @@ -110,11 +110,11 @@ class PrivacyPolicyDialog extends StatelessWidget { child: GestureDetector( onTap: () { String url = - 'https://www.voitrans.net/doc/yhxy.html'; // 用户协议链接 + 'https://www.voitrans.net/doc/user_agreement.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { url = - 'https://www.voitrans.net/doc/yhxy_en.html'; // 用户协议英文链接 + 'https://www.voitrans.net/doc/user_agreement_en.html'; } Get.to(() => WebViewPage( url: url, @@ -197,4 +197,4 @@ class PrivacyPolicyDialog extends StatelessWidget { ), ); } -} \ No newline at end of file +} diff --git a/lib/modules/login/views/login_view.dart b/lib/modules/login/views/login_view.dart index bfe280e28..b5a82f869 100644 --- a/lib/modules/login/views/login_view.dart +++ b/lib/modules/login/views/login_view.dart @@ -596,10 +596,10 @@ class LoginView extends GetView { children: [ GestureDetector( onTap: () { - String url = 'https://www.voitrans.net/doc/yhxy.html'; // 用户协议链接 + String url = 'https://www.voitrans.net/doc/user_agreement.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { - url = 'https://www.voitrans.net/doc/yhxy_en.html'; // 用户协议英文链接 + url = 'https://www.voitrans.net/doc/user_agreement_en.html'; } Get.to(() => WebViewPage( url: url, @@ -623,11 +623,10 @@ class LoginView extends GetView { ), GestureDetector( onTap: () { - String url = 'https://www.voitrans.net/doc/ysxy.html'; // 隐私政策链接 - + String url = 'https://www.voitrans.net/doc/privacy_policy.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { - url = 'https://www.voitrans.net/doc/ysxy_en.html'; // 隐私政策英文链接 + url = 'https://www.voitrans.net/doc/privacy_policy_en.html'; } Get.to(() => WebViewPage( diff --git a/lib/modules/profile/views/profile_view.dart b/lib/modules/profile/views/profile_view.dart index 1e9d8a268..d020d1290 100644 --- a/lib/modules/profile/views/profile_view.dart +++ b/lib/modules/profile/views/profile_view.dart @@ -696,11 +696,11 @@ class EditProfileView extends GetView { titleColor: isDarkMode ? Colors.white : Colors.black87, onTap: () { String url = - 'https://www.voitrans.net/doc/yhxy.html'; // 用户协议链接 + 'https://www.voitrans.net/doc/user_agreement.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { url = - 'https://www.voitrans.net/doc/yhxy_en.html'; // 用户协议英文链接 + 'https://www.voitrans.net/doc/user_agreement_en.html'; } Get.to(() => WebViewPage( url: url, @@ -727,11 +727,11 @@ class EditProfileView extends GetView { titleColor: isDarkMode ? Colors.white : Colors.black87, onTap: () { String url = - 'https://www.voitrans.net/doc/ysxy.html'; // 隐私政策链接 + 'https://www.voitrans.net/doc/privacy_policy.html'; if (Get.locale?.languageCode != 'zh' || Get.locale?.countryCode != 'CN') { url = - 'https://www.voitrans.net/doc/ysxy_en.html'; // 隐私政策英文链接 + 'https://www.voitrans.net/doc/privacy_policy_en.html'; } Get.to(() => WebViewPage( url: url,