Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
杨凯
YDL-Component-Medical
Commits
e93f3eb4
Commit
e93f3eb4
authored
5 years ago
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
咨询师列表页、咨询师搜索页面埋点区分
parent
55311e1f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+4
-4
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+0
-0
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+0
-0
ConsultBIConstants.kt
m-consultant/src/main/java/com/yidianling/consultant/constants/ConsultBIConstants.kt
+13
-0
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
e93f3eb4
...
@@ -172,8 +172,8 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -172,8 +172,8 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
private
var
headData
:
HeadData
?
=
null
//筛选数据
private
var
headData
:
HeadData
?
=
null
//筛选数据
private
var
isFromSplash
=
false
private
var
isFromSplash
=
false
private
val
props1
=
JSONObject
()
//筛选标题埋点参数
private
val
props1
=
JSONObject
()
//筛选标题埋点参数
private
var
fromPageType
:
Int
=
0
//从哪个页面跳转过来的
private
var
fromPageType
:
Int
=
1
//从哪个页面跳转过来的
private
val
fromPages
=
arrayOf
(
"首页
搜索"
,
"找专家
"
,
"在线专家"
)
private
val
fromPages
=
arrayOf
(
"首页
"
,
"搜索页面
"
,
"在线专家"
)
private
var
isRecommend
=
false
//埋点数据
private
var
isRecommend
=
false
//埋点数据
private
var
keyWord
:
String
?
=
null
//埋点数据
private
var
keyWord
:
String
?
=
null
//埋点数据
private
var
isDoSearch
:
Boolean
=
false
//埋点判断是否通过搜索进入埋点的
private
var
isDoSearch
:
Boolean
=
false
//埋点判断是否通过搜索进入埋点的
...
@@ -380,7 +380,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -380,7 +380,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
v_loading
.
setViewType
(
LogoLoadingView
.
TYPE_LOADING
,
null
)
v_loading
.
setViewType
(
LogoLoadingView
.
TYPE_LOADING
,
null
)
if
(
fromPageType
!=
-
1
)
{
if
(
fromPageType
!=
-
1
)
{
doctorAdapter
.
setEntrance
(
fromPages
[
fromPageType
])
doctorAdapter
.
setEntrance
(
fromPages
[
fromPageType
]
,
1
)
}
}
}
}
...
@@ -1454,7 +1454,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1454,7 +1454,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
override
fun
onResume
()
{
override
fun
onResume
()
{
super
.
onResume
()
super
.
onResume
()
ActionCountUtils
.
count
(
ConsultBIConstants
.
Consult
Event
.
APP_CONSULT
_LIST_PAGE_VISIT
)
ActionCountUtils
.
count
(
ConsultBIConstants
.
Consult
SearchListEvent
.
APP_CONSULT_SEARCH
_LIST_PAGE_VISIT
)
}
}
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
e93f3eb4
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
e93f3eb4
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/constants/ConsultBIConstants.kt
View file @
e93f3eb4
...
@@ -32,6 +32,19 @@ class ConsultBIConstants {
...
@@ -32,6 +32,19 @@ class ConsultBIConstants {
const
val
APP_CONSULT_LIST_CHAT_CLICK
:
String
=
APP_CONSULT_LIST_PAGE
+
"app_consult_list_chat_click"
//每个咨询师私聊
const
val
APP_CONSULT_LIST_CHAT_CLICK
:
String
=
APP_CONSULT_LIST_PAGE
+
"app_consult_list_chat_click"
//每个咨询师私聊
}
}
}
}
class
ConsultSearchListEvent
{
companion
object
{
private
const
val
CONSULT_SEARCH_LIST_PAGE
:
String
=
"consul_search_list_page|"
//APP咨询搜索列表页 partId
const
val
APP_CONSULT_SEARCH_LIST_PAGE_VISIT
:
String
=
CONSULT_SEARCH_LIST_PAGE
+
"consul_search_list_page_visit"
//列表页浏览事件
const
val
APP_CONSULT_SEARCH_LIST_CONSULT_ITEM_CLICK
:
String
=
CONSULT_SEARCH_LIST_PAGE
+
"consult_search_list_doctor_click "
//每个咨询师页面点击
const
val
APP_CONSULT_SEARCH_LIST_CHAT_CLICK
:
String
=
CONSULT_SEARCH_LIST_PAGE
+
"consult__search_list_chat_click"
//每个咨询师私聊
}
}
class
UserMainEvent
{
class
UserMainEvent
{
companion
object
{
companion
object
{
...
...
This diff is collapsed.
Click to expand it.
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