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
87515e8a
Commit
87515e8a
authored
Sep 06, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: UI还原
parent
cc685a48
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
93 additions
and
73 deletions
+93
-73
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+4
-5
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+19
-27
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+4
-4
consult_ic_arrow_drwn_en.png
m-consultant/src/main/res/drawable-xxhdpi/consult_ic_arrow_drwn_en.png
+0
-0
consult_ic_arrow_drwn_gray.png
m-consultant/src/main/res/drawable-xxhdpi/consult_ic_arrow_drwn_gray.png
+0
-0
consult_location_icon.png
m-consultant/src/main/res/drawable-xxhdpi/consult_location_icon.png
+0
-0
filter_down_blue.png
m-consultant/src/main/res/drawable-xxhdpi/filter_down_blue.png
+0
-0
filter_up_gray.png
m-consultant/src/main/res/drawable-xxhdpi/filter_up_gray.png
+0
-0
consultant_bg_radius_line_eb892c.xml
m-consultant/src/main/res/drawable/consultant_bg_radius_line_eb892c.xml
+1
-1
consultant_bg_radius_line_gray_1.xml
m-consultant/src/main/res/drawable/consultant_bg_radius_line_gray_1.xml
+1
-1
consultant_bg_search_filter_selector_radius11.xml
m-consultant/src/main/res/drawable/consultant_bg_search_filter_selector_radius11.xml
+2
-2
consultant_ns_bg.xml
m-consultant/src/main/res/drawable/consultant_ns_bg.xml
+2
-1
consultant_expert_search_item_view.xml
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
+41
-23
consultant_layout_search_content.xml
m-consultant/src/main/res/layout/consultant_layout_search_content.xml
+16
-9
colors.xml
m-consultant/src/main/res/values/colors.xml
+3
-0
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
87515e8a
...
@@ -9,7 +9,6 @@ import android.app.Activity
...
@@ -9,7 +9,6 @@ import android.app.Activity
import
android.content.Context
import
android.content.Context
import
android.content.Intent
import
android.content.Intent
import
android.graphics.Typeface
import
android.graphics.Typeface
import
android.os.Bundle
import
android.os.Handler
import
android.os.Handler
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
...
@@ -1800,7 +1799,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1800,7 +1799,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_ic_arrow_drop_down_grey_500_18dp
,
R
.
drawable
.
consult_ic_arrow_drwn_gray
,
0
0
)
)
}
}
...
@@ -1810,7 +1809,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1810,7 +1809,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_arrow_drop_do
wn_en
,
R
.
drawable
.
consult_ic_arrow_dr
wn_en
,
0
0
)
)
}
}
...
@@ -1820,7 +1819,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1820,7 +1819,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_arrow_drop_do
wn_en
,
R
.
drawable
.
consult_ic_arrow_dr
wn_en
,
0
0
)
)
}
}
...
@@ -1836,7 +1835,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -1836,7 +1835,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
filter_up_gr
e
y
,
R
.
drawable
.
filter_up_gr
a
y
,
0
0
)
)
}
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
87515e8a
...
@@ -6,9 +6,7 @@ import android.animation.ObjectAnimator
...
@@ -6,9 +6,7 @@ import android.animation.ObjectAnimator
import
android.animation.PropertyValuesHolder
import
android.animation.PropertyValuesHolder
import
android.annotation.SuppressLint
import
android.annotation.SuppressLint
import
android.content.Context
import
android.content.Context
import
android.content.Intent
import
android.graphics.Typeface
import
android.graphics.Typeface
import
android.net.Uri
import
android.os.Handler
import
android.os.Handler
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
...
@@ -31,9 +29,7 @@ import com.ydl.ydl_image.config.SimpleImageOpConfiger
...
@@ -31,9 +29,7 @@ import com.ydl.ydl_image.config.SimpleImageOpConfiger
import
com.ydl.ydl_image.listener.YDLImageRecyclerOnScrollListener
import
com.ydl.ydl_image.listener.YDLImageRecyclerOnScrollListener
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.ydl.ydlcommon.base.BaseMvpFragment
import
com.ydl.ydlcommon.base.BaseMvpFragment
import
com.ydl.ydlcommon.base.config.ChannelConfig
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.data.PlatformDataManager
import
com.ydl.ydlcommon.modular.findRouteService
import
com.ydl.ydlcommon.modular.findRouteService
import
com.ydl.ydlcommon.ui.LogoLoadingView
import
com.ydl.ydlcommon.ui.LogoLoadingView
import
com.ydl.ydlcommon.utils.BuryPointUtils
import
com.ydl.ydlcommon.utils.BuryPointUtils
...
@@ -54,12 +50,8 @@ import com.yidianling.consultant.constants.ConsultBIConstants
...
@@ -54,12 +50,8 @@ import com.yidianling.consultant.constants.ConsultBIConstants
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultEvent.Companion.PRICE_TYPE_CLICK
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultEvent.Companion.PRICE_TYPE_CLICK
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultantLocationAuth.Companion.REFUSE_ALREADY
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultantLocationAuth.Companion.REFUSE_ALREADY
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultantLocationAuth.Companion.WHETHER_LOCATION_AUTH
import
com.yidianling.consultant.constants.ConsultBIConstants.ConsultantLocationAuth.Companion.WHETHER_LOCATION_AUTH
import
com.yidianling.consultant.listener.*
import
com.yidianling.consultant.dialog.ConsultSubPayDialog
import
com.yidianling.consultant.dialog.ConsultSubPayDialog
import
com.yidianling.consultant.listener.OnCategoriesSelectedListener
import
com.yidianling.consultant.listener.*
import
com.yidianling.consultant.listener.OnExpertClickListener
import
com.yidianling.consultant.listener.OnFilterConfirmListener
import
com.yidianling.consultant.listener.OnSortItemSelectedListener
import
com.yidianling.consultant.model.SearchApi
import
com.yidianling.consultant.model.SearchApi
import
com.yidianling.consultant.model.bean.*
import
com.yidianling.consultant.model.bean.*
import
com.yidianling.consultant.modular.singlton.ConsultAssistantDialogUtils
import
com.yidianling.consultant.modular.singlton.ConsultAssistantDialogUtils
...
@@ -501,20 +493,20 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -501,20 +493,20 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
textView
.
setOnClickListener
{
textView
.
setOnClickListener
{
if
(
textView
.
isSelected
)
{
if
(
textView
.
isSelected
)
{
dealHotSelect
(
hot
,
false
)
dealHotSelect
(
hot
,
false
)
textView
!!
.
isSelected
=
false
textView
.
isSelected
=
false
textView
.
paint
.
isFakeBoldText
=
false
}
else
{
}
else
{
dealHotSelect
(
hot
,
true
)
dealHotSelect
(
hot
,
true
)
textView
.
isSelected
=
true
textView
.
isSelected
=
true
textView
.
paint
.
isFakeBoldText
=
true
// 埋点
// 埋点
ActionCountUtils
.
baiDuCountSign3
(
hot
.
value
?.
let
{
it1
->
ConsultBIConstants
.
PART_ID_CONSULT_COUNSELOR_LIST_PAGE
,
ActionCountUtils
.
baiDuCountSign3
(
ConsultBIConstants
.
ConsultEvent
.
POSITION_CHOICE_FILTER_CLICK
,
ConsultBIConstants
.
PART_ID_CONSULT_COUNSELOR_LIST_PAGE
,
hot
.
value
!!
,
ConsultBIConstants
.
ConsultEvent
.
POSITION_CHOICE_FILTER_CLICK
,
"app"
,
it1
,
""
"app"
,
)
""
)
}
}
}
filterLabelSet
()
filterLabelSet
()
//开始筛选数据
//开始筛选数据
...
@@ -1611,12 +1603,12 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1611,12 +1603,12 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
private
fun
updateFilterTextViewStatus
(
tv
:
TextView
,
status
:
Int
)
{
private
fun
updateFilterTextViewStatus
(
tv
:
TextView
,
status
:
Int
)
{
when
(
status
)
{
when
(
status
)
{
FILTER_STATUS_NORMAL
->
{
FILTER_STATUS_NORMAL
->
{
tv
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
NORMAL
)
tv
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
BOLD
)
tv
.
setTextColor
(
ContextCompat
.
getColor
(
mContext
,
R
.
color
.
platform_color
TextDefault
))
tv
.
setTextColor
(
ContextCompat
.
getColor
(
mContext
,
R
.
color
.
platform_color
_242424
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_ic_arrow_drop_down_grey_500_18dp
,
R
.
drawable
.
consult_ic_arrow_drwn_gray
,
0
0
)
)
}
}
...
@@ -1626,7 +1618,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1626,7 +1618,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_arrow_drop_do
wn_en
,
R
.
drawable
.
consult_ic_arrow_dr
wn_en
,
0
0
)
)
}
}
...
@@ -1636,7 +1628,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1636,7 +1628,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
platform_arrow_drop_do
wn_en
,
R
.
drawable
.
consult_ic_arrow_dr
wn_en
,
0
0
)
)
}
}
...
@@ -1647,12 +1639,12 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -1647,12 +1639,12 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
private
fun
updateFilterRightTextViewStatus
(
tv
:
TextView
,
status
:
Int
)
{
private
fun
updateFilterRightTextViewStatus
(
tv
:
TextView
,
status
:
Int
)
{
when
(
status
)
{
when
(
status
)
{
FILTER_STATUS_NORMAL
->
{
FILTER_STATUS_NORMAL
->
{
tv
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
NORMAL
)
tv
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
BOLD
)
tv
.
setTextColor
(
ContextCompat
.
getColor
(
mContext
,
R
.
color
.
platform_color
TextDefault
))
tv
.
setTextColor
(
ContextCompat
.
getColor
(
mContext
,
R
.
color
.
platform_color
_242424
))
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
tv
.
setCompoundDrawablesWithIntrinsicBounds
(
0
,
0
,
0
,
0
,
R
.
drawable
.
filter_up_gr
e
y
,
R
.
drawable
.
filter_up_gr
a
y
,
0
0
)
)
}
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
87515e8a
...
@@ -130,7 +130,7 @@ class ExpertSearchAdapter(
...
@@ -130,7 +130,7 @@ class ExpertSearchAdapter(
holder
.
consult_display_status_str
.
setBackgroundColor
(
holder
.
consult_display_status_str
.
setBackgroundColor
(
ContextCompat
.
getColor
(
ContextCompat
.
getColor
(
context
,
context
,
R
.
color
.
color_b6bece
R
.
color
.
color_b6bece
_90
)
)
)
)
}
}
...
@@ -138,7 +138,7 @@ class ExpertSearchAdapter(
...
@@ -138,7 +138,7 @@ class ExpertSearchAdapter(
holder
.
consult_display_status_str
.
setBackgroundColor
(
holder
.
consult_display_status_str
.
setBackgroundColor
(
ContextCompat
.
getColor
(
ContextCompat
.
getColor
(
context
,
context
,
R
.
color
.
color_f5a082
R
.
color
.
color_f5a082
_90
)
)
)
)
}
}
...
@@ -146,7 +146,7 @@ class ExpertSearchAdapter(
...
@@ -146,7 +146,7 @@ class ExpertSearchAdapter(
holder
.
consult_display_status_str
.
setBackgroundColor
(
holder
.
consult_display_status_str
.
setBackgroundColor
(
ContextCompat
.
getColor
(
ContextCompat
.
getColor
(
context
,
context
,
R
.
color
.
color_6ec8f9
R
.
color
.
color_6ec8f9
_90
)
)
)
)
}
}
...
@@ -223,7 +223,7 @@ class ExpertSearchAdapter(
...
@@ -223,7 +223,7 @@ class ExpertSearchAdapter(
//价格
//价格
val
price
=
BigDecimal
(
itemBean
.
min_price
)
val
price
=
BigDecimal
(
itemBean
.
min_price
)
// 去掉末尾无用的.00
// 去掉末尾无用的.00
val
priceStr
=
"¥"
+
price
.
stripTrailingZeros
().
toPlainString
()
+
"起"
val
priceStr
=
"¥"
+
price
.
stripTrailingZeros
().
toPlainString
()
holder
.
tvPrice
.
text
=
priceStr
holder
.
tvPrice
.
text
=
priceStr
//服务方式
//服务方式
...
...
m-consultant/src/main/res/drawable-xxhdpi/consult_ic_arrow_drwn_en.png
0 → 100644
View file @
87515e8a
731 Bytes
m-consultant/src/main/res/drawable-xxhdpi/consult_ic_arrow_drwn_gray.png
0 → 100644
View file @
87515e8a
715 Bytes
m-consultant/src/main/res/drawable-xx
x
hdpi/consult_location_icon.png
→
m-consultant/src/main/res/drawable-xxhdpi/consult_location_icon.png
View file @
87515e8a
File moved
m-consultant/src/main/res/drawable-xxhdpi/filter_down_blue.png
View replaced file @
cc685a48
View file @
87515e8a
736 Bytes
|
W:
|
H:
900 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
m-consultant/src/main/res/drawable-xxhdpi/filter_up_gray.png
0 → 100644
View file @
87515e8a
952 Bytes
m-consultant/src/main/res/drawable/consultant_bg_radius_line_eb892c.xml
View file @
87515e8a
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"
1dp"
/>
<corners
android:radius=
"
4dp"
/>
<solid
android:color=
"@color/color_1AEB892C"
/>
<solid
android:color=
"@color/color_1AEB892C"
/>
<stroke
android:width=
"0.5dp"
android:color=
"@color/color_EB892C"
/>
<stroke
android:width=
"0.5dp"
android:color=
"@color/color_EB892C"
/>
...
...
m-consultant/src/main/res/drawable/consultant_bg_radius_line_gray_1.xml
View file @
87515e8a
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"
1dp"
/>
<corners
android:radius=
"
4dp"
/>
<solid
android:color=
"@color/platform_white"
/>
<solid
android:color=
"@color/platform_white"
/>
<stroke
<stroke
android:width=
"0.5dp"
android:width=
"0.5dp"
...
...
m-consultant/src/main/res/drawable/consultant_bg_search_filter_selector_radius11.xml
View file @
87515e8a
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<shape
android:shape=
"rectangle"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/platform_main_theme_bright"
/>
<solid
android:color=
"@color/platform_main_theme_bright"
/>
<corners
android:radius=
"11dp"
/>
<corners
android:radius=
"11dp"
/>
<stroke
<
!--<
stroke
android:width="0.5dp"
android:width="0.5dp"
android:color=
"@color/platform_main_theme"
/>
android:color="@color/platform_main_theme"/>
-->
</shape>
</shape>
</item>
</item>
<item
android:state_enabled=
"true"
>
<item
android:state_enabled=
"true"
>
...
...
m-consultant/src/main/res/drawable/consultant_ns_bg.xml
View file @
87515e8a
...
@@ -7,6 +7,6 @@
...
@@ -7,6 +7,6 @@
android:bottom=
"2dp"
android:bottom=
"2dp"
android:left=
"4dp"
android:left=
"4dp"
android:right=
"4dp"
android:right=
"4dp"
android:top=
"
3
dp"
/>
android:top=
"
1.5
dp"
/>
</shape>
</shape>
\ No newline at end of file
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
View file @
87515e8a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingLeft=
"@dimen/platform_dp_16"
android:paddingLeft=
"@dimen/platform_dp_16"
android:paddingTop=
"@dimen/platform_dp_
22
"
android:paddingTop=
"@dimen/platform_dp_
19
"
android:paddingRight=
"@dimen/platform_dp_16"
>
android:paddingRight=
"@dimen/platform_dp_16"
>
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
android:id=
"@+id/cv_head_view"
android:id=
"@+id/cv_head_view"
android:layout_width=
"64dp"
android:layout_width=
"64dp"
android:layout_height=
"80dp"
android:layout_height=
"80dp"
app:cardCornerRadius=
"4dp"
android:layout_marginTop=
"3dp"
app:cardCornerRadius=
"8dp"
app:cardElevation=
"0px"
app:cardElevation=
"0px"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
app:layout_constraintTop_toTopOf=
"parent"
>
...
@@ -37,7 +38,7 @@
...
@@ -37,7 +38,7 @@
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:background=
"#6EC8F9"
android:background=
"#6EC8F9"
android:gravity=
"center"
android:gravity=
"center"
android:paddingTop=
"
3
dp"
android:paddingTop=
"
1
dp"
android:paddingBottom=
"2dp"
android:paddingBottom=
"2dp"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"9dp"
android:textSize=
"9dp"
...
@@ -57,50 +58,53 @@
...
@@ -57,50 +58,53 @@
android:textSize=
"@dimen/platform_dp_16"
android:textSize=
"@dimen/platform_dp_16"
android:textStyle=
"bold"
android:textStyle=
"bold"
app:layout_constraintLeft_toRightOf=
"@id/cv_head_view"
app:layout_constraintLeft_toRightOf=
"@id/cv_head_view"
app:layout_constraintTop_toTopOf=
"
@id/cv_head_view
"
app:layout_constraintTop_toTopOf=
"
parent
"
tools:text=
"罗静"
/>
tools:text=
"罗静"
/>
<TextView
<TextView
android:id=
"@+id/audit_tag"
android:id=
"@+id/audit_tag"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Lef
t=
"4dp"
android:layout_margin
Star
t=
"4dp"
android:background=
"@drawable/consultant_ns_bg"
android:background=
"@drawable/consultant_ns_bg"
android:textColor=
"@color/color_62636F"
android:textColor=
"@color/color_62636F"
android:textSize=
"10dp"
android:textSize=
"10dp"
tools:text=
"2022年审"
tools:visibility=
"visible"
android:visibility=
"gone"
android:visibility=
"gone"
app:layout_constraintBaseline_toBaselineOf=
"@id/tvName"
app:layout_constraintBottom_toBottomOf=
"@id/tvName"
app:layout_constraintLeft_toRightOf=
"@id/tvName"
/>
app:layout_constraintLeft_toRightOf=
"@id/tvName"
app:layout_constraintTop_toTopOf=
"@id/tvName"
tools:text=
"2022年审"
tools:visibility=
"visible"
/>
<TextView
<TextView
android:id=
"@+id/tvCity"
android:id=
"@+id/tvCity"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_4"
android:drawableLeft=
"@drawable/consult_location_icon"
android:drawableLeft=
"@drawable/consult_location_icon"
android:drawablePadding=
"
4
dp"
android:drawablePadding=
"
2
dp"
android:gravity=
"right"
android:gravity=
"right"
android:textColor=
"@color/color_
62636F
"
android:textColor=
"@color/color_
1c1f28_40
"
android:textSize=
"@dimen/platform_dp_11"
android:textSize=
"@dimen/platform_dp_11"
app:layout_constraintB
aseline_toBaseline
Of=
"@id/tvName"
app:layout_constraintB
ottom_toBottom
Of=
"@id/tvName"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"@id/tvName"
tools:text=
"浙江.杭州"
/>
tools:text=
"浙江.杭州"
/>
<!--咨询师简介-->
<!--咨询师简介-->
<TextView
<TextView
android:id=
"@+id/tvTeamCertifications"
android:id=
"@+id/tvTeamCertifications"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
0dp
"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_4"
android:layout_marginTop=
"@dimen/platform_dp_4"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:lines=
"1"
android:lines=
"1"
android:textColor=
"@color/color_1c1f28_60"
android:textColor=
"@color/color_1c1f28_60"
android:textSize=
"@dimen/platform_dp_13"
android:textSize=
"@dimen/platform_dp_13"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tvName"
app:layout_constraintTop_toBottomOf=
"@id/tvName"
tools:text=
"一级婚姻家庭咨询师
,
二级心理咨询师二级心理咨询师二级心理咨询师"
/>
tools:text=
"一级婚姻家庭咨询师
|
二级心理咨询师二级心理咨询师二级心理咨询师"
/>
<!--服务时长-->
<!--服务时长-->
...
@@ -157,11 +161,12 @@
...
@@ -157,11 +161,12 @@
android:id=
"@+id/ll_tags"
android:id=
"@+id/ll_tags"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
10
dp"
android:layout_marginTop=
"
8
dp"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintTop_toBottomOf=
"@id/tvSaleDurationForMonth"
/>
app:layout_constraintTop_toBottomOf=
"@id/tvSaleDurationForMonth"
tools:visibility=
"gone"
/>
<TextView
<TextView
...
@@ -169,13 +174,25 @@
...
@@ -169,13 +174,25 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@+id/tvName"
android:layout_alignTop=
"@+id/tvName"
android:layout_marginTop=
"8dp"
android:textColor=
"@color/color_ef8a4a"
android:textColor=
"@color/color_ef8a4a"
android:layout_marginTop=
"12dp"
app:layout_goneMarginTop=
"10dp"
android:textSize=
"@dimen/platform_dp_14"
android:textSize=
"@dimen/platform_dp_14"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintLeft_toLeftOf=
"@id/tvName"
app:layout_constraintTop_toBottomOf=
"@id/ll_tags"
app:layout_constraintTop_toBottomOf=
"@id/ll_tags"
tools:text=
"¥250起"
/>
app:layout_goneMarginTop=
"10dp"
tools:text=
"¥250"
/>
<TextView
android:id=
"@+id/tvPrice_unit"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@+id/tvName"
android:layout_marginTop=
"12dp"
android:text=
"起"
android:textColor=
"@color/color_ef8a4a"
android:textSize=
"@dimen/platform_dp_12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tvPrice"
app:layout_constraintLeft_toRightOf=
"@id/tvPrice"
/>
<TextView
<TextView
android:id=
"@+id/attr_combine"
android:id=
"@+id/attr_combine"
...
@@ -185,7 +202,7 @@
...
@@ -185,7 +202,7 @@
android:textColor=
"@color/color_1c1f28_40"
android:textColor=
"@color/color_1c1f28_40"
android:textSize=
"12dp"
android:textSize=
"12dp"
app:layout_constraintBaseline_toBaselineOf=
"@id/tvPrice"
app:layout_constraintBaseline_toBaselineOf=
"@id/tvPrice"
app:layout_constraintLeft_toRightOf=
"@id/tvPrice"
app:layout_constraintLeft_toRightOf=
"@id/tvPrice
_unit
"
tools:text=
"面/视咨询"
/>
tools:text=
"面/视咨询"
/>
<!--私聊-->
<!--私聊-->
<androidx.cardview.widget.CardView
<androidx.cardview.widget.CardView
...
@@ -200,6 +217,7 @@
...
@@ -200,6 +217,7 @@
android:paddingBottom=
"4dp"
android:paddingBottom=
"4dp"
app:cardBackgroundColor=
"@color/color_6ec8f9"
app:cardBackgroundColor=
"@color/color_6ec8f9"
app:cardCornerRadius=
"12dp"
app:cardCornerRadius=
"12dp"
app:cardElevation=
"0dp"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"@id/tvPrice"
>
app:layout_constraintTop_toTopOf=
"@id/tvPrice"
>
...
@@ -223,7 +241,7 @@
...
@@ -223,7 +241,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:layout_marginTop=
"4dp"
android:textColor=
"@color/color_
62636F
"
android:textColor=
"@color/color_
1c1f28_40
"
android:textSize=
"@dimen/platform_dp_10"
android:textSize=
"@dimen/platform_dp_10"
android:visibility=
"gone"
android:visibility=
"gone"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
...
@@ -234,8 +252,8 @@
...
@@ -234,8 +252,8 @@
<View
<View
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"1px"
android:layout_height=
"1px"
android:background=
"@color/color_EFEFF1"
android:layout_marginTop=
"20dp"
android:layout_marginTop=
"20dp"
android:background=
"@color/color_EFEFF1"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintLeft_toLeftOf=
"@id/cv_head_view"
app:layout_constraintLeft_toLeftOf=
"@id/cv_head_view"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
...
...
m-consultant/src/main/res/layout/consultant_layout_search_content.xml
View file @
87515e8a
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
xmlns:tools=
"http://schemas.android.com/tools"
android:background=
"@color/platform_white"
android:background=
"@color/platform_white"
android:orientation=
"vertical"
android:orientation=
"vertical"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
>
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
>
...
@@ -29,12 +28,14 @@
...
@@ -29,12 +28,14 @@
android:id=
"@+id/tvSubject"
android:id=
"@+id/tvSubject"
style=
"@style/consultant_FilterTextViewStyle"
style=
"@style/consultant_FilterTextViewStyle"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:drawablePadding=
"4dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:width=
"0dp"
android:width=
"0dp"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:textStyle=
"bold"
android:singleLine=
"true"
android:singleLine=
"true"
android:drawableEnd=
"@drawable/
platform_ic_arrow_drop_down_grey_500_18dp
"
android:drawableEnd=
"@drawable/
consult_ic_arrow_drwn_gray
"
android:drawableRight=
"@drawable/
platform_ic_arrow_drop_down_grey_500_18dp
"
android:drawableRight=
"@drawable/
consult_ic_arrow_drwn_gray
"
android:text=
"困扰"
android:text=
"困扰"
android:textColor=
"@color/platform_color_242424"
/>
android:textColor=
"@color/platform_color_242424"
/>
...
@@ -44,8 +45,10 @@
...
@@ -44,8 +45,10 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:width=
"0dp"
android:width=
"0dp"
android:drawableEnd=
"@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
android:textStyle=
"bold"
android:drawableRight=
"@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
android:drawablePadding=
"4dp"
android:drawableEnd=
"@drawable/consult_ic_arrow_drwn_gray"
android:drawableRight=
"@drawable/consult_ic_arrow_drwn_gray"
android:text=
"城市"
android:text=
"城市"
android:textColor=
"@color/platform_color_242424"
/>
android:textColor=
"@color/platform_color_242424"
/>
...
@@ -55,8 +58,10 @@
...
@@ -55,8 +58,10 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:width=
"0dp"
android:width=
"0dp"
android:drawableEnd=
"@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
android:textStyle=
"bold"
android:drawableRight=
"@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
android:drawablePadding=
"4dp"
android:drawableEnd=
"@drawable/consult_ic_arrow_drwn_gray"
android:drawableRight=
"@drawable/consult_ic_arrow_drwn_gray"
android:text=
"价格"
android:text=
"价格"
android:textColor=
"@color/platform_color_242424"
/>
android:textColor=
"@color/platform_color_242424"
/>
...
@@ -66,8 +71,10 @@
...
@@ -66,8 +71,10 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:width=
"0dp"
android:width=
"0dp"
android:drawableEnd=
"@drawable/filter_up_grey"
android:textStyle=
"bold"
android:drawableRight=
"@drawable/filter_up_grey"
android:drawablePadding=
"4dp"
android:drawableEnd=
"@drawable/filter_up_gray"
android:drawableRight=
"@drawable/filter_up_gray"
android:text=
"@string/platform_filter"
android:text=
"@string/platform_filter"
android:textColor=
"@color/platform_color_242424"
/>
android:textColor=
"@color/platform_color_242424"
/>
</LinearLayout>
</LinearLayout>
...
...
m-consultant/src/main/res/values/colors.xml
View file @
87515e8a
...
@@ -33,7 +33,10 @@
...
@@ -33,7 +33,10 @@
<color
name=
"color_ef8a4a"
>
#EF8A4A
</color>
<color
name=
"color_ef8a4a"
>
#EF8A4A
</color>
<color
name=
"color_f6f6f7"
>
#f6f6f7
</color>
<color
name=
"color_f6f6f7"
>
#f6f6f7
</color>
<color
name=
"color_6ec8f9"
>
#6ec8f9
</color>
<color
name=
"color_6ec8f9"
>
#6ec8f9
</color>
<color
name=
"color_6ec8f9_90"
>
#E66ec8f9
</color>
<color
name=
"color_b6bece"
>
#B6BECE
</color>
<color
name=
"color_b6bece"
>
#B6BECE
</color>
<color
name=
"color_b6bece_90"
>
#E6B6BECE
</color>
<color
name=
"color_f5a082"
>
#F5A082
</color>
<color
name=
"color_f5a082"
>
#F5A082
</color>
<color
name=
"color_f5a082_90"
>
#E6F5A082
</color>
<color
name=
"color_f28e6b"
>
#F28E6B
</color>
<color
name=
"color_f28e6b"
>
#F28E6B
</color>
</resources>
</resources>
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