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
1e388f3c
Commit
1e388f3c
authored
Jul 11, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
埋点添加 business_id
parent
47d51653
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
18 deletions
+30
-18
LevelTwoPage.dart
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
+15
-10
PlanItem.dart
lib/ClueModel/page/plan/PlanItem.dart
+8
-5
PlanPage.dart
lib/ClueModel/page/plan/PlanPage.dart
+5
-1
PlanOverviewBean.dart
lib/ClueModel/server/entity/PlanOverviewBean.dart
+2
-2
No files found.
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
View file @
1e388f3c
...
...
@@ -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
),
...
...
lib/ClueModel/page/plan/PlanItem.dart
View file @
1e388f3c
...
...
@@ -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
);
}));
}
}
lib/ClueModel/page/plan/PlanPage.dart
View file @
1e388f3c
...
...
@@ -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
);
...
...
lib/ClueModel/server/entity/PlanOverviewBean.dart
View file @
1e388f3c
...
...
@@ -5,8 +5,8 @@
class
PlanOverViewBean
{
int
error
;
String
message
;
Map
extra
;
Map
errorExtra
;
Null
extra
;
Null
errorExtra
;
UserType
userType
;
PlanOverData
data
;
...
...
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