Commit 4a2ab687 authored by 朱翠翠's avatar 朱翠翠

Merge branch 'test' of http://git.wanmeizhensuo.com/linshengyu/gm_flutter into zcc/flutter

parents 330f585b 7a4a74ac
...@@ -47,7 +47,6 @@ class PlanModel extends BaseModel { ...@@ -47,7 +47,6 @@ class PlanModel extends BaseModel {
ClueApiImpl.getInstance() ClueApiImpl.getInstance()
.getPlan(DioUtil.getInstance().getDio()) .getPlan(DioUtil.getInstance().getDio())
.listen((event) { .listen((event) {
print("ERROR12 ${event.error}");
if (event.error == 0) { if (event.error == 0) {
projectData = event.data.tags; projectData = event.data.tags;
sortList = event.data.orders; sortList = event.data.orders;
......
...@@ -31,7 +31,7 @@ class JumpManager { ...@@ -31,7 +31,7 @@ class JumpManager {
"_gtid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225"); "_gtid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225");
JumpUtil.jumpToPageRight(context, initMap(params)[pageNameWrap]); JumpUtil.jumpToPageRight(context, initMap(params)[pageNameWrap]);
} else { } else {
FlutterBoost.singleton.open(pageName, urlParams: params); FlutterBoost.singleton.open(pageNameWrap, urlParams: params);
} }
} }
...@@ -39,6 +39,8 @@ class JumpManager { ...@@ -39,6 +39,8 @@ class JumpManager {
return { return {
"flutter://level_one_plan_detail": "flutter://level_one_plan_detail":
RouterCenterImpl().findClueRouter().getLevelOnePage(params), RouterCenterImpl().findClueRouter().getLevelOnePage(params),
"flutter://level_two_plan_deatil":
RouterCenterImpl().findClueRouter().getLevelTwoPage(params),
"flutter://level_one_plan_instruction": "flutter://level_one_plan_instruction":
RouterCenterImpl().findClueRouter().getProjectDetailsPage(params), RouterCenterImpl().findClueRouter().getProjectDetailsPage(params),
"flutter://level_one_plan_compare": "flutter://level_one_plan_compare":
...@@ -50,9 +52,9 @@ class JumpManager { ...@@ -50,9 +52,9 @@ class JumpManager {
RouterCenterImpl().findClueRouter().getTopPage(params), RouterCenterImpl().findClueRouter().getTopPage(params),
"flutter://hot_plan": "flutter://hot_plan":
RouterCenterImpl().findClueRouter().getTopPage(params), RouterCenterImpl().findClueRouter().getTopPage(params),
'level_one_plan_compare_detail': 'flutter://level_one_plan_compare_detail':
RouterCenterImpl().findClueRouter().getPlanCompareDetailPage(params), RouterCenterImpl().findClueRouter().getPlanCompareDetailPage(params),
'level_two_plan_compare_deatil': 'flutter://level_two_plan_compare_deatil':
RouterCenterImpl().findClueRouter().getPlanCompareDetailPage(params), RouterCenterImpl().findClueRouter().getPlanCompareDetailPage(params),
}; };
} }
......
...@@ -26,23 +26,24 @@ class TestState extends BaseState<TestPage> { ...@@ -26,23 +26,24 @@ class TestState extends BaseState<TestPage> {
JumpUtil.jumpToPageRight(context, NetProxyPage()); JumpUtil.jumpToPageRight(context, NetProxyPage());
})); }));
list.add(listItem("一级列表页", () { list.add(listItem("一级列表页", () {
// JumpUtil.jumpToPageRight(
// context, RouterCenterImpl().findClueRouter().getLevelOnePage({"planId":137}));
RouterCenterImpl() RouterCenterImpl()
.findMainRouter() .findMainRouter()
.jumpPage(context, "clueLevelOne", {"planId": 137}, false); .jumpPage(context, "level_one_plan_detail", {"planId": 137}, false);
})); }));
list.add(listItem("二级列表页", () { list.add(listItem("二级列表页", () {
JumpUtil.jumpToPageRight( RouterCenterImpl()
context, RouterCenterImpl().findClueRouter().getLevelTwoPage({})); .findMainRouter()
.jumpPage(context, "level_two_plan_deatil", {"planId": 137}, false);
})); }));
list.add(listItem("方案页面", () { list.add(listItem("方案页面", () {
JumpUtil.jumpToPageRight( RouterCenterImpl()
context, RouterCenterImpl().findClueRouter().getPlanPage()); .findMainRouter()
.jumpPage(context, "plan_home", {"planId": 137}, false);
})); }));
list.add(listItem("对比详情页", () { list.add(listItem("对比详情页", () {
JumpUtil.jumpToPageRight(context, RouterCenterImpl()
RouterCenterImpl().findClueRouter().getPlanCompareDetailPage({})); .findMainRouter()
.jumpPage(context, "level_one_plan_compare_detail", {"planId": 137}, false);
})); }));
list.add(listItem("项目说明", () { list.add(listItem("项目说明", () {
JumpUtil.jumpToPageRight( JumpUtil.jumpToPageRight(
......
...@@ -19,8 +19,8 @@ const String APP_HOST_RELEASE = "https://x6cgr5y5-gengmei.mock.coding.io"; ...@@ -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://backend.paas-merchant.envs";
//const String APP_HOST_DEBUG = "http://doctor.paas-merchant.env"; //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 = "https://x6cgr5y5-gengmei.mock.coding.io";
//const String APP_HOST_DEBUG = "http://backend.paas-merchant.env"; const String APP_HOST_DEBUG = "http://backend.paas-merchant.env";
//const String APP_HOST_DEBUG = "http://janus.paas-merchant.env"; //const String APP_HOST_DEBUG = "http://janus.paas-merchant.env";
/** /**
......
...@@ -91,7 +91,7 @@ class MyApp extends State<MyAppWidget> { ...@@ -91,7 +91,7 @@ class MyApp extends State<MyAppWidget> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
WindowUtil.setBarStatus(false); WindowUtil.setBarStatus(true);
return MaterialApp( return MaterialApp(
theme: ThemeData( theme: ThemeData(
primaryColor: Colors.white, primaryColor: Colors.white,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment