Commit db7af97d by YKai

feat:m-consultant组件升级

parent 5fea24b3
...@@ -6,7 +6,7 @@ ext { ...@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.09", "m-confide" : "0.0.49.09",
"m-consultant" : "0.0.59.84", "m-consultant" : "0.0.59.85",
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.36", "m-user" : "0.0.61.36",
"m-home" : "0.0.22.66", "m-home" : "0.0.22.66",
...@@ -89,7 +89,7 @@ ext { ...@@ -89,7 +89,7 @@ ext {
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.09", "m-confide" : "0.0.49.09",
"m-consultant" : "0.0.59.84", "m-consultant" : "0.0.59.85",
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.36", "m-user" : "0.0.61.36",
"m-home" : "0.0.22.66", "m-home" : "0.0.22.66",
......
...@@ -1174,7 +1174,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres ...@@ -1174,7 +1174,7 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
//筛选标题显示处理 //筛选标题显示处理
private fun filterLabelSet() { private fun filterLabelSet() {
if ((allFilter.others.size + allFilter.ages.size + allFilter.enquiries.size + allFilter.title.size) == 1) { if ((allFilter.others.size + allFilter.ages.size + allFilter.enquiries.size + allFilter.title.size+allFilter.specialityCrowd.size) == 1) {
var text: String? = "" var text: String? = ""
if (allFilter.others.size == 1) { if (allFilter.others.size == 1) {
text = allFilter.others[0].value text = allFilter.others[0].value
...@@ -1184,6 +1184,8 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres ...@@ -1184,6 +1184,8 @@ class ExpertSearchActivity : BaseMvpActivity<IExpertSearchView, ExpertSearchPres
text = allFilter.enquiries[0].value text = allFilter.enquiries[0].value
} else if (allFilter.title.size == 1) { } else if (allFilter.title.size == 1) {
text = allFilter.title[0].value text = allFilter.title[0].value
}else if (allFilter.specialityCrowd.size==1){
text = allFilter.specialityCrowd[0].value
} else { } else {
text = "筛选" text = "筛选"
} }
......
...@@ -1132,7 +1132,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres ...@@ -1132,7 +1132,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
//筛选标题显示处理 //筛选标题显示处理
private fun filterLabelSet() { private fun filterLabelSet() {
if ((allFilter.others.size + allFilter.ages.size + allFilter.enquiries.size + allFilter.title.size) == 1) { if ((allFilter.others.size + allFilter.ages.size + allFilter.enquiries.size + allFilter.title.size+allFilter.specialityCrowd.size) == 1) {
var text: String? = "" var text: String? = ""
if (allFilter.others.size == 1) { if (allFilter.others.size == 1) {
text = allFilter.others[0].value text = allFilter.others[0].value
...@@ -1142,6 +1142,8 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres ...@@ -1142,6 +1142,8 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
text = allFilter.enquiries[0].value text = allFilter.enquiries[0].value
} else if (allFilter.title.size == 1) { } else if (allFilter.title.size == 1) {
text = allFilter.title[0].value text = allFilter.title[0].value
}else if (allFilter.specialityCrowd.size==1){
text = allFilter.specialityCrowd[0].value
} else { } else {
text = "筛选" text = "筛选"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment