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
7a4a74ac
Commit
7a4a74ac
authored
Jul 06, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comit
parent
be40bad7
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
16 deletions
+18
-16
PlanModel.dart
lib/ClueModel/page/plan/PlanModel.dart
+0
-1
JumpManager.dart
lib/MainRouter/manager/JumpManager.dart
+5
-3
TestPage.dart
lib/MainRouter/page/test/TestPage.dart
+10
-9
Api.dart
lib/commonModel/net/Api.dart
+2
-2
main.dart
lib/main.dart
+1
-1
No files found.
lib/ClueModel/page/plan/PlanModel.dart
View file @
7a4a74ac
...
...
@@ -47,7 +47,6 @@ class PlanModel extends BaseModel {
ClueApiImpl
.
getInstance
()
.
getPlan
(
DioUtil
.
getInstance
().
getDio
())
.
listen
((
event
)
{
print
(
"ERROR12
${event.error}
"
);
if
(
event
.
error
==
0
)
{
projectData
=
event
.
data
.
tags
;
sortList
=
event
.
data
.
orders
;
...
...
lib/MainRouter/manager/JumpManager.dart
View file @
7a4a74ac
...
...
@@ -31,7 +31,7 @@ class JumpManager {
"_gtid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225"
);
JumpUtil
.
jumpToPageRight
(
context
,
initMap
(
params
)[
pageNameWrap
]);
}
else
{
FlutterBoost
.
singleton
.
open
(
pageName
,
urlParams:
params
);
FlutterBoost
.
singleton
.
open
(
pageName
Wrap
,
urlParams:
params
);
}
}
...
...
@@ -39,6 +39,8 @@ class JumpManager {
return
{
"flutter://level_one_plan_detail"
:
RouterCenterImpl
().
findClueRouter
().
getLevelOnePage
(
params
),
"flutter://level_two_plan_deatil"
:
RouterCenterImpl
().
findClueRouter
().
getLevelTwoPage
(
params
),
"flutter://level_one_plan_instruction"
:
RouterCenterImpl
().
findClueRouter
().
getProjectDetailsPage
(
params
),
"flutter://level_one_plan_compare"
:
...
...
@@ -50,9 +52,9 @@ class JumpManager {
RouterCenterImpl
().
findClueRouter
().
getTopPage
(
params
),
"flutter://hot_plan"
:
RouterCenterImpl
().
findClueRouter
().
getTopPage
(
params
),
'level_one_plan_compare_detail'
:
'
flutter://
level_one_plan_compare_detail'
:
RouterCenterImpl
().
findClueRouter
().
getPlanCompareDetailPage
(
params
),
'level_two_plan_compare_deatil'
:
'
flutter://
level_two_plan_compare_deatil'
:
RouterCenterImpl
().
findClueRouter
().
getPlanCompareDetailPage
(
params
),
};
}
...
...
lib/MainRouter/page/test/TestPage.dart
View file @
7a4a74ac
...
...
@@ -26,23 +26,24 @@ class TestState extends BaseState<TestPage> {
JumpUtil
.
jumpToPageRight
(
context
,
NetProxyPage
());
}));
list
.
add
(
listItem
(
"一级列表页"
,
()
{
// JumpUtil.jumpToPageRight(
// context, RouterCenterImpl().findClueRouter().getLevelOnePage({"planId":137}));
RouterCenterImpl
()
.
findMainRouter
()
.
jumpPage
(
context
,
"
clueLevelOne
"
,
{
"planId"
:
137
},
false
);
.
jumpPage
(
context
,
"
level_one_plan_detail
"
,
{
"planId"
:
137
},
false
);
}));
list
.
add
(
listItem
(
"二级列表页"
,
()
{
JumpUtil
.
jumpToPageRight
(
context
,
RouterCenterImpl
().
findClueRouter
().
getLevelTwoPage
({}));
RouterCenterImpl
()
.
findMainRouter
()
.
jumpPage
(
context
,
"level_two_plan_deatil"
,
{
"planId"
:
137
},
false
);
}));
list
.
add
(
listItem
(
"方案页面"
,
()
{
JumpUtil
.
jumpToPageRight
(
context
,
RouterCenterImpl
().
findClueRouter
().
getPlanPage
());
RouterCenterImpl
()
.
findMainRouter
()
.
jumpPage
(
context
,
"plan_home"
,
{
"planId"
:
137
},
false
);
}));
list
.
add
(
listItem
(
"对比详情页"
,
()
{
JumpUtil
.
jumpToPageRight
(
context
,
RouterCenterImpl
().
findClueRouter
().
getPlanCompareDetailPage
({}));
RouterCenterImpl
()
.
findMainRouter
()
.
jumpPage
(
context
,
"level_one_plan_compare_detail"
,
{
"planId"
:
137
},
false
);
}));
list
.
add
(
listItem
(
"项目说明"
,
()
{
JumpUtil
.
jumpToPageRight
(
...
...
lib/commonModel/net/Api.dart
View file @
7a4a74ac
...
...
@@ -19,8 +19,8 @@ const String APP_HOST_RELEASE = "https://x6cgr5y5-gengmei.mock.coding.io";
*/
//const String APP_HOST_DEBUG = "http://backend.paas-merchant.envs";
//const String APP_HOST_DEBUG = "http://doctor.paas-merchant.env";
const
String
APP_HOST_DEBUG
=
"https://x6cgr5y5-gengmei.mock.coding.io"
;
//
const String APP_HOST_DEBUG = "http://backend.paas-merchant.env";
//
const String APP_HOST_DEBUG = "https://x6cgr5y5-gengmei.mock.coding.io";
const
String
APP_HOST_DEBUG
=
"http://backend.paas-merchant.env"
;
//const String APP_HOST_DEBUG = "http://janus.paas-merchant.env";
/**
...
...
lib/main.dart
View file @
7a4a74ac
...
...
@@ -91,7 +91,7 @@ class MyApp extends State<MyAppWidget> {
@override
Widget
build
(
BuildContext
context
)
{
WindowUtil
.
setBarStatus
(
fals
e
);
WindowUtil
.
setBarStatus
(
tru
e
);
return
MaterialApp
(
theme:
ThemeData
(
primaryColor:
Colors
.
white
,
...
...
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