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
6d9ec015
Commit
6d9ec015
authored
May 28, 2022
by
upwork.021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 代码优化,组件升级
parent
a039c65c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
+8
-9
config.gradle
config.gradle
+2
-2
ExpertSearchActivity.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
+3
-4
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+1
-1
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+1
-1
ExpertServiceItem.kt
m-consultant/src/main/java/com/yidianling/consultant/model/bean/ExpertServiceItem.kt
+1
-1
No files found.
config.gradle
View file @
6d9ec015
...
@@ -6,7 +6,7 @@ ext {
...
@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.72"
,
"m-confide"
:
"0.0.49.72"
,
"m-consultant"
:
"0.0.60.
28
"
,
"m-consultant"
:
"0.0.60.
30
"
,
"m-fm"
:
"0.0.30.08"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.44"
,
"m-home"
:
"0.0.23.44"
,
...
@@ -92,7 +92,7 @@ ext {
...
@@ -92,7 +92,7 @@ ext {
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.72"
,
"m-confide"
:
"0.0.49.72"
,
"m-consultant"
:
"0.0.60.
21
"
,
"m-consultant"
:
"0.0.60.
30
"
,
"m-fm"
:
"0.0.30.08"
,
"m-fm"
:
"0.0.30.08"
,
"m-user"
:
"0.0.62.04"
,
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.41"
,
"m-home"
:
"0.0.23.41"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchActivity.kt
View file @
6d9ec015
...
@@ -10,7 +10,6 @@ import android.content.Intent
...
@@ -10,7 +10,6 @@ import android.content.Intent
import
android.graphics.Typeface
import
android.graphics.Typeface
import
android.os.Handler
import
android.os.Handler
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.Gravity
import
android.view.View
import
android.view.View
import
android.view.WindowManager
import
android.view.WindowManager
import
android.view.inputmethod.InputMethodManager
import
android.view.inputmethod.InputMethodManager
...
@@ -390,7 +389,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -390,7 +389,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
initCategory
=
mIntent
.
getStringExtra
(
EXTRA_CATEGORY
)
?:
""
initCategory
=
mIntent
.
getStringExtra
(
EXTRA_CATEGORY
)
?:
""
initShowType
=
mIntent
.
getIntExtra
(
EXTRA_SHOW_TYPE
,
0
)
initShowType
=
mIntent
.
getIntExtra
(
EXTRA_SHOW_TYPE
,
0
)
tv_search_content
.
text
=
mIntent
.
getStringExtra
(
EXTRA_SEARCH_WORD
)
tv_search_content
.
text
=
mIntent
.
getStringExtra
(
EXTRA_SEARCH_WORD
)
mSign2
=
mIntent
.
getStringExtra
(
"sign2"
)
mSign2
=
mIntent
.
getStringExtra
(
"sign2"
)
?:
""
getRouterParam
()
getRouterParam
()
allFilter
.
showType
.
key
=
initShowType
allFilter
.
showType
.
key
=
initShowType
...
@@ -401,7 +400,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -401,7 +400,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
}
}
getPresenter
().
fetchListHead
()
getPresenter
().
fetchListHead
()
refresh
(
false
)
//
refresh(false)
v_loading
.
visibility
=
View
.
VISIBLE
v_loading
.
visibility
=
View
.
VISIBLE
v_loading
.
setViewType
(
LogoLoadingView
.
TYPE_LOADING
,
null
)
v_loading
.
setViewType
(
LogoLoadingView
.
TYPE_LOADING
,
null
)
...
@@ -510,7 +509,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
...
@@ -510,7 +509,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
}
}
filterLabelSet
()
filterLabelSet
()
//开始筛选数据
//开始筛选数据
refresh
()
//
refresh()
}
}
view
.
addView
(
textView
)
view
.
addView
(
textView
)
}
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
6d9ec015
...
@@ -435,7 +435,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -435,7 +435,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
}
}
filterLabelSet
()
filterLabelSet
()
//开始筛选数据
//开始筛选数据
refresh
()
//
refresh()
}
}
view
.
addView
(
textView
)
view
.
addView
(
textView
)
}
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
6d9ec015
...
@@ -183,7 +183,7 @@ class ExpertSearchAdapter(
...
@@ -183,7 +183,7 @@ class ExpertSearchAdapter(
holder
.
imgActivity
.
visibility
=
View
.
GONE
holder
.
imgActivity
.
visibility
=
View
.
GONE
}
}
//新驻图标
//新驻图标
if
(
itemBean
.
is_new_enter
)
{
if
(
itemBean
.
is_new_enter
!=
null
&&
itemBean
.
is_new_enter
!!
)
{
if
(
null
!=
itemBean
.
icons
&&
!
TextUtils
.
isEmpty
(
itemBean
.
icons
.
new_enter_icon
))
{
if
(
null
!=
itemBean
.
icons
&&
!
TextUtils
.
isEmpty
(
itemBean
.
icons
.
new_enter_icon
))
{
expertSearchView
.
showImage
(
expertSearchView
.
showImage
(
itemBean
.
icons
.
new_enter_icon
,
itemBean
.
icons
.
new_enter_icon
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/model/bean/ExpertServiceItem.kt
View file @
6d9ec015
...
@@ -54,7 +54,7 @@ data class ExpertServiceItem(
...
@@ -54,7 +54,7 @@ data class ExpertServiceItem(
/**
/**
* 是否新入驻:true:是,false:否
* 是否新入驻:true:是,false:否
*/
*/
var
is_new_enter
:
Boolean
=
false
,
var
is_new_enter
:
Boolean
?
,
/**
/**
* 好评率(倾诉+咨询)
* 好评率(倾诉+咨询)
*/
*/
...
...
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