Commit 1e388f3c authored by 朱璇's avatar 朱璇

埋点添加 business_id

parent 47d51653
......@@ -391,11 +391,13 @@ class LevelTwoState extends BaseState<LevelTwoPage>
),
GestureDetector(
onTap: () {
RouterCenterImpl().findMainRouter().jumpPage(
context,
"level_one_plan_instruction",
{"planId": widget.planId},
false);
Map<String, dynamic> map = {
"business_id": "${widget.planId}",
"planId": widget.planId,
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "level_one_plan_instruction", map, false);
},
behavior: HitTestBehavior.opaque,
child: baseText("了解更多", 12, Color(0xff3FB5AF)),
......@@ -471,11 +473,14 @@ class LevelTwoState extends BaseState<LevelTwoPage>
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
RouterCenterImpl().findMainRouter().jumpPage(
context,
"level_two_plan_compare",
{"planType": 2, "planId": widget.planId},
false);
Map<String, dynamic> map = {
"business_id": "${widget.planId}",
"planId": widget.planId,
"planType": 2
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "level_two_plan_compare", map, false);
},
child: Container(
margin: EdgeInsets.only(left: 21),
......
......@@ -163,11 +163,14 @@ class PlanItem extends StatelessWidget {
}
RouterCenterImpl().findMainRouter().buriedEvent("on_click_card", map);
RouterCenterImpl().findMainRouter().jumpPage(
context,
"level_one_plan_detail",
{"planId": plans.id, "title": "${plans.name}"},
false);
Map<String, dynamic> buriedMap = {
"business_id": "${plans.id}",
"planId": plans.id,
"title": "${plans.name}"
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "level_one_plan_detail", buriedMap, false);
}));
}
}
......@@ -202,7 +202,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
leftPos: data.data[0],
topPos: data.data[1],
width: MediaQuery.of(context).size.width,
maxHeight: 45*_model.sortList.length,
maxHeight: 45 * _model.sortList.length,
listener: sortMenuListener,
child: SortView(_model.sortList, _model.sortPos, (index) {
clickIndexOther(1);
......@@ -444,7 +444,9 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
"rank_type": "0",
"id": "${data.data[0].id}",
"title": "${data.data[0].name}",
"business_id": "${data.data[0].id}",
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "favor_plan", map, false);
......@@ -473,7 +475,9 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
"rank_type": "1",
"id": "${data.data[1].id}",
"title": "${data.data[1].name}",
"business_id": "${data.data[1].id}",
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "hot_plan", map, false);
......
......@@ -5,8 +5,8 @@
class PlanOverViewBean {
int error;
String message;
Map extra;
Map errorExtra;
Null extra;
Null errorExtra;
UserType userType;
PlanOverData data;
......
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