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
638f30e5
Commit
638f30e5
authored
Jul 08, 2022
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 筛选框手动输入价格也取后端返回的key1字段的值
parent
a1c54a42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+1
-1
FilterPopupWindow.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/FilterPopupWindow.kt
+3
-2
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
638f30e5
...
...
@@ -449,7 +449,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
}
//
筛选数据获取后回调
//
获取筛选数据
override
fun
onHeadFetched
(
headData
:
HeadData
?)
{
//头部数据获取到后初始化筛选数据
this
.
headData
=
headData
...
...
m-consultant/src/main/java/com/yidianling/consultant/ui/view/FilterPopupWindow.kt
View file @
638f30e5
...
...
@@ -25,8 +25,6 @@ import com.yidianling.consultant.listener.OnFilterConfirmListener
import
com.yidianling.consultant.model.bean.AllFilter
import
com.yidianling.consultant.model.bean.Filters
import
com.yidianling.consultant.model.bean.PriceRangesItem
import
io.reactivex.disposables.CompositeDisposable
import
io.reactivex.disposables.Disposable
import
kotlinx.android.synthetic.main.consultant_item_filter.view.*
import
kotlinx.android.synthetic.main.consultant_item_price_range.view.*
import
kotlinx.android.synthetic.main.consultant_ui_filter_popup.view.*
...
...
@@ -109,6 +107,9 @@ class FilterPopupWindow(
}
view
.
btnConfirm
.
setOnClickListener
{
if
(
tempFilter
.
priceRanges
!=
null
&&
tempFilter
.
priceRanges
!!
.
key1
==
"avg_price"
&&
filterData
.
priceRanges
.
isNotEmpty
()){
tempFilter
.
priceRanges
!!
.
key1
=
filterData
.
priceRanges
[
0
].
key1
}
biEvent
(
ConsultBIConstants
.
POSITION_CONSULT_FILTER_CHECKOUT_CLICK
)
onFilterConfirmListener
?.
onFilterConfirmed
()
dismiss
()
...
...
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