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
cbabfffb
Commit
cbabfffb
authored
Jul 12, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改BUG
parent
80267bda
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
8 deletions
+23
-8
config.gradle
config.gradle
+2
-2
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+2
-1
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+1
-1
HotSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/HotSearchActivity.kt
+16
-2
YdlHomeFragment.kt
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+1
-1
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+1
-1
No files found.
config.gradle
View file @
cbabfffb
ext
{
dev_mode
=
false
//组件发布的时候需要设置为false
ydl2PublishVersion
=
"0.2.0.1
1
-SNAPSHOT"
ydl2PublishVersion
=
"0.2.0.1
4
-SNAPSHOT"
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
...
...
@@ -8,7 +8,7 @@ ext {
"m-consultant"
:
"0.0.60.78"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.72"
,
"m-home"
:
"0.0.24.0
2
"
,
"m-home"
:
"0.0.24.0
4
"
,
"m-im"
:
"0.0.21.69"
,
"m-dynamic"
:
"0.0.7.80"
,
"m-article"
:
"0.0.0.10"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
cbabfffb
...
...
@@ -440,6 +440,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
doctorAdapter
.
clickCount
=
0
doctorAdapter
.
setIsRecommendWords
(
isRecommendWords
)
doctorAdapter
.
setEntrance
(
1
)
getPresenter
().
fetchFunctionWord
(
2
)
}
override
fun
onNewIntent
(
intent
:
Intent
?)
{
...
...
@@ -526,7 +527,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
if
(
bottomWordlist
.
size
==
1
)
{
tv_search_content
.
text
=
bottomWordlist
[
0
].
word
}
else
{
bottomWordDisposable
=
Observable
.
interval
(
0
,
5
,
TimeUnit
.
SECONDS
)
bottomWordDisposable
=
Observable
.
interval
(
0
,
3
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
cbabfffb
...
...
@@ -437,7 +437,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
if
(
bottomWordlist
.
size
==
1
)
{
tv_search_content
.
text
=
bottomWordlist
[
0
].
word
}
else
{
bottomWordDisposable
=
Observable
.
interval
(
0
,
5
,
TimeUnit
.
SECONDS
)
bottomWordDisposable
=
Observable
.
interval
(
0
,
3
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
...
...
m-consultant/src/main/java/com/yidianling/consultant/HotSearchActivity.kt
View file @
cbabfffb
...
...
@@ -257,10 +257,20 @@ class HotSearchActivity : BaseMvpActivity<IHotSearchContract.View, IHotSearchCon
0
)
?.
suggest_types
?.
contains
(
"jump_word"
)
)
{
//将数据增加到历史搜索中
if
(!
TextUtils
.
isEmpty
(
searchContent
))
{
historyList
.
remove
(
searchContent
)
historyList
.
add
(
searchContent
)
SharedPreferencesEditor
.
putString
(
CACHE_CONSULT_SEARCH_HISTORY_DATA
,
Gson
().
toJson
(
historyList
)
)
}
NewH5Activity
.
start
(
this
,
H5Params
(
searchWordsBean
.
search_suggests
[
0
].
jump_url
!!
,
null
)
)
finish
()
}
else
{
doSearch
(
searchContent
,
relatedWords
,
isRecommendWords
)
}
...
...
@@ -366,8 +376,12 @@ class HotSearchActivity : BaseMvpActivity<IHotSearchContract.View, IHotSearchCon
}
}
view
.
setOnClickListener
{
ActionCountUtils
.
count
(
SEARCH_BANNERWORD_CLICK
,
etSearch
.
text
.
toString
(),
"本周热门专家"
)
getSearchWords
(
etSearch
.
text
.
toString
(),
true
)
ActionCountUtils
.
count
(
SEARCH_BANNERWORD_CLICK
,
hotSearchExpert
[
index
].
name
.
toString
(),
"本周热门专家"
)
getSearchWords
(
hotSearchExpert
[
index
].
name
.
toString
(),
true
)
}
flHotExpert
.
addView
(
view
)
}
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
cbabfffb
...
...
@@ -400,7 +400,7 @@ class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterImpl>()
if
(
bottomWordDisposable
!=
null
)
{
bottomWordDisposable
?.
dispose
()
}
else
{
bottomWordDisposable
=
Observable
.
interval
(
0
,
5
,
TimeUnit
.
SECONDS
)
bottomWordDisposable
=
Observable
.
interval
(
0
,
3
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
...
...
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
cbabfffb
...
...
@@ -537,7 +537,7 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
if
(
bottomWordDisposable
!=
null
)
{
bottomWordDisposable
?.
dispose
()
}
else
{
bottomWordDisposable
=
Observable
.
interval
(
0
,
5
,
TimeUnit
.
SECONDS
)
bottomWordDisposable
=
Observable
.
interval
(
0
,
3
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
...
...
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