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
294761cf
Commit
294761cf
authored
Aug 11, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改bug
parent
5743717e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
AreaPopupWindow.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/AreaPopupWindow.kt
+6
-7
PricePopupWindow.kt
m-consultant/src/main/java/com/yidianling/consultant/ui/view/PricePopupWindow.kt
+3
-1
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ui/view/AreaPopupWindow.kt
View file @
294761cf
...
@@ -48,8 +48,6 @@ class AreaPopupWindow(
...
@@ -48,8 +48,6 @@ class AreaPopupWindow(
var
onRegionSelectedListener
:
OnRegionSelectedListener
?
=
null
var
onRegionSelectedListener
:
OnRegionSelectedListener
?
=
null
private
var
subLocationItem
:
SubItem
?
=
SubItem
()
private
var
subLocationItem
:
SubItem
?
=
SubItem
()
private
val
locationCode
=
"-1"
private
val
locationCode
=
"-1"
private
val
recentCityCode
=
"0"
private
var
locationRegionItem
:
RegionItem
?
=
null
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationList
:
ArrayList
<
SubItem
>?
=
arrayListOf
()
private
var
locationHistoryList
=
regionList
private
var
locationHistoryList
=
regionList
...
@@ -69,11 +67,12 @@ class AreaPopupWindow(
...
@@ -69,11 +67,12 @@ class AreaPopupWindow(
}
else
{
}
else
{
subList
.
addAll
(
regionList
[
0
].
sub
)
subList
.
addAll
(
regionList
[
0
].
sub
)
}
}
recentCityBean
=
recentCityBean
=
MMKV
.
defaultMMKV
().
decodeParcelable
(
MMKV
.
defaultMMKV
().
decodeParcelable
(
RECENT_CITY
,
RECENT_CITY
,
ConsultantRecentCity
::
class
.
java
ConsultantRecentCity
::
class
.
java
)
)
if
(
recentCityBean
==
null
)
recentCityBean
=
ConsultantRecentCity
(
arrayListOf
())
subAdapter
=
SubRecyclerViewAdapter
(
context
,
subList
,
selectedSub
,
locationCode
)
subAdapter
=
SubRecyclerViewAdapter
(
context
,
subList
,
selectedSub
,
locationCode
)
subAdapter
.
setOnAuthClickLister
(
object
:
SubRecyclerViewAdapter
.
OnAuthClickLister
{
subAdapter
.
setOnAuthClickLister
(
object
:
SubRecyclerViewAdapter
.
OnAuthClickLister
{
override
fun
onAuthClick
()
{
override
fun
onAuthClick
()
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/ui/view/PricePopupWindow.kt
View file @
294761cf
...
@@ -111,13 +111,15 @@ class PricePopupWindow(
...
@@ -111,13 +111,15 @@ class PricePopupWindow(
)
{
)
{
if
(
track
)
{
if
(
track
)
{
max_Price
=
((
rightValue
/
100
)
*
maxPriceValue
).
toInt
().
toString
()
max_Price
=
((
rightValue
/
100
)
*
maxPriceValue
).
toInt
().
toString
()
min_Price
=
((
leftValue
/
100
)
*
maxPriceValue
).
toInt
().
toString
()
tempFilter
.
priceRanges
=
PriceRangesItem
(
min_Price
,
max_Price
)
if
(
rightValue
>
93
)
{
if
(
rightValue
>
93
)
{
max_Price
=
infiniteText
max_Price
=
infiniteText
}
}
min_Price
=
((
leftValue
/
100
)
*
maxPriceValue
).
toInt
().
toString
()
ActionCountUtils
.
count
(
PRICE_SLIDE_CLICK
,
"$min_Price-$max_Price"
)
ActionCountUtils
.
count
(
PRICE_SLIDE_CLICK
,
"$min_Price-$max_Price"
)
contentView
.
tv_start_end_price
.
text
=
contentView
.
tv_start_end_price
.
text
=
"$min_Price-$max_Price"
"$min_Price-$max_Price"
}
}
}
}
...
...
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