Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
ae142f80
Commit
ae142f80
authored
Jul 10, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w
parent
16b3268c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
PlanPage.dart
lib/ClueModel/page/plan/PlanPage.dart
+4
-2
TopPage.dart
lib/ClueModel/page/top/TopPage.dart
+6
-4
No files found.
lib/ClueModel/page/plan/PlanPage.dart
View file @
ae142f80
...
...
@@ -434,7 +434,8 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
)).
gestureDetector
(()
{
Map
<
String
,
dynamic
>
map
=
{
"rank_type"
:
"0"
,
"id"
:
"
${data.data[1].id}
"
"id"
:
"
${data.data[0].id}
"
,
"title"
:
"
${data.data[0].name}
"
,
};
RouterCenterImpl
()
.
findMainRouter
()
...
...
@@ -462,7 +463,8 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
)).
gestureDetector
(()
{
Map
<
String
,
dynamic
>
map
=
{
"rank_type"
:
"1"
,
"id"
:
"
${data.data[1].id}
"
"id"
:
"
${data.data[1].id}
"
,
"title"
:
"
${data.data[1].name}
"
,
};
RouterCenterImpl
()
.
findMainRouter
()
...
...
lib/ClueModel/page/top/TopPage.dart
View file @
ae142f80
...
...
@@ -28,11 +28,13 @@ import 'TopList.dart';
class
TopPage
extends
StatefulWidget
{
String
rank_type
;
String
id
;
String
title
;
TopPage
(
Map
<
String
,
dynamic
>
map
)
{
print
(
"LSY
${map.toString()}
"
);
this
.
rank_type
=
map
[
"rank_type"
];
this
.
id
=
map
[
"id"
];
this
.
title
=
map
[
"title"
];
}
@override
...
...
@@ -140,14 +142,14 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
),
),
baseSliverBack
(()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
FlutterBoost
.
singleton
.
closeCurrent
();
}
else
{
}
else
{
Navigator
.
of
(
context
).
pop
();
}
}),
baseSliverTitle
(
"title"
,
MediaQuery
.
of
(
context
).
size
.
width
,
_model
.
textLive
)
baseSliverTitle
(
"
${widget.title}
"
,
MediaQuery
.
of
(
context
).
size
.
width
,
_model
.
textLive
)
],
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment