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 fa9f41ca
authored
2025-12-16 09:56:00 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加菜单按钮
1 parent
0adb12b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
lib/config/constant.dart
lib/ui/pages/web_page.dart
lib/config/constant.dart
View file @
fa9f41c
...
...
@@ -50,7 +50,7 @@ class Constant {
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// app 版本号规则
static
const
String
appVersion
=
'1.0.25121
14
'
;
static
const
String
appVersion
=
'1.0.25121
62
'
;
/// H5的起始终最低版本号规则
static
const
String
h5Version
=
'1.0.0'
;
...
...
lib/ui/pages/web_page.dart
View file @
fa9f41c
...
...
@@ -218,12 +218,12 @@ class WebPage extends StatelessWidget {
children:
[
ListTile
(
leading:
const
Icon
(
Icons
.
book_outlined
,
size:
20
),
title:
const
Text
(
'
用户协议A
'
,
style:
TextStyle
(
fontSize:
14
)),
title:
const
Text
(
'
版本记录
'
,
style:
TextStyle
(
fontSize:
14
)),
onTap:
()
{
Navigator
.
pop
(
ctx
);
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://
www.baidu.com/duty/'
,
'title'
:
'用户协议A
'
},
extra:
{
'url'
:
'https://
bxr.banxiaoer.net/apps/index.html'
,
'title'
:
'版本记录
'
},
);
},
contentPadding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
vertical:
4
),
...
...
@@ -234,12 +234,12 @@ class WebPage extends StatelessWidget {
Divider
(
height:
1
,
thickness:
0.5
,
indent:
16
,
endIndent:
16
),
ListTile
(
leading:
const
Icon
(
Icons
.
book_outlined
,
size:
20
),
title:
const
Text
(
'用户协议
B
'
,
style:
TextStyle
(
fontSize:
14
)),
title:
const
Text
(
'用户协议'
,
style:
TextStyle
(
fontSize:
14
)),
onTap:
()
{
Navigator
.
pop
(
ctx
);
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://www.baidu.com/duty/'
,
'title'
:
'用户协议
B
'
},
extra:
{
'url'
:
'https://www.baidu.com/duty/'
,
'title'
:
'用户协议'
},
);
},
contentPadding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
vertical:
4
),
...
...
@@ -255,7 +255,23 @@ class WebPage extends StatelessWidget {
Navigator
.
pop
(
ctx
);
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://www.baidu.com/duty/'
,
'title'
:
'用户协议C'
},
extra:
{
'url'
:
'https://www.baidu.com/duty/'
,
'title'
:
'隐私设置'
},
);
},
contentPadding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
vertical:
4
),
trailing:
Icon
(
Icons
.
arrow_forward_ios
,
size:
14
),
dense:
true
,
visualDensity:
VisualDensity
.
compact
,
),
Divider
(
height:
1
,
thickness:
0.5
,
indent:
16
,
endIndent:
16
),
ListTile
(
leading:
const
Icon
(
Icons
.
book_outlined
,
size:
20
),
title:
const
Text
(
'关于'
,
style:
TextStyle
(
fontSize:
14
)),
onTap:
()
{
Navigator
.
pop
(
ctx
);
router
.
push
(
'/link'
,
extra:
{
'url'
:
'https://bxr.banxiaoer.net/apps/produce.html'
,
'title'
:
'关于'
},
);
},
contentPadding:
const
EdgeInsets
.
symmetric
(
horizontal:
16
,
vertical:
4
),
...
...
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