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
5b4f0e4a
Commit
5b4f0e4a
authored
Jul 07, 2022
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改筛选框价格文案,价格筛选传值字段使用后端返回的字段
parent
ef86e01f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
ExpertSearchPresenter.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchPresenter.kt
+1
-1
PriceRangesItem.kt
m-consultant/src/main/java/com/yidianling/consultant/model/bean/PriceRangesItem.kt
+4
-1
consultant_ui_filter_popup.xml
m-consultant/src/main/res/layout/consultant_ui_filter_popup.xml
+1
-1
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchPresenter.kt
View file @
5b4f0e4a
...
...
@@ -124,7 +124,7 @@ class ExpertSearchPresenter : SimplePresenter<IExpertSearchView>() {
if
(!
TextUtils
.
isEmpty
(
allFilter
.
priceRanges
?.
max_price
))
{
avgPriceMap
[
"lte"
]
=
allFilter
.
priceRanges
?.
max_price
}
filterMap
[
"avg_price"
]
=
avgPriceMap
filterMap
[
allFilter
.
priceRanges
!!
.
key1
]
=
avgPriceMap
}
// 年龄
if
(
allFilter
.
ages
.
isNotEmpty
())
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/model/bean/PriceRangesItem.kt
View file @
5b4f0e4a
...
...
@@ -13,5 +13,7 @@ data class PriceRangesItem(
@SerializedName
(
"recommend_percent"
)
var
recommend_percent
:
String
?
=
null
,
var
display_range
:
String
?
=
null
var
display_range
:
String
?
=
null
,
var
key1
:
String
=
"avg_price"
)
\ No newline at end of file
m-consultant/src/main/res/layout/consultant_ui_filter_popup.xml
View file @
5b4f0e4a
...
...
@@ -59,7 +59,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_28"
android:text=
"
服务均价
"
android:text=
"
价格
"
android:textColor=
"@color/platform_color_242424"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
/>
...
...
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