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
5a6f5e70
Commit
5a6f5e70
authored
Jul 11, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
埋点修改
parent
69848d8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
PlanItem.dart
lib/ClueModel/page/plan/PlanItem.dart
+9
-7
No files found.
lib/ClueModel/page/plan/PlanItem.dart
View file @
5a6f5e70
...
...
@@ -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"
,
buriedM
ap
,
false
);
.
jumpPage
(
context
,
"level_one_plan_detail"
,
m
ap
,
false
);
}));
}
}
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