no message

This commit is contained in:
1147192855@qq.com 2024-04-17 16:04:48 +08:00
parent 0cb3d69201
commit e33e3cfac3
2 changed files with 35 additions and 5 deletions

View File

@ -56,7 +56,7 @@ class _OhterPageState extends State<OhterPage> {
Container( Container(
margin: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w), margin: EdgeInsets.symmetric(vertical: 22.h, horizontal: 16.w),
padding: 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( decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(6.w)), borderRadius: BorderRadius.all(Radius.circular(6.w)),
color: Colors.white, color: Colors.white,
@ -85,7 +85,34 @@ class _OhterPageState extends State<OhterPage> {
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ 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( Icon(
Icons.arrow_forward_ios, Icons.arrow_forward_ios,
color: const Color.fromRGBO(80, 87, 103, 1), color: const Color.fromRGBO(80, 87, 103, 1),

View File

@ -6,13 +6,13 @@ enum AGREEMENT_KEY { PRIVACY_GREEMENT, USER_AGREEMENT }
// ignore: non_constant_identifier_names // ignore: non_constant_identifier_names
final Map<AGREEMENT_KEY, AgreementClass> AGREEMENT_MAP = { final Map<AGREEMENT_KEY, AgreementClass> AGREEMENT_MAP = {
AGREEMENT_KEY.PRIVACY_GREEMENT: AgreementClass( AGREEMENT_KEY.PRIVACY_GREEMENT: AgreementClass(
title: '隐私协议', title: '隐私政策',
richText: '''<!DOCTYPE html> richText: '''<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Document</title> <title></title>
</head> </head>
<body> <body>
<h1></h1> <h1></h1>
@ -130,9 +130,12 @@ final Map<AGREEMENT_KEY, AgreementClass> AGREEMENT_MAP = {
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Document</title> <title></title>
</head> </head>
<body> <body>
<h1></h1>
<div><strong>2023/1/1</strong></div>
<div><strong>2023/1/1</strong></div>
<h1></h1> <h1></h1>
<p><i></i><i></i></p> <p><i></i><i></i></p>
<h4></h4> <h4></h4>