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
9c71c8be
Commit
9c71c8be
authored
Dec 20, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复快速切换首页和其他页面导致得首页数据加载异常问题
parent
79079b9e
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
120 additions
and
111 deletions
+120
-111
DemoAppLifecycles.java
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
+0
-1
config.gradle
config.gradle
+2
-2
ExpertSearchBigShotBean.java
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchBigShotBean.java
+5
-5
ExpertSearchRecommandBean.java
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchRecommandBean.java
+5
-5
ExpertSearchTopShowBean.kt
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchTopShowBean.kt
+1
-1
RecommendListView.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/RecommendListView.kt
+1
-1
home_data.json
m-home/src/main/assets/home_data.json
+1
-1
IHomeBaseContract.kt
m-home/src/main/java/com/yidianling/home/constants/IHomeBaseContract.kt
+1
-1
BaseHomePresenterImpl.kt
m-home/src/main/java/com/yidianling/home/presenter/BaseHomePresenterImpl.kt
+8
-5
HomePresenterImpl.kt
m-home/src/xlzx/java/com/yidianling/home/presenter/HomePresenterImpl.kt
+2
-2
HomeConsultItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+1
-1
HomeConfideRecyleSuspendListener.kt
m-home/src/ydl/java/com/yidianling/home/listener/HomeConfideRecyleSuspendListener.kt
+77
-75
HomePresenterImpl.kt
m-home/src/ydl/java/com/yidianling/home/presenter/HomePresenterImpl.kt
+5
-2
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+7
-5
HomeConsultItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+4
-4
No files found.
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
View file @
9c71c8be
...
...
@@ -15,7 +15,6 @@ import com.umeng.analytics.MobclickAgent;
import
com.umeng.commonsdk.UMConfigure
;
import
com.umeng.socialize.PlatformConfig
;
import
com.umeng.socialize.UMShareAPI
;
import
com.ydl.audioim.YDLavManager
;
import
com.ydl.component.BuildConfig
;
import
com.ydl.component.MainActivity
;
import
com.ydl.media.audio.PlayService
;
...
...
config.gradle
View file @
9c71c8be
...
...
@@ -44,10 +44,10 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.41.1"
,
"m-consultant"
:
"0.0.51.
1
"
,
"m-consultant"
:
"0.0.51.
3
"
,
"m-fm"
:
"0.0.23.3"
,
"m-user"
:
"0.0.40.3"
,
"m-home"
:
"0.0.6.
6
"
,
"m-home"
:
"0.0.6.
18
"
,
"m-muse"
:
"0.0.20.3"
,
"m-tests"
:
"0.0.15.2"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchBigShotBean.java
View file @
9c71c8be
...
...
@@ -151,7 +151,7 @@ public class ExpertSearchBigShotBean {
private
int
id
;
private
int
parentId
;
private
int
i
am
geType
;
private
int
i
ma
geType
;
private
int
isShow
;
private
String
createTime
;
private
String
updateTime
;
...
...
@@ -174,12 +174,12 @@ public class ExpertSearchBigShotBean {
this
.
parentId
=
parentId
;
}
public
int
getI
am
geType
()
{
return
i
am
geType
;
public
int
getI
ma
geType
()
{
return
i
ma
geType
;
}
public
void
setI
am
geType
(
int
iamgeType
)
{
this
.
i
am
geType
=
iamgeType
;
public
void
setI
ma
geType
(
int
iamgeType
)
{
this
.
i
ma
geType
=
iamgeType
;
}
public
int
getIsShow
()
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchRecommandBean.java
View file @
9c71c8be
...
...
@@ -152,7 +152,7 @@ public class ExpertSearchRecommandBean {
private
int
id
;
private
int
parentId
;
private
int
i
am
geType
;
private
int
i
ma
geType
;
private
int
isShow
;
private
String
createTime
;
private
String
updateTime
;
...
...
@@ -175,12 +175,12 @@ public class ExpertSearchRecommandBean {
this
.
parentId
=
parentId
;
}
public
int
getI
am
geType
()
{
return
i
am
geType
;
public
int
getI
ma
geType
()
{
return
i
ma
geType
;
}
public
void
setI
am
geType
(
int
iamgeType
)
{
this
.
i
am
geType
=
iamgeType
;
public
void
setI
ma
geType
(
int
iamgeType
)
{
this
.
i
ma
geType
=
iamgeType
;
}
public
int
getIsShow
()
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/bean/ExpertSearchTopShowBean.kt
View file @
9c71c8be
...
...
@@ -3,5 +3,5 @@ package com.yidianling.consultant.bean
class
ExpertSearchTopShowBean
(
var
doctorSpecialTopics
:
ArrayList
<
ExpertSearchBigShotBean
>,
var
sceneSpecialTopic
:
ArrayList
<
ExpertSearchRecommandBean
>
var
sceneSpecialTopic
s
:
ArrayList
<
ExpertSearchRecommandBean
>
)
m-consultant/src/main/java/com/yidianling/consultant/ui/view/topView/RecommendListView.kt
View file @
9c71c8be
...
...
@@ -79,7 +79,7 @@ class RecommendListView : LinearLayout {
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
(
Consumer
{
if
(
null
!=
mContext
)
{
mSceneSpecialTopicList
.
addAll
(
it
.
sceneSpecialTopic
)
mSceneSpecialTopicList
.
addAll
(
it
.
sceneSpecialTopic
s
)
mDoctorSpecialTopicsList
.
addAll
(
it
.
doctorSpecialTopics
)
setData
()
}
...
...
m-home/src/main/assets/home_data.json
View file @
9c71c8be
[{
"headerBean"
:{
"askCategoryData"
:[{
"cateId"
:
1
,
"cateTitle"
:
"恋爱咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/eusz6pcbf8zaou1e.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d1
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"婚姻咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
23
,
"cateTitle"
:
"亲子教育"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d23
\u
0026"
},{
"cateId"
:
25
,
"cateTitle"
:
"人际关系"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d25
\u
0026"
},{
"cateId"
:
27
,
"cateTitle"
:
"情绪压力"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
22
,
"cateTitle"
:
"职场心理"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d22
\u
0026"
},{
"cateId"
:
26
,
"cateTitle"
:
"个人成长"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d26
\u
0026"
},{
"cateId"
:
229
,
"cateTitle"
:
"法律咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d229
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"情感挽回"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
0
,
"cateTitle"
:
"全部"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/xoo4q3k6irtrhsjc.png"
,
"url"
:
"https://h2.yidianling.com/experts/cates"
}],
"consultCategoryData"
:[{
"id"
:
1
,
"name"
:
"恋爱咨询"
},{
"id"
:
1
,
"name"
:
"婚姻咨询"
},{
"id"
:
23
,
"name"
:
"亲子教育"
},{
"id"
:
25
,
"name"
:
"人际关系"
},{
"id"
:
27
,
"name"
:
"情绪压力"
},{
"id"
:
22
,
"name"
:
"职场心理"
},{
"id"
:
26
,
"name"
:
"个人成长"
}],
"doctorName"
:
""
,
"focusList"
:[{
"focId"
:
11405
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/22/b4wgh83z4tr962a0.jpg"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjvyux2jq%22%7D"
,
"shareData"
:{
"title"
:
"钟媛媛 明星咨询师推荐"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"钟媛媛 明星咨询师推荐"
},{
"focId"
:
11284
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/17/3wyxa3dqzrrxdema.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjtnzsdmg%22%7D"
,
"shareData"
:{
"title"
:
"人气咨询师排行榜-壹点灵"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"人气咨询师排行榜-壹点灵"
},{
"focId"
:
11130
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/09/eije5jwiyjcyyub6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fydlaplus1%22%7D"
,
"shareData"
:{
"title"
:
"A++融资公告"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"A++融资公告"
},{
"focId"
:
10853
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/pgx73v43ty9zzcn0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fwebapp2.ydl.com%2factivity%2flisten%2fcoupon%22%7d"
,
"shareData"
:{
"title"
:
"128元倾诉新用户活动"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"128元倾诉新用户活动"
},{
"focId"
:
10730
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/11/str4mvjunwuul5lq.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fh5.ydl.com%2fconfideMatch%22%7d"
,
"shareData"
:{
"title"
:
"一键倾诉"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"一键倾诉"
},{
"focId"
:
10131
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/bedrm9rjwflt2vhd.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F2757%22%7D"
,
"shareData"
:{
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
},{
"focId"
:
906
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/01/30/xt55wf76k13c8qb6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fct%2Flist%3F%22%7D"
,
"shareData"
:{
"title"
:
"免费体验"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"desc"
:
""
,
"shareUrl"
:
"https://h2.yidianling.com/ct/list?"
},
"title"
:
"免费体验"
},{
"focId"
:
11519
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/27/dc09x8zkkbhyfc21.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fzhiyeceshi%22%7D"
,
"shareData"
:{
"title"
:
"职场晋升攻略"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"职场晋升攻略"
},{
"focId"
:
11133
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/15/bojyl3stwslfgct0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwjwlkj.wjx.cn%2Fjq%2F39247133.aspx%22%7D"
,
"shareData"
:{
"title"
:
"亲密关系问卷"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"亲密关系问卷"
},{
"focId"
:
9714
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/05/73s6p5r7zk7u6b4u.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F3029%22%7D"
,
"shareData"
:{
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
}],
"homeSaleData"
:[{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:19:30 PM"
,
"doctorId"
:
4422
,
"doctorName"
:
"段宁"
,
"nickName"
:
"y**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4422%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:22:23 PM"
,
"doctorId"
:
9295
,
"doctorName"
:
"朱礼火"
,
"nickName"
:
"老**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9295%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:30:15 PM"
,
"doctorId"
:
5954
,
"doctorName"
:
"吴杰"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F5954%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:51 PM"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"nickName"
:
"M**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F1261%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:53 PM"
,
"doctorId"
:
10330
,
"doctorName"
:
"徐听"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"
}],
"keywordData"
:[{
"id"
:
5
,
"keyword"
:
"性心理"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%80%A7%26%22%7D"
},{
"id"
:
2
,
"keyword"
:
"抑郁"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%8A%91%E9%83%81%26%22%7D"
},{
"id"
:
3
,
"keyword"
:
"焦虑"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E7%84%A6%E8%99%91%26%22%7D"
},{
"id"
:
4
,
"keyword"
:
"婚姻挽回"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%A9%9A%E5%A7%BB%26%22%7D"
},{
"id"
:
8
,
"keyword"
:
"早恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%97%A9%E6%81%8B%26%22%7D"
},{
"id"
:
6
,
"keyword"
:
"同性恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%90%8C%E6%80%A7%E6%81%8B%26%22%7D"
},{
"id"
:
7
,
"keyword"
:
"出轨"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%87%BA%E8%BD%A8%26%22%7D"
},{
"id"
:
1
,
"keyword"
:
"失恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%81%8B%26%22%7D"
},{
"id"
:
9
,
"keyword"
:
"情感修复"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch2%3Fsearch_word%3D%E6%83%85%E6%84%9F%E4%BF%AE%E5%A4%8D%26%22%7D"
}],
"listenCategoryDate"
:[{
"id"
:
1
,
"name"
:
"恋爱"
},{
"id"
:
2
,
"name"
:
"婚姻家庭"
},{
"id"
:
3
,
"name"
:
"陪聊治愈"
},{
"id"
:
4
,
"name"
:
"情绪压力"
},{
"id"
:
5
,
"name"
:
"亲子教育"
},{
"id"
:
7
,
"name"
:
"职业"
},{
"id"
:
8
,
"name"
:
"人际"
},{
"id"
:
9
,
"name"
:
"个人成长"
}],
"isRealEmpty"
:
false
},
"type"
:
10001
},{
"type"
:
10002
},{
"consultBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"city"
:
"唐山"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"
doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"doctorUid"
:
49874
,
"feedbackRate"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/1261"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1261"
,
"profesBack"
:
"二级心理咨询师
\r\n
三级心理咨询师
\r\n
壹点灵签约心理咨询师
\r\n
中科院心理研究所心理学研究生在读"
,
"province"
:
"河北省"
,
"serviceFee"
:
175
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1261"
,
"title"
:
"吴立秀咨询工作室"
},
"tags"
:
"恋爱情感|婚姻家庭|个人成长"
,
"zixunOrderNum"
:
7978
},{
"city"
:
"温州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"doctorId"
:
1131
,
"doctorName"
:
"朱静"
,
"doctorUid"
:
34649
,
"feedbackRate"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/1131"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1131"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"浙江省"
,
"serviceFee"
:
250
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1131"
,
"title"
:
"朱静咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|人际关系"
,
"zixunOrderNum"
:
7431
},{
"city"
:
"苏州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"doctorId"
:
7387
,
"doctorName"
:
"钟媛媛"
,
"doctorUid"
:
1915807
,
"feedbackRat
e"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/7387"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/7387"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"江苏省"
,
"serviceFee"
:
150
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/7387"
,
"title"
:
"钟媛媛咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|个人成长"
,
"zixunOrderNum"
:
1135
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
2034
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
6100
,
"isRealEmpty"
:
false
},
"type"
:
10003
},{
"courseBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"applyFee"
:
99.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F12511%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2019/05/25/exkclexoa7ki5v5a.png"
,
"hostId"
:
12511
,
"hostName"
:
"王秀兰"
,
"hostUid"
:
2705537
,
"id"
:
3359
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
81
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
0.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"promotionApplyFee"
:
69.0
,
"readNums"
:
2195
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"desc"
:
"27个沟通秘术,让夫妻沟通更顺畅"
,
"shareUrl"
:
"https://m.ydl.com/course/3359"
,
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},{
"applyFee"
:
39.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4304%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/05/06/4ab73371ed439a0ac0920af7a6fa04af..jpg"
,
"hostId"
:
4304
,
"hostName"
:
"徐泽旭"
,
"hostUid"
:
1334422
,
"id"
:
3235
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
237
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
99.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"promotionApplyFee"
:
39.0
,
"readNums"
:
8909
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"desc"
:
"改变负面语言模式,重塑自信人生"
,
"shareUrl"
:
"https://m.ydl.com/course/3235"
,
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},{
"applyFee"
:
129.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9945%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/10/10/0xcrep11r0ibykmd.png"
,
"hostId"
:
9945
,
"hostName"
:
"壹点灵|产品研究院"
,
"hostUid"
:
2441930
,
"id"
:
3174
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
337
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
299.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"promotionApplyFee"
:
0.0
,
"readNums"
:
3767
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"desc"
:
"孩子学习不好是因为注意力不好造成的?!不不不,正确对待注意力缺失,注意力不好也能学习好!"
,
"shareUrl"
:
"https://m.ydl.com/course/3174"
,
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
},
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
21
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
63
,
"isRealEmpty"
:
false
},
"type"
:
10004
},{
"confideBean"
:{
"body"
:[{
"confideAddress"
:
"沈阳"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"不必失落,适合自己的人生就是最好的人生。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听324次"
,
"confideLine"
:
3
,
"confideNum"
:
"324人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/0idx62mjf22q9r8y.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/07/pxkkwuh1pkeg80bu.jpg!s200x200"
,
"confidedId"
:
839
,
"confidedName"
:
"吴杰"
,
"confidedTag"
:[
"恋爱婚姻"
,
"家庭关系"
,
"个人成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
5954
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d839"
,
"status"
:
2
,
"tags"
:
"恋爱婚姻,家庭关系,个人成长"
,
"uid"
:
1645151
},{
"confideAddress"
:
"淮安"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"用心陪伴,用爱倾听,留下烦恼,带走轻松。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听1539次"
,
"confideLine"
:
1
,
"confideNum"
:
"1539人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://video.ydlcdn.com/2017/09/11/718dbba7c20d0b4ea1dcf35b024aab51.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/a3646cb80aea494682c488e4c22be8fe.jpg!s200x200"
,
"confidedId"
:
554
,
"confidedName"
:
"翟曙霞"
,
"confidedTag"
:[
"80后"
,
"恋爱婚姻"
,
"情绪压力"
,
"人际关系"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
2353
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d554"
,
"status"
:
1
,
"tags"
:
"80后,恋爱婚姻,情绪压力,人际关系"
,
"uid"
:
1085815
},{
"confideAddress"
:
""
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"慢慢地陪着你走,慢慢地听花开的声音"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听272次"
,
"confideLine"
:
1
,
"confideNum"
:
"272人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/jxv0beey8ukn5jpc.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/03/30/ewaq0g790zgo6jbn.png!s200x200"
,
"confidedId"
:
838
,
"confidedName"
:
"林岚"
,
"confidedTag"
:[
"恋爱婚姻"
,
"学生成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
9433
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d838"
,
"status"
:
1
,
"tags"
:
"恋爱婚姻,学生成长"
,
"uid"
:
2327655
}],
"diviLine"
:
1
,
"type"
:
5
,
"isRealEmpty"
:
false
},
"type"
:
10005
},{
"testListBean"
:[{
[{
"headerBean"
:{
"askCategoryData"
:[{
"cateId"
:
1
,
"cateTitle"
:
"恋爱咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/eusz6pcbf8zaou1e.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d1
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"婚姻咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/35kd8ih9fiwgv16r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
23
,
"cateTitle"
:
"亲子教育"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/09mwdfydytsdg1gt.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d23
\u
0026"
},{
"cateId"
:
25
,
"cateTitle"
:
"人际关系"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/d6xi5o3ii3lsy4yr.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d25
\u
0026"
},{
"cateId"
:
27
,
"cateTitle"
:
"情绪压力"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/no02u0gfo1kgzt8y.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
22
,
"cateTitle"
:
"职场心理"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/ra5tbfuo05upjl66.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d22
\u
0026"
},{
"cateId"
:
26
,
"cateTitle"
:
"个人成长"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/09/05/ge29bumccrtykv9r.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d26
\u
0026"
},{
"cateId"
:
229
,
"cateTitle"
:
"法律咨询"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/02/ofb8othapbpkb6zx.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d229
\u
0026"
},{
"cateId"
:
1
,
"cateTitle"
:
"情感挽回"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2019/04/03/7zhoecx4amc23gah.png"
,
"url"
:
"https://h2.yidianling.com/experts/search?cat
\u
003d27
\u
0026"
},{
"cateId"
:
0
,
"cateTitle"
:
"全部"
,
"coverUrl"
:
"https://img.ydlcdn.com/file/2018/08/14/xoo4q3k6irtrhsjc.png"
,
"url"
:
"https://h2.yidianling.com/experts/cates"
}],
"consultCategoryData"
:[{
"id"
:
1
,
"name"
:
"恋爱咨询"
},{
"id"
:
1
,
"name"
:
"婚姻咨询"
},{
"id"
:
23
,
"name"
:
"亲子教育"
},{
"id"
:
25
,
"name"
:
"人际关系"
},{
"id"
:
27
,
"name"
:
"情绪压力"
},{
"id"
:
22
,
"name"
:
"职场心理"
},{
"id"
:
26
,
"name"
:
"个人成长"
}],
"doctorName"
:
""
,
"focusList"
:[{
"focId"
:
11405
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/22/b4wgh83z4tr962a0.jpg"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjvyux2jq%22%7D"
,
"shareData"
:{
"title"
:
"钟媛媛 明星咨询师推荐"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/22/7z7mzwfnx7zp6ke5.jpg"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"钟媛媛 明星咨询师推荐"
},{
"focId"
:
11284
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/17/3wyxa3dqzrrxdema.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fjtnzsdmg%22%7D"
,
"shareData"
:{
"title"
:
"人气咨询师排行榜-壹点灵"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/17/jmtc5w1jzzk77hva.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"人气咨询师排行榜-壹点灵"
},{
"focId"
:
11130
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/09/eije5jwiyjcyyub6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fydlaplus1%22%7D"
,
"shareData"
:{
"title"
:
"A++融资公告"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/09/5cwmsbzfydshzh92.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"A++融资公告"
},{
"focId"
:
10853
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/pgx73v43ty9zzcn0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fwebapp2.ydl.com%2factivity%2flisten%2fcoupon%22%7d"
,
"shareData"
:{
"title"
:
"128元倾诉新用户活动"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/synob5zlakccjcb5.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"128元倾诉新用户活动"
},{
"focId"
:
10730
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/11/str4mvjunwuul5lq.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"linkUrl"
:
"ydl-user://h5/confide?params
\u
003d%7b%22url%22%3a%22https%3a%2f%2fh5.ydl.com%2fconfideMatch%22%7d"
,
"shareData"
:{
"title"
:
"一键倾诉"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/11/jluqy3kasv2fl63b.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"一键倾诉"
},{
"focId"
:
10131
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/24/bedrm9rjwflt2vhd.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F2757%22%7D"
,
"shareData"
:{
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/24/6n2pb6n6ctipmvux.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【重磅课程】丁Sir说挽回:像心理学家一样去挽回"
},{
"focId"
:
906
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/01/30/xt55wf76k13c8qb6.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fct%2Flist%3F%22%7D"
,
"shareData"
:{
"title"
:
"免费体验"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/01/30/gvca1sh5xg5ao85w.png"
,
"desc"
:
""
,
"shareUrl"
:
"https://h2.yidianling.com/ct/list?"
},
"title"
:
"免费体验"
},{
"focId"
:
11519
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/27/dc09x8zkkbhyfc21.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fl.yidianling.com%2Fp%2Fq%2Fzhiyeceshi%22%7D"
,
"shareData"
:{
"title"
:
"职场晋升攻略"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/27/v5k0yg761a8qxv25.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"职场晋升攻略"
},{
"focId"
:
11133
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/05/15/bojyl3stwslfgct0.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwjwlkj.wjx.cn%2Fjq%2F39247133.aspx%22%7D"
,
"shareData"
:{
"title"
:
"亲密关系问卷"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/05/15/o5cpxtbgpxv6a7ry.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"亲密关系问卷"
},{
"focId"
:
9714
,
"imageIphonex"
:
"https://img.ydlcdn.com/file/2019/04/05/73s6p5r7zk7u6b4u.png"
,
"imageUrl"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"linkUrl"
:
"ydl-user://h5/h5?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fwebapp.ydl.com%2Ffe-app-yidianling%2Fcourse%2Fdetail%2F3029%22%7D"
,
"shareData"
:{
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
,
"cover"
:
"https://img.ydlcdn.com/file/2019/04/05/1agqihpp9o8w276v.png"
,
"desc"
:
""
,
"shareUrl"
:
""
},
"title"
:
"【【新课推荐】读心术,读懂你的另一半"
}],
"homeSaleData"
:[{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:19:30 PM"
,
"doctorId"
:
4422
,
"doctorName"
:
"段宁"
,
"nickName"
:
"y**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4422%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:22:23 PM"
,
"doctorId"
:
9295
,
"doctorName"
:
"朱礼火"
,
"nickName"
:
"老**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9295%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:30:15 PM"
,
"doctorId"
:
5954
,
"doctorName"
:
"吴杰"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F5954%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:51 PM"
,
"doctorId"
:
1261
,
"doctorName"
:
"吴立秀"
,
"nickName"
:
"M**"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F1261%22%7D"
},{
"contentAfter"
:
"的电话倾诉"
,
"contentBefore"
:
"刚刚"
,
"createTime"
:
"May 27, 2019 5:34:53 PM"
,
"doctorId"
:
10330
,
"doctorName"
:
"徐听"
,
"nickName"
:
""
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F10330%22%7D"
}],
"keywordData"
:[{
"id"
:
5
,
"keyword"
:
"性心理"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%80%A7%26%22%7D"
},{
"id"
:
2
,
"keyword"
:
"抑郁"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%8A%91%E9%83%81%26%22%7D"
},{
"id"
:
3
,
"keyword"
:
"焦虑"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E7%84%A6%E8%99%91%26%22%7D"
},{
"id"
:
4
,
"keyword"
:
"婚姻挽回"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%A9%9A%E5%A7%BB%26%22%7D"
},{
"id"
:
8
,
"keyword"
:
"早恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%97%A9%E6%81%8B%26%22%7D"
},{
"id"
:
6
,
"keyword"
:
"同性恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%90%8C%E6%80%A7%E6%81%8B%26%22%7D"
},{
"id"
:
7
,
"keyword"
:
"出轨"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E5%87%BA%E8%BD%A8%26%22%7D"
},{
"id"
:
1
,
"keyword"
:
"失恋"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch%3Fsearch_word%3D%E6%81%8B%26%22%7D"
},{
"id"
:
9
,
"keyword"
:
"情感修复"
,
"url"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2Fsearch2%3Fsearch_word%3D%E6%83%85%E6%84%9F%E4%BF%AE%E5%A4%8D%26%22%7D"
}],
"listenCategoryDate"
:[{
"id"
:
1
,
"name"
:
"恋爱"
},{
"id"
:
2
,
"name"
:
"婚姻家庭"
},{
"id"
:
3
,
"name"
:
"陪聊治愈"
},{
"id"
:
4
,
"name"
:
"情绪压力"
},{
"id"
:
5
,
"name"
:
"亲子教育"
},{
"id"
:
7
,
"name"
:
"职业"
},{
"id"
:
8
,
"name"
:
"人际"
},{
"id"
:
9
,
"name"
:
"个人成长"
}],
"isRealEmpty"
:
false
},
"type"
:
10001
},{
"type"
:
10002
},{
"consultBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"city"
:
"唐山"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"
head"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"doctorId"
:
1261
,
"name"
:
"吴立秀"
,
"doctorName"
:
"吴立秀"
,
"doctorUid"
:
49874
,
"feedbackRate"
:
5.00
,
"minBookingPrice"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/1261"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1261"
,
"profesBack"
:
"二级心理咨询师
\r\n
三级心理咨询师
\r\n
壹点灵签约心理咨询师
\r\n
中科院心理研究所心理学研究生在读"
,
"province"
:
"河北省"
,
"serviceFee"
:
175
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/10/vw6sx2i72exvbr95.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1261"
,
"title"
:
"吴立秀咨询工作室"
},
"tags"
:
"恋爱情感|婚姻家庭|个人成长"
,
"zixunOrderNum"
:
7978
},{
"city"
:
"温州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"head"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"doctorId"
:
1131
,
"name"
:
"朱静"
,
"doctorName"
:
"朱静"
,
"doctorUid"
:
34649
,
"feedbackRate"
:
5.00
,
"minBookingPrice"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/1131"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/1131"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"浙江省"
,
"serviceFee"
:
250
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/1131"
,
"title"
:
"朱静咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|人际关系"
,
"zixunOrderNum"
:
7431
},{
"city"
:
"苏州"
,
"doctorHead"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"head"
:
"https://img.ydlcdn.com/file/2019/05/08/krzlfwzfn5h1w7wu.jpg!s120x120"
,
"doctorId"
:
7387
,
"name"
:
"钟媛媛"
,
"doctorName"
:
"钟媛媛"
,
"doctorUid"
:
1915807
,
"feedbackRate"
:
5.00
,
"minBookingPric
e"
:
5.00
,
"hUrl"
:
"https://h2.yidianling.com/experts/7387"
,
"isOnline"
:
1
,
"mUrl"
:
"https://m.ydl.com/experts/7387"
,
"profesBack"
:
"三级心理咨询师"
,
"province"
:
"江苏省"
,
"serviceFee"
:
150
,
"share"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/08/vp663mvqvf193phi.jpg!s120x120"
,
"desc"
:
""
,
"shareUrl"
:
"https://m.ydl.com/experts/7387"
,
"title"
:
"钟媛媛咨询工作室"
},
"tags"
:
"恋爱婚姻|情绪压力|个人成长"
,
"zixunOrderNum"
:
1135
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
2034
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
6100
,
"isRealEmpty"
:
false
},
"type"
:
10003
},{
"courseBean"
:{
"endRow"
:
3
,
"isHasNextPage"
:
false
,
"isHasPreviousPage"
:
false
,
"isIsFirstPage"
:
false
,
"isIsLastPage"
:
false
,
"list"
:[{
"applyFee"
:
99.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2705537%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F12511%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2019/05/25/exkclexoa7ki5v5a.png"
,
"hostId"
:
12511
,
"hostName"
:
"王秀兰"
,
"hostUid"
:
2705537
,
"id"
:
3359
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
81
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
0.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"promotionApplyFee"
:
69.0
,
"readNums"
:
2195
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/05/19/36btxlb5hlnynn6j.jpg"
,
"desc"
:
"27个沟通秘术,让夫妻沟通更顺畅"
,
"shareUrl"
:
"https://m.ydl.com/course/3359"
,
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},
"title"
:
"男女沟通秘籍,让老公乖乖听话的秘密"
},{
"applyFee"
:
39.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A1334422%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F4304%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/05/06/4ab73371ed439a0ac0920af7a6fa04af..jpg"
,
"hostId"
:
4304
,
"hostName"
:
"徐泽旭"
,
"hostUid"
:
1334422
,
"id"
:
3235
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
237
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
99.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"promotionApplyFee"
:
39.0
,
"readNums"
:
8909
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/25/pzehq0yiqpdc76rh.jpg"
,
"desc"
:
"改变负面语言模式,重塑自信人生"
,
"shareUrl"
:
"https://m.ydl.com/course/3235"
,
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},
"title"
:
"自卑、胆怯、不敢说话?扭转自卑语言,重塑自信人生!"
},{
"applyFee"
:
129.0
,
"chatLinkUri"
:
"ydl-user://chat/private?params
\u
003d%7B%22toUid%22%3A2441930%2C%22userType%22%3A2%7D"
,
"consultLinkUri"
:
"ydl-user://h5/consult?params
\u
003d%7B%22url%22%3A%22https%3A%2F%2Fh2.yidianling.com%2Fexperts%2F9945%22%7D"
,
"hostConfidedId"
:
0
,
"hostHead"
:
"https://img.ydlcdn.com/file/2018/10/10/0xcrep11r0ibykmd.png"
,
"hostId"
:
9945
,
"hostName"
:
"壹点灵|产品研究院"
,
"hostUid"
:
2441930
,
"id"
:
3174
,
"isAvailable"
:
0
,
"isInvite"
:
0
,
"isOpenChat"
:
1
,
"isOpenConsult"
:
1
,
"isOpenListen"
:
0
,
"isPromotion"
:
2
,
"isShowHostButton"
:
0
,
"joinNum"
:
337
,
"listenLinkUri"
:
"https://h2.yidianling.com/listen/detail/0"
,
"originalApplyFee"
:
299.0
,
"pic"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"promotionApplyFee"
:
0.0
,
"readNums"
:
3767
,
"shareData"
:{
"cover"
:
"https://img.ydlcdn.com/file/2019/04/18/b3gti2nci9y5oi7a.jpg"
,
"desc"
:
"孩子学习不好是因为注意力不好造成的?!不不不,正确对待注意力缺失,注意力不好也能学习好!"
,
"shareUrl"
:
"https://m.ydl.com/course/3174"
,
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
},
"title"
:
"父母必修课—注意力不好的娃如何更好的成长"
}],
"navigateFirstPage"
:
1
,
"navigateLastPage"
:
8
,
"navigatePages"
:
8
,
"navigatepageNums"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
],
"nextPage"
:
2
,
"pageNum"
:
1
,
"pageSize"
:
3
,
"pages"
:
21
,
"prePage"
:
0
,
"size"
:
3
,
"startRow"
:
1
,
"total"
:
63
,
"isRealEmpty"
:
false
},
"type"
:
10004
},{
"confideBean"
:{
"body"
:[{
"confideAddress"
:
"沈阳"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"不必失落,适合自己的人生就是最好的人生。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听324次"
,
"confideLine"
:
3
,
"confideNum"
:
"324人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/0idx62mjf22q9r8y.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/07/pxkkwuh1pkeg80bu.jpg!s200x200"
,
"confidedId"
:
839
,
"confidedName"
:
"吴杰"
,
"confidedTag"
:[
"恋爱婚姻"
,
"家庭关系"
,
"个人成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
5954
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d839"
,
"status"
:
2
,
"tags"
:
"恋爱婚姻,家庭关系,个人成长"
,
"uid"
:
1645151
},{
"confideAddress"
:
"淮安"
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"用心陪伴,用爱倾听,留下烦恼,带走轻松。"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听1539次"
,
"confideLine"
:
1
,
"confideNum"
:
"1539人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://video.ydlcdn.com/2017/09/11/718dbba7c20d0b4ea1dcf35b024aab51.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/05/a3646cb80aea494682c488e4c22be8fe.jpg!s200x200"
,
"confidedId"
:
554
,
"confidedName"
:
"翟曙霞"
,
"confidedTag"
:[
"80后"
,
"恋爱婚姻"
,
"情绪压力"
,
"人际关系"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
2353
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d554"
,
"status"
:
1
,
"tags"
:
"80后,恋爱婚姻,情绪压力,人际关系"
,
"uid"
:
1085815
},{
"confideAddress"
:
""
,
"confideConnection"
:
"100%"
,
"confideContent"
:
"慢慢地陪着你走,慢慢地听花开的声音"
,
"confideFee"
:
"50"
,
"confideHearNum"
:
"已聆听272次"
,
"confideLine"
:
1
,
"confideNum"
:
"272人"
,
"confidePraise"
:
"100.0%"
,
"confideSex"
:
2
,
"confideVoice"
:
"https://img.ydlcdn.com/file/2019/02/26/jxv0beey8ukn5jpc.mp3"
,
"confidedIcon"
:
"https://img.ydlcdn.com/file/2019/03/30/ewaq0g790zgo6jbn.png!s200x200"
,
"confidedId"
:
838
,
"confidedName"
:
"林岚"
,
"confidedTag"
:[
"恋爱婚姻"
,
"学生成长"
],
"couponMoney"
:
"0"
,
"couponText"
:
"新用户送120元红包"
,
"doctorId"
:
9433
,
"linkUrl"
:
"https://h5.ydl.com/confideDetail?id
\u
003d838"
,
"status"
:
1
,
"tags"
:
"恋爱婚姻,学生成长"
,
"uid"
:
2327655
}],
"diviLine"
:
1
,
"type"
:
5
,
"isRealEmpty"
:
false
},
"type"
:
10005
},{
"testListBean"
:[{
"recommendLinkUrl"
:
"ydl-user://ceshi/detail?params
\u
003d%7B%22id%22%3A738%7D"
,
"id"
:
738
,
"name"
:
"心理健康测评-SCL90专业版"
,
...
...
m-home/src/main/java/com/yidianling/home/constants/IHomeBaseContract.kt
View file @
9c71c8be
...
...
@@ -105,7 +105,7 @@ class IHomeBaseContract {
/**
*获取咨询列表
*/
fun
getConsultData
(
type
:
String
,
selectPosition
:
Int
)
fun
getConsultData
(
type
:
String
,
selectPosition
:
Int
,
isCancelHome
:
Boolean
=
true
)
/**
* 首页问答 - 点赞
...
...
m-home/src/main/java/com/yidianling/home/presenter/BaseHomePresenterImpl.kt
View file @
9c71c8be
...
...
@@ -58,9 +58,9 @@ abstract class BaseHomePresenterImpl< V : IHomeBaseContract.View,M : IHomeBaseC
//首页缓存版本号
var
HOME_PAGER_DATA_CACHE_VERISON
=
"HOME_PAGER_DATA_CACHE_VERISON"
private
var
mConsultDisposable
:
Disposable
?
=
null
private
var
mConfideDisposable
:
Disposable
?
=
null
private
var
mHomeDisposable
:
Disposable
?
=
null
var
mConsultDisposable
:
Disposable
?
=
null
var
mConfideDisposable
:
Disposable
?
=
null
var
mHomeDisposable
:
Disposable
?
=
null
var
mConfideType
:
String
=
""
var
mConsultType
:
String
=
""
...
...
@@ -151,10 +151,13 @@ abstract class BaseHomePresenterImpl< V : IHomeBaseContract.View,M : IHomeBaseC
/**
*获取咨询列表
*/
override
fun
getConsultData
(
type
:
String
,
selectPosition
:
Int
)
{
override
fun
getConsultData
(
type
:
String
,
selectPosition
:
Int
,
isCancelHome
:
Boolean
)
{
disposeConsult
()
disposeHome
()
if
(
isCancelHome
)
{
disposeHome
()
}
mConsultType
=
type
...
...
m-home/src/xlzx/java/com/yidianling/home/presenter/HomePresenterImpl.kt
View file @
9c71c8be
...
...
@@ -161,7 +161,7 @@ class HomePresenterImpl : BaseHomePresenterImpl<IHomeContract.View, IHomeContrac
disposeHome
()
val
homeList
:
MutableList
<
HomePagerDataBean
>
=
mutableListOf
()
LogUtil
.
d
(
"mConsultType-loadHomeData:$mConsultType"
)
Observable
.
mergeArray
(
mHomeDisposable
=
Observable
.
mergeArray
(
mModel
.
headerRequest
()
.
compose
(
RxUtils
.
applySchedulers
(
mView
))
.
map
{
it
->
...
...
@@ -183,7 +183,7 @@ class HomePresenterImpl : BaseHomePresenterImpl<IHomeContract.View, IHomeContrac
if
(
it
.
consultCategoryData
!=
null
&&
it
.
consultCategoryData
!!
.
isNotEmpty
())
{
//咨询分类和缓存分类不一致,重新加载咨询列表数据
if
(
it
.
consultCategoryData
!!
[
0
].
id
.
toString
()
!=
mConsultType
)
{
getConsultData
(
"${it.consultCategoryData!![0].id}"
,
0
)
getConsultData
(
"${it.consultCategoryData!![0].id}"
,
0
,
false
)
}
}
// homeList.add(HomePagerDataBean(YdlHomeViewHolderConstract.BUTTON_BANNER_VIEW))
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
9c71c8be
...
...
@@ -61,7 +61,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
//设置红包、原价
setPrice
(
bean
)
this
.
setOnClickListener
{
val
url
=
URLUtils
.
appendParmas
(
bean
.
h
Url
,
"cateId"
,
cateId
)
val
url
=
URLUtils
.
appendParmas
(
bean
.
link
Url
,
"cateId"
,
cateId
)
homeEvent
!!
.
consultItemClick
(
url
,
bean
.
doctorId
)
}
}
...
...
m-home/src/ydl/java/com/yidianling/home/listener/HomeConfideRecyleSuspendListener.kt
View file @
9c71c8be
...
...
@@ -9,11 +9,11 @@ import android.view.View
import
android.view.ViewGroup
import
android.widget.ImageView
import
android.widget.LinearLayout
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.adapter.YdlHomeAdapter
import
com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.constract.YdlHomeViewHolderConstract
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
/**
* @author yuanwai
...
...
@@ -24,7 +24,7 @@ import com.yidianling.common.tools.RxImageTool
*/
class
HomeConfideRecyleSuspendListener
:
RecyclerView
.
OnScrollListener
()
{
private
var
mContext
:
Context
?
=
null
private
var
mContext
:
Context
?
=
null
private
var
mCurrentPosition
=
0
...
...
@@ -32,25 +32,25 @@ class HomeConfideRecyleSuspendListener : RecyclerView.OnScrollListener() {
//倾诉筛选layout
private
var
confideFilterView
:
LinearLayout
?
=
null
//咨询筛选layout
private
var
consultFilterView
:
LinearLayout
?
=
null
private
var
consultFilterView
:
LinearLayout
?
=
null
//首页界面View接口
private
var
mHomeView
:
IHomeContract
.
View
?
=
null
private
var
mHomeView
:
IHomeContract
.
View
?
=
null
private
var
adapter
:
YdlHomeAdapter
?
=
null
private
var
mPhoneCallView
:
ImageView
?
=
null
private
var
mPhoneCallView
:
ImageView
?
=
null
//是否执行收缩动画
private
var
excuteStartAnim
:
Boolean
=
true
private
var
excuteStartAnim
:
Boolean
=
true
//是否执行展开动画
private
var
excuteEndAnim
:
Boolean
=
true
private
var
excuteEndAnim
:
Boolean
=
true
private
var
dp5
:
Int
=
0
private
var
dp14
:
Int
=
0
private
var
dp15
:
Int
=
0
private
var
dp34
:
Int
=
0
private
var
cvWidth
:
Int
=
0
private
var
maxCVWidth
:
Int
=
0
private
var
minCVWidth
:
Int
=
0
private
var
dp5
:
Int
=
0
private
var
dp14
:
Int
=
0
private
var
dp15
:
Int
=
0
private
var
dp34
:
Int
=
0
private
var
cvWidth
:
Int
=
0
private
var
maxCVWidth
:
Int
=
0
private
var
minCVWidth
:
Int
=
0
init
{
dp5
=
RxImageTool
.
dip2px
(
5f
)
...
...
@@ -59,14 +59,14 @@ class HomeConfideRecyleSuspendListener : RecyclerView.OnScrollListener() {
dp34
=
RxImageTool
.
dip2px
(
34f
)
}
fun
setContext
(
context
:
Context
){
fun
setContext
(
context
:
Context
)
{
mContext
=
context
cvWidth
=
RxDeviceTool
.
getScreenWidth
(
context
)
-
RxImageTool
.
dip2px
(
73f
)
minCVWidth
=
RxImageTool
.
dip2px
(
105f
)
maxCVWidth
=
cvWidth
}
fun
setHomeView
(
homeView
:
IHomeContract
.
View
)
{
fun
setHomeView
(
homeView
:
IHomeContract
.
View
)
{
this
.
mHomeView
=
homeView
}
...
...
@@ -74,7 +74,7 @@ class HomeConfideRecyleSuspendListener : RecyclerView.OnScrollListener() {
this
.
confideFilterView
=
filterView
}
fun
setConsultFilterView
(
filterView
:
LinearLayout
){
fun
setConsultFilterView
(
filterView
:
LinearLayout
)
{
this
.
consultFilterView
=
filterView
}
...
...
@@ -82,7 +82,7 @@ class HomeConfideRecyleSuspendListener : RecyclerView.OnScrollListener() {
this
.
adapter
=
adapter
}
fun
setPhoneCallImageView
(
callView
:
ImageView
)
{
fun
setPhoneCallImageView
(
callView
:
ImageView
)
{
this
.
mPhoneCallView
=
callView
}
...
...
@@ -101,81 +101,83 @@ class HomeConfideRecyleSuspendListener : RecyclerView.OnScrollListener() {
Log
.
e
(
"Tag"
,
"-------dy=$dy"
)
// moveSearchView(dy)
val
manager
=
recyclerView
!!
.
layoutManager
as
LinearLayoutManager
if
(
mCurrentPosition
!=
manager
.
findFirstVisibleItemPosition
())
{
if
(
mCurrentPosition
!=
manager
.
findFirstVisibleItemPosition
()
&&
manager
.
findFirstVisibleItemPosition
()
!=
-
1
)
{
mCurrentPosition
=
manager
.
findFirstVisibleItemPosition
()
}
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
CONFIDE_VIEW
)
{
val
view
=
manager
.
findViewByPosition
(
mCurrentPosition
)
if
(
view
!=
null
)
{
if
(
view
is
ViewGroup
)
{
if
(
view
.
getChildAt
(
1
)
is
TabLayout
)
{
val
tabLayout
=
view
.
getChildAt
(
1
)
val
location
=
IntArray
(
2
)
tabLayout
.
getLocationOnScreen
(
location
)
if
(
location
[
1
]
-
RxImageTool
.
dip2px
(
40f
)
<=
mSuspensionHeight
)
{
confideFilterView
!!
.
visibility
=
View
.
VISIBLE
}
else
{
confideFilterView
!!
.
visibility
=
View
.
INVISIBLE
if
(
adapter
!!
.
itemCount
>
mCurrentPosition
&&
mCurrentPosition
!=
0
)
{
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
CONFIDE_VIEW
)
{
val
view
=
manager
.
findViewByPosition
(
mCurrentPosition
)
if
(
view
!=
null
)
{
if
(
view
is
ViewGroup
)
{
if
(
view
.
childCount
>
1
&&
view
.
getChildAt
(
1
)
is
TabLayout
)
{
val
tabLayout
=
view
.
getChildAt
(
1
)
val
location
=
IntArray
(
2
)
tabLayout
.
getLocationOnScreen
(
location
)
if
(
location
[
1
]
-
RxImageTool
.
dip2px
(
40f
)
<=
mSuspensionHeight
)
{
confideFilterView
!!
.
visibility
=
View
.
VISIBLE
}
else
{
confideFilterView
!!
.
visibility
=
View
.
INVISIBLE
}
}
}
}
}
val
nextView
=
manager
.
findViewByPosition
(
mCurrentPosition
+
1
)
if
(
nextView
!=
null
)
{
if
(
nextView
.
top
<=
(
mSuspensionHeight
+
RxImageTool
.
dip2px
(
41f
)))
{
confideFilterView
!!
.
visibility
=
View
.
INVISIBLE
val
nextView
=
manager
.
findViewByPosition
(
mCurrentPosition
+
1
)
if
(
nextView
!=
null
)
{
if
(
nextView
.
top
<=
(
mSuspensionHeight
+
RxImageTool
.
dip2px
(
41f
)))
{
confideFilterView
!!
.
visibility
=
View
.
INVISIBLE
}
}
}
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
CONSULT_VIEW
)
{
val
view
=
manager
.
findViewByPosition
(
mCurrentPosition
)
if
(
view
!=
null
)
{
if
(
view
is
ViewGroup
)
{
if
(
view
.
getChildAt
(
1
)
is
TabLayout
)
{
val
tabLayout
=
view
.
getChildAt
(
1
)
val
location
=
IntArray
(
2
)
tabLayout
.
getLocationOnScreen
(
location
)
if
(
location
[
1
]
-
RxImageTool
.
dip2px
(
40f
)
<=
mSuspensionHeight
)
{
consultFilterView
?.
visibility
=
View
.
VISIBLE
}
else
{
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
CONSULT_VIEW
)
{
val
view
=
manager
.
findViewByPosition
(
mCurrentPosition
)
if
(
view
!=
null
)
{
if
(
view
is
ViewGroup
)
{
if
(
view
.
getChildAt
(
1
)
is
TabLayout
)
{
val
tabLayout
=
view
.
getChildAt
(
1
)
val
location
=
IntArray
(
2
)
tabLayout
.
getLocationOnScreen
(
location
)
if
(
location
[
1
]
-
RxImageTool
.
dip2px
(
40f
)
<=
mSuspensionHeight
)
{
consultFilterView
?.
visibility
=
View
.
VISIBLE
}
else
{
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
}
}
}
}
val
nextView
=
manager
.
findViewByPosition
(
mCurrentPosition
+
1
)
if
(
nextView
!=
null
)
{
if
(
nextView
.
top
<=
(
mSuspensionHeight
+
RxImageTool
.
dip2px
(
41f
)))
{
consultFilterView
!!
.
visibility
=
View
.
INVISIBLE
val
nextView
=
manager
.
findViewByPosition
(
mCurrentPosition
+
1
)
if
(
nextView
!=
null
)
{
if
(
nextView
.
top
<=
(
mSuspensionHeight
+
RxImageTool
.
dip2px
(
41f
)))
{
consultFilterView
!!
.
visibility
=
View
.
INVISIBLE
}
}
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
BUTTON_BANNER_VIEW
)
{
if
(
excuteStartAnim
)
{
mHomeView
?.
startAnim
()
excuteStartAnim
=
false
excuteEndAnim
=
true
}
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
PAGER_BANNER_VIEW
)
{
if
(
excuteEndAnim
)
{
mHomeView
?.
endAnim
()
excuteEndAnim
=
false
excuteStartAnim
=
true
}
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
else
{
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
BUTTON_BANNER_VIEW
){
if
(
excuteStartAnim
){
mHomeView
?.
startAnim
()
excuteStartAnim
=
false
excuteEndAnim
=
true
}
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
else
if
(
adapter
!!
.
getItemViewType
(
mCurrentPosition
)
==
YdlHomeViewHolderConstract
.
PAGER_BANNER_VIEW
){
if
(
excuteEndAnim
){
mHomeView
?.
endAnim
()
excuteEndAnim
=
false
excuteStartAnim
=
true
}
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
else
{
confideFilterView
?.
visibility
=
View
.
INVISIBLE
consultFilterView
?.
visibility
=
View
.
INVISIBLE
}
}
/**
* 移动搜索View
*/
private
fun
moveSearchView
(
dy
:
Int
)
{
private
fun
moveSearchView
(
dy
:
Int
)
{
// if (null != mCardView){
// cvWidth -= dy
// if (cvWidth < minCVWidth){
...
...
m-home/src/ydl/java/com/yidianling/home/presenter/HomePresenterImpl.kt
View file @
9c71c8be
...
...
@@ -20,6 +20,8 @@ import io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.functions.Action
import
io.reactivex.functions.Consumer
import
io.reactivex.schedulers.Schedulers
import
java.util.*
import
java.util.concurrent.TimeUnit
/**
...
...
@@ -42,7 +44,7 @@ class HomePresenterImpl: BaseHomePresenterImpl<IHomeContract.View, IHomeContract
disposeHome
()
val
homeList
:
MutableList
<
HomePagerDataBean
>
=
mutableListOf
()
LogUtil
.
d
(
"mConsultType-loadHomeData:$mConsultType"
)
Observable
.
mergeArray
(
mHomeDisposable
=
Observable
.
mergeArray
(
mModel
.
headerRequest
()
.
compose
(
RxUtils
.
applySchedulers
(
mView
)).
map
{
it
->
//首页头部数据 分类 & Banner
...
...
@@ -57,7 +59,7 @@ class HomePresenterImpl: BaseHomePresenterImpl<IHomeContract.View, IHomeContract
if
(
it
.
consultCategoryData
!=
null
&&
it
.
consultCategoryData
!!
.
isNotEmpty
())
{
//咨询分类和缓存分类不一致,重新加载咨询列表数据
if
(
it
.
consultCategoryData
!!
[
0
].
id
.
toString
()
!=
mConsultType
)
{
getConsultData
(
"${it.consultCategoryData!![0].id}"
,
0
)
getConsultData
(
"${it.consultCategoryData!![0].id}"
,
0
,
false
)
}
}
homeList
.
add
(
HomePagerDataBean
(
YdlHomeViewHolderConstract
.
BUTTON_BANNER_VIEW
))
...
...
@@ -130,6 +132,7 @@ class HomePresenterImpl: BaseHomePresenterImpl<IHomeContract.View, IHomeContract
.
subscribe
(
Consumer
{},
object
:
ThrowableConsumer
()
{
override
fun
accept
(
msg
:
String
)
{
mView
.
homeDataFail
(
msg
)
mHomeDisposable
?.
dispose
()
}
},
Action
{
homeList
.
sortWith
(
compareBy
{
it
.
type
})
...
...
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
9c71c8be
...
...
@@ -66,6 +66,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
* tablayou上次选中的tab下标
*/
private
var
confideLastSelectPosition
=
0
private
var
confideLastSelectType
=
""
/**
* TabLayout.OnTabSelectedListener
*/
...
...
@@ -75,6 +76,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
* 咨询tablayout上次选中的下标
*/
private
var
consultLastSelectPosition
=
0
private
var
consultLastSelectType
=
""
/**
* 悬浮tablayout监听事件
*/
...
...
@@ -207,7 +209,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
*/
override
fun
getConfideData
(
type
:
String
,
selectPosition
:
Int
)
{
confideLastSelectPosition
=
selectPosition
// tab_layout.getTabAt(confideLastSelectPosition)!!.select()
confideLastSelectType
=
type
mPresenter
?.
getConfideData
(
type
,
selectPosition
)
}
...
...
@@ -216,7 +218,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
*/
override
fun
getConsultData
(
type
:
String
,
selectPosition
:
Int
)
{
consultLastSelectPosition
=
selectPosition
// tab_consultLayout.getTabAt(consultLastSelectPosition)
consultLastSelectType
=
type
mPresenter
?.
getConsultData
(
type
,
selectPosition
)
}
...
...
@@ -296,10 +298,9 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
if
(
bean
.
type
==
YdlHomeViewHolderConstract
.
PAGER_BANNER_VIEW
)
{
initTabLayout
(
bean
.
headerBean
!!
.
listenCategoryDate
)
initConsultTabLayout
(
bean
.
headerBean
!!
.
consultCategoryData
)
consultLastSelectType
=
bean
.
headerBean
!!
.
consultCategoryData
!!
[
0
].
id
.
toString
()
}
}
//每次全局更新后重置下标位
consultLastSelectPosition
=
0
}
/**
...
...
@@ -419,7 +420,8 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
super
.
onResume
()
if
(
userVisibleHint
)
{
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_MAIN_PAGE_VISIT
)
mPresenter
?.
loadHomeData
()
mPresenter
?.
getConsultData
(
consultLastSelectType
,
consultLastSelectPosition
)
mPresenter
?.
getConfideData
(
confideLastSelectType
,
confideLastSelectPosition
)
showConsultAssistantDialog
()
}
...
...
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
9c71c8be
...
...
@@ -46,7 +46,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
//设置头像
setHead
(
bean
)
//设置名称
tv_consult_name
.
text
=
bean
.
doctorN
ame
tv_consult_name
.
text
=
bean
.
n
ame
//咨询师标签
tag_view
.
initData
(
StringUtils
.
strToList
(
bean
.
tags
))
//设置向TA倾诉人数
...
...
@@ -58,7 +58,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
//设置红包、原价
setPrice
(
bean
)
this
.
setOnClickListener
{
val
url
=
URLUtils
.
appendParmas
(
bean
.
h
Url
,
"cateId"
,
cateId
)
val
url
=
URLUtils
.
appendParmas
(
bean
.
link
Url
,
"cateId"
,
cateId
)
homeEvent
!!
.
consultItemClick
(
url
,
bean
.
doctorId
)
}
}
...
...
@@ -71,7 +71,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
op
.
errorPic
=
R
.
drawable
.
platform_head_place_hold_pic
op
.
loadingPic
=
R
.
drawable
.
platform_head_place_hold_pic
op
.
transform
=
0
YDLImageCacheManager
.
showImage
(
mContext
,
bean
.
doctorH
ead
,
img_consult_head
,
op
)
YDLImageCacheManager
.
showImage
(
mContext
,
bean
.
h
ead
,
img_consult_head
,
op
)
}
/**
...
...
@@ -118,7 +118,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
}
private
fun
setPrice
(
bodyBean
:
HomeConsultBean
.
ListBean
)
{
val
confideFee
=
bodyBean
.
serviceFe
e
val
confideFee
=
bodyBean
.
minBookingPric
e
val
sb
=
StringBuffer
()
tv_price
.
text
=
sb
.
append
(
"¥"
).
append
(
confideFee
).
toString
()
}
...
...
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