From e33e3cfac356d5fba9c8ff51752d84606aaa9784 Mon Sep 17 00:00:00 2001 From: "1147192855@qq.com" <1147192855@qq.com> Date: Wed, 17 Apr 2024 16:04:48 +0800 Subject: [PATCH] no message --- .../lib/pages/mine/other_pages/index.dart | 31 +++++++++++++++++-- marking_app/lib/utils/const_text.dart | 9 ++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/marking_app/lib/pages/mine/other_pages/index.dart b/marking_app/lib/pages/mine/other_pages/index.dart index a27f13f..9c89526 100644 --- a/marking_app/lib/pages/mine/other_pages/index.dart +++ b/marking_app/lib/pages/mine/other_pages/index.dart @@ -56,7 +56,7 @@ class _OhterPageState extends State { Container( margin: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w), padding: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w), - height: 130.h, + height: 200.h, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(6.w)), color: Colors.white, @@ -85,7 +85,34 @@ class _OhterPageState extends State { child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - Text('用户隐私协议', style: personalInfoTitleStly), + Text('隐私政策', style: personalInfoTitleStly), + Icon( + Icons.arrow_forward_ios, + color: const Color.fromRGBO(80, 87, 103, 1), + size: 16.sp, + ) + ], + ), + ), + ), + Container( + height: 1.w, + color: const Color.fromRGBO(240, 243, 255, 1), + ), + InkWell( + onTap: () { + RouterManager.router.navigateTo( + context, + transition: TransitionType.fadeIn, + '${RouterManager.agreementPath}?type=${AGREEMENT_KEY.USER_AGREEMENT.name}', + ); + }, + child: Container( + padding: EdgeInsets.only(bottom: 4.h), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text('用户协议', style: personalInfoTitleStly), Icon( Icons.arrow_forward_ios, color: const Color.fromRGBO(80, 87, 103, 1), diff --git a/marking_app/lib/utils/const_text.dart b/marking_app/lib/utils/const_text.dart index 8fff33a..1814697 100644 --- a/marking_app/lib/utils/const_text.dart +++ b/marking_app/lib/utils/const_text.dart @@ -6,13 +6,13 @@ enum AGREEMENT_KEY { PRIVACY_GREEMENT, USER_AGREEMENT } // ignore: non_constant_identifier_names final Map AGREEMENT_MAP = { AGREEMENT_KEY.PRIVACY_GREEMENT: AgreementClass( - title: '隐私协议', + title: '隐私政策', richText: ''' - Document + 隐私政策

隐私政策

@@ -130,9 +130,12 @@ final Map AGREEMENT_MAP = { - Document + 用户协议 +

隐私政策

+
更新日期:2023/1/1
+
生效日期:2023/1/1

用户协议

重庆智学力人工智能科技有限公司(以下简称“我们”)依据本协议为用户(以下简称“你”)提供学而有道阅卷服务。本协议对你和我们均具有法律约束力。

一、本服务的功能