Commit 5a6f5e70 authored by 朱璇's avatar 朱璇

埋点修改

parent 69848d8e
......@@ -15,8 +15,9 @@ class PlanItem extends StatelessWidget {
final Plans plans;
final int pos;
final bool isPlanPage;
String tabName;
PlanItem(this.plans, this.pos, this.isPlanPage);
PlanItem(this.plans, this.pos, this.isPlanPage, this.tabName);
@override
Widget build(BuildContext context) {
......@@ -156,24 +157,25 @@ class PlanItem extends StatelessWidget {
),
),
).gestureDetector(() {
Map<String, dynamic> map;
map = {
"tab_name": isPlanPage ? "plan_home" : "",
Map<String, dynamic> buriedMap = {
"tab_name": tabName,
"position": pos,
"card_id": plans.id,
"card_type": "card",
"transaction_type": "",
"card_content_type": "level_one_plan"
};
RouterCenterImpl().findMainRouter().buriedEvent("on_click_card", map);
Map<String, dynamic> buriedMap = {
RouterCenterImpl()
.findMainRouter()
.buriedEvent("on_click_card", buriedMap);
Map<String, dynamic> map = {
"business_id": "${plans.id}",
"planId": plans.id,
"title": "${plans.name}"
};
RouterCenterImpl()
.findMainRouter()
.jumpPage(context, "level_one_plan_detail", buriedMap, false);
.jumpPage(context, "level_one_plan_detail", map, false);
}));
}
}
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