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
ca69e38b
Commit
ca69e38b
authored
Sep 09, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页逻辑调整,组件升级
parent
2065d51c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
27 deletions
+19
-27
config.gradle
config.gradle
+2
-2
home_data.json
m-home/src/main/assets/home_data.json
+14
-22
HomeHeaderBean.kt
m-home/src/main/java/com/yidianling/home/model/bean/HomeHeaderBean.kt
+1
-1
HomeConsultView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultView.kt
+2
-2
No files found.
config.gradle
View file @
ca69e38b
...
...
@@ -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.7
1
"
,
"m-home"
:
"0.0.22.7
3
"
,
"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.7
1
"
,
"m-home"
:
"0.0.22.7
3
"
,
"m-im"
:
"0.0.19.79"
,
"m-dynamic"
:
"0.0.7.29"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-home/src/main/assets/home_data.json
View file @
ca69e38b
...
...
@@ -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"
:
""
,
...
...
m-home/src/main/java/com/yidianling/home/model/bean/HomeHeaderBean.kt
View file @
ca69e38b
...
...
@@ -91,7 +91,7 @@ class HomeHeaderBean : HomeItemBaseBean {
}
class
ConsultCategoryDateBean
{
var
id
:
Int
=
0
var
id
:
String
=
"0"
var
name
:
String
?
=
null
}
...
...
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultView.kt
View file @
ca69e38b
...
...
@@ -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
...
...
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