From 8c800e1d1c3bf6d0a5b80f40b10602ede049180e Mon Sep 17 00:00:00 2001 From: "1147192855@qq.com" <1147192855@qq.com> Date: Fri, 19 Apr 2024 13:48:06 +0800 Subject: [PATCH] no message --- marking_app/lib/pages/login/index.dart | 24 ++++++++++++++++++++---- marking_app/lib/utils/const_text.dart | 2 +- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/marking_app/lib/pages/login/index.dart b/marking_app/lib/pages/login/index.dart index 64de2ba..70fdd08 100644 --- a/marking_app/lib/pages/login/index.dart +++ b/marking_app/lib/pages/login/index.dart @@ -59,7 +59,7 @@ class _TheLoginState extends ConsumerState with CommonMixin { late final FocusNode _theFocus; bool keepPwd = false; // 记住密码 - bool readAgreement = true; // 阅读协议 + bool readAgreement = false; // 阅读协议 bool canLogin = true; bool hasNameVal = false; bool _isShowPwd = true; @@ -339,7 +339,7 @@ class _TheLoginState extends ConsumerState with CommonMixin { transition: getTransition(), ); }, - child: quickText('请仔细阅读', size: 13.sp), + child: quickText('我已阅读', size: 11.sp), ), InkWell( onTap: () { @@ -349,9 +349,25 @@ class _TheLoginState extends ConsumerState with CommonMixin { transition: getTransition(), ); }, - child: const Text( + child: quickText( '《用户协议》', - style: TextStyle(color: Colors.deepOrangeAccent), + size: 12.sp, + color: Colors.deepOrangeAccent, + ), + ), + quickText('和', size: 10.sp), + InkWell( + onTap: () { + RouterManager.router.navigateTo( + context, + '${RouterManager.agreementPath}?type=${AGREEMENT_KEY.PRIVACY_GREEMENT.name}', + transition: getTransition(), + ); + }, + child: quickText( + '《隐私协议》', + size: 12.sp, + color: Colors.deepOrangeAccent, ), ), ], diff --git a/marking_app/lib/utils/const_text.dart b/marking_app/lib/utils/const_text.dart index 1814697..171aa92 100644 --- a/marking_app/lib/utils/const_text.dart +++ b/marking_app/lib/utils/const_text.dart @@ -33,7 +33,7 @@ final Map AGREEMENT_MAP = {
  • 位置信息,指您开启设备定位功能并使用我们基于位置提供的相关服务时,收集的有关您位置的信息,包括:
    • 您通过具有定位功能的移动设备使用我们的服务时,通过GPS或WiFi等方式收集的您的地理位置信息;
    • 您可以通过关闭定位功能,停止对您的地理位置信息的收集。
  • 个人信息,您在注册账户或使用我们的服务时,向我们提供的相关个人信息,例如电话号码、电子邮件等。
  • -
  • 日志信息,指您使用我们的服务时,系统可能通过cookies、标识符及相关技术收集的信息,包括您的设备信息浏览信息点击信息,并将该等信息储存为日志信息,为您提供个性化的用户体验、保障服务安全。您可以通过浏览器设置拒绝或管理cookie、标识符或相关技术的使用。
  • +
  • 日志信息,指您使用我们的服务时,系统可能通过cookies、标识符及相关技术收集的信息,包括您的设备信息浏览信息点击信息,并将该等信息储存为日志信息,为您提供保障服务安全。您可以通过浏览器设置拒绝或管理cookie、标识符或相关技术的使用。