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
d97ed16c
Commit
d97ed16c
authored
Jul 07, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
6d43b99c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
LevelOneList.dart
lib/ClueModel/page/levelOne/LevelOneList.dart
+14
-3
JumpManager.dart
lib/MainRouter/manager/JumpManager.dart
+0
-2
TestPage.dart
lib/MainRouter/page/test/TestPage.dart
+4
-0
No files found.
lib/ClueModel/page/levelOne/LevelOneList.dart
View file @
d97ed16c
...
...
@@ -90,9 +90,20 @@ class LevelOneListState extends State<LevelOneList>
color:
Color
(
0xffF7F6FA
),
);
}
return
LevelOneItem
(
_model
.
data
[
index
]
,
lowPrice:
(){
},);
return
LevelOneItem
(
_model
.
data
[
index
],
lowPrice:
()
{
DiscussLowPricePopView
.
showPopView
(
context
,
"
${widget.planId}
"
,
_model
.
data
[
index
].
cardType
==
"hospital"
?
_model
.
data
[
index
].
hospital
:
""
,
_model
.
data
[
index
].
cardType
==
"doctor"
?
_model
.
data
[
index
].
doctor
:
""
);
},
);
},
childCount:
_model
.
data
.
length
+
1
,
),
...
...
lib/MainRouter/manager/JumpManager.dart
View file @
d97ed16c
...
...
@@ -27,8 +27,6 @@ class JumpManager {
String
pageNameWrap
=
nativePage
?
"gm://
${pageName}
"
:
"flutter://
${pageName}
"
;
if
(!
MainManager
.
getInstance
().
isInit
)
{
CacheManager
.
getInstance
().
get
(
MEMORY_CACHE
).
save
(
COOKIE
,
"_gtid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225"
);
JumpUtil
.
jumpToPageRight
(
context
,
initMap
(
params
)[
pageNameWrap
]);
}
else
{
FlutterBoost
.
singleton
.
open
(
pageNameWrap
,
urlParams:
params
);
...
...
lib/MainRouter/page/test/TestPage.dart
View file @
d97ed16c
...
...
@@ -6,8 +6,10 @@ import 'package:flutter/cupertino.dart';
import
'package:flutter/material.dart'
;
import
'package:flutter_common/commonModel/util/JumpUtil.dart'
;
import
'package:gm_flutter/MainRouter/page/proxy/NetProxyPage.dart'
;
import
'package:gm_flutter/commonModel/App.dart'
;
import
'package:gm_flutter/commonModel/base/BaseComponent.dart'
;
import
'package:gm_flutter/commonModel/base/BaseState.dart'
;
import
'package:gm_flutter/commonModel/cache/CacheManager.dart'
;
import
'package:gm_flutter/main.mark.dart'
;
import
'package:gm_flutter/ClueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart'
;
import
'TP.dart'
;
...
...
@@ -75,6 +77,8 @@ class TestState extends BaseState<TestPage> {
@override
Widget
buildItem
(
BuildContext
context
)
{
CacheManager
.
getInstance
().
get
(
MEMORY_CACHE
).
save
(
COOKIE
,
"_gtid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225"
);
return
Scaffold
(
appBar:
baseAppBar
(
title:
"测试页面"
,
...
...
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