Commit ca69e38b by YKai

feat: 首页逻辑调整,组件升级

parent 2065d51c
......@@ -9,7 +9,7 @@ ext {
"m-consultant" : "0.0.59.93",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.56",
"m-home" : "0.0.22.71",
"m-home" : "0.0.22.73",
"m-im" : "0.0.19.79",
"m-dynamic" : "0.0.7.29",
"m-article" : "0.0.0.10",
......@@ -92,7 +92,7 @@ ext {
"m-consultant" : "0.0.59.93",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.56",
"m-home" : "0.0.22.71",
"m-home" : "0.0.22.73",
"m-im" : "0.0.19.79",
"m-dynamic" : "0.0.7.29",
"m-article" : "0.0.0.8",
......
......@@ -72,40 +72,32 @@
],
"consultCategoryData": [
{
"id": 1,
"name": "恋爱心理"
"id":"53210703000839",
"name":"恋爱情感"
},
{
"id": 452,
"name": "婚姻家庭"
"id":"53210703000840",
"name":"婚姻家庭"
},
{
"id": 23,
"name": "亲子教育"
"id":"53210703000841",
"name":"亲子教育"
},
{
"id": 25,
"name": "人际关系"
"id":"53210703000843",
"name":"职场发展"
},
{
"id": 22,
"name": "职业发展"
},
{
"id": 26,
"name": "个人成长"
},
{
"id": 27,
"name": "情绪压力"
"id":"53210703000844",
"name":"个人成长"
},
{
"id": 699,
"name": "精神咨询"
"id":"53210703000845",
"name":"情绪压力"
},
{
"id": 229,
"name": "法律咨询"
"id":"53210703000846",
"name":"心理健康"
}
],
"doctorName": "",
......
......@@ -91,7 +91,7 @@ class HomeHeaderBean : HomeItemBaseBean {
}
class ConsultCategoryDateBean {
var id: Int = 0
var id: String = "0"
var name: String? = null
}
......
......@@ -39,7 +39,7 @@ class HomeConsultView(private val mContext: Context, private var homeEvent: IHom
/**
* 当前选中cateId
*/
var cateId = 0
var cateId = "0"
init {
initView()
......@@ -98,7 +98,7 @@ class HomeConsultView(private val mContext: Context, private var homeEvent: IHom
return
}
cateId = category?.id?:0
cateId = category?.id?:"0"
ll_content.visibility = View.VISIBLE
......
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