Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6a0055b5
authored
2025-12-24 10:17:34 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登录界面增加隐私保障和用户协议的打开操作
1 parent
6b074f28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
lib/ui/widgets/login/login_page_agreed_widget.dart
lib/ui/widgets/login/login_page_agreed_widget.dart
View file @
6a0055b
import
'package:appframe/config/routes.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
class
LoginPageAgreedWidget
extends
StatelessWidget
{
class
LoginPageAgreedWidget
extends
StatelessWidget
{
...
@@ -15,6 +17,13 @@ class LoginPageAgreedWidget extends StatelessWidget {
...
@@ -15,6 +17,13 @@ class LoginPageAgreedWidget extends StatelessWidget {
TextSpan
(
TextSpan
(
text:
'《隐私保障》'
,
text:
'《隐私保障》'
,
style:
TextStyle
(
color:
Color
(
0xFF7691FA
),
fontSize:
12
),
style:
TextStyle
(
color:
Color
(
0xFF7691FA
),
fontSize:
12
),
recognizer:
TapGestureRecognizer
()
..
onTap
=
()
{
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://bxr.banxiaoer.net/apps/privacysettings.html'
,
'title'
:
'隐私设置'
},
);
},
),
),
TextSpan
(
TextSpan
(
text:
'和'
,
text:
'和'
,
...
@@ -23,10 +32,17 @@ class LoginPageAgreedWidget extends StatelessWidget {
...
@@ -23,10 +32,17 @@ class LoginPageAgreedWidget extends StatelessWidget {
TextSpan
(
TextSpan
(
text:
'《用户协议》'
,
text:
'《用户协议》'
,
style:
TextStyle
(
color:
Color
(
0xFF7691FA
),
fontSize:
12
),
style:
TextStyle
(
color:
Color
(
0xFF7691FA
),
fontSize:
12
),
recognizer:
TapGestureRecognizer
()
..
onTap
=
()
{
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://bxr.banxiaoer.net/apps/useragreement.html'
,
'title'
:
'用户协议'
},
);
},
),
),
],
],
),
),
strutStyle:
StrutStyle
(
height:
13.5
/
12
),
// 设置行高为13.5
strutStyle:
StrutStyle
(
height:
13.5
/
12
),
// 设置行高为13.5
);
);
}
}
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment