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
87cd4d81
Commit
87cd4d81
authored
Aug 19, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改问题
parent
84affc96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+5
-5
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+5
-5
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
87cd4d81
...
@@ -85,7 +85,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -85,7 +85,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
private
var
locationRegionItem
:
RegionItem
?
=
null
private
var
locationRegionItem
:
RegionItem
?
=
null
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationHistoryList
:
ArrayList
<
RegionItem
>?
=
arrayListOf
()
private
var
locationHistoryList
:
ArrayList
<
RegionItem
>?
=
arrayListOf
()
private
lateinit
var
eightcategoryPopup
:
EightCategoryPopupWindow
private
var
eightcategoryPopup
:
EightCategoryPopupWindow
?
=
null
override
fun
showImage
(
url
:
String
?,
imgView
:
ImageView
)
{
override
fun
showImage
(
url
:
String
?,
imgView
:
ImageView
)
{
YDLImageCacheManager
.
showImage
(
ExpertSearchActivity
@
this
,
url
,
imgView
)
YDLImageCacheManager
.
showImage
(
ExpertSearchActivity
@
this
,
url
,
imgView
)
...
@@ -1711,13 +1711,13 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1711,13 +1711,13 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
*/
*/
private
fun
showeightCategoryPopupWindow
()
{
private
fun
showeightCategoryPopupWindow
()
{
eightcategoryPopup
=
EightCategoryPopupWindow
(
this
,
allFilter
)
eightcategoryPopup
=
EightCategoryPopupWindow
(
this
,
allFilter
)
eightcategoryPopup
.
setListener
(
this
)
eightcategoryPopup
?
.
setListener
(
this
)
eightcategoryPopup
.
setOnDismissListener
{
eightcategoryPopup
?
.
setOnDismissListener
{
viewDim
.
visibility
=
View
.
INVISIBLE
viewDim
.
visibility
=
View
.
INVISIBLE
ConsultAssistantDialogUtils
.
INSTANCE
.
fitRequest
(
this
,
"doctor_list"
,
true
)
ConsultAssistantDialogUtils
.
INSTANCE
.
fitRequest
(
this
,
"doctor_list"
,
true
)
}
}
ConsultAssistantDialogUtils
.
INSTANCE
.
hideAssistantActivity
()
ConsultAssistantDialogUtils
.
INSTANCE
.
hideAssistantActivity
()
eightcategoryPopup
.
showAsDropDown
(
viewSep2
)
eightcategoryPopup
?
.
showAsDropDown
(
viewSep2
)
updateFilterTextViewStatus
(
tvSubject
,
FILTER_STATUS_OPEN
)
updateFilterTextViewStatus
(
tvSubject
,
FILTER_STATUS_OPEN
)
viewDim
.
visibility
=
View
.
VISIBLE
viewDim
.
visibility
=
View
.
VISIBLE
}
}
...
@@ -1728,7 +1728,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1728,7 +1728,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
* 新增逻辑:当主题选择后,需要判断热门筛选中是否也有该主题,如果有,也需要同步更新选中状态
* 新增逻辑:当主题选择后,需要判断热门筛选中是否也有该主题,如果有,也需要同步更新选中状态
*/
*/
override
fun
onCategoriesSelected
(
signLit
:
ArrayList
<
String
>)
{
override
fun
onCategoriesSelected
(
signLit
:
ArrayList
<
String
>)
{
eightcategoryPopup
.
dismiss
()
eightcategoryPopup
?
.
dismiss
()
if
(
signLit
.
isNotEmpty
())
{
if
(
signLit
.
isNotEmpty
())
{
val
sign1
=
signLit
.
joinToString
(
","
)
{
it
}
val
sign1
=
signLit
.
joinToString
(
","
)
{
it
}
ActionCountUtils
.
baiDuCountSign3
(
ActionCountUtils
.
baiDuCountSign3
(
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
87cd4d81
...
@@ -97,7 +97,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -97,7 +97,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
private
var
locationRegionItem
:
RegionItem
?
=
null
private
var
locationRegionItem
:
RegionItem
?
=
null
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationHistoryList
:
ArrayList
<
RegionItem
>?
=
arrayListOf
()
private
var
locationHistoryList
:
ArrayList
<
RegionItem
>?
=
arrayListOf
()
private
lateinit
var
eightcategoryPopup
:
EightCategoryPopupWindow
private
var
eightcategoryPopup
:
EightCategoryPopupWindow
?
=
null
override
fun
layoutResId
():
Int
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
consultant_activity_expert_search_list
return
R
.
layout
.
consultant_activity_expert_search_list
}
}
...
@@ -1525,13 +1525,13 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1525,13 +1525,13 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
*/
*/
private
fun
showeightCategoryPopupWindow
()
{
private
fun
showeightCategoryPopupWindow
()
{
eightcategoryPopup
=
EightCategoryPopupWindow
(
mActivity
,
allFilter
)
eightcategoryPopup
=
EightCategoryPopupWindow
(
mActivity
,
allFilter
)
eightcategoryPopup
.
setListener
(
this
)
eightcategoryPopup
?
.
setListener
(
this
)
eightcategoryPopup
.
setOnDismissListener
{
eightcategoryPopup
?
.
setOnDismissListener
{
viewDim
.
visibility
=
View
.
INVISIBLE
viewDim
.
visibility
=
View
.
INVISIBLE
showConsultAssistantDialog
()
showConsultAssistantDialog
()
}
}
hideConsultAssistantDialog
()
hideConsultAssistantDialog
()
eightcategoryPopup
.
showAsDropDown
(
viewSep2
)
eightcategoryPopup
?
.
showAsDropDown
(
viewSep2
)
updateFilterTextViewStatus
(
tvSubject
,
FILTER_STATUS_OPEN
)
updateFilterTextViewStatus
(
tvSubject
,
FILTER_STATUS_OPEN
)
viewDim
.
visibility
=
View
.
VISIBLE
viewDim
.
visibility
=
View
.
VISIBLE
}
}
...
@@ -1541,7 +1541,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1541,7 +1541,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
*
*
*/
*/
override
fun
onCategoriesSelected
(
signLit
:
ArrayList
<
String
>)
{
override
fun
onCategoriesSelected
(
signLit
:
ArrayList
<
String
>)
{
eightcategoryPopup
.
dismiss
()
eightcategoryPopup
?
.
dismiss
()
if
(
signLit
.
isNotEmpty
())
{
if
(
signLit
.
isNotEmpty
())
{
val
sign1
=
signLit
.
joinToString
(
","
)
{
it
}
val
sign1
=
signLit
.
joinToString
(
","
)
{
it
}
ActionCountUtils
.
baiDuCountSign3
(
ActionCountUtils
.
baiDuCountSign3
(
...
...
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