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
a27a2abf
Commit
a27a2abf
authored
2 years ago
by
upwork.021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 代码优化
parent
61719190
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
config.gradle
config.gradle
+1
-1
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+3
-1
DoctorServiceItem.kt
m-consultant/src/main/java/com/yidianling/consultant/model/bean/DoctorServiceItem.kt
+1
-1
No files found.
config.gradle
View file @
a27a2abf
...
@@ -6,7 +6,7 @@ ext {
...
@@ -6,7 +6,7 @@ ext {
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.65"
,
"m-confide"
:
"0.0.49.65"
,
"m-consultant"
:
"0.0.60.1
7
"
,
"m-consultant"
:
"0.0.60.1
8
"
,
"m-fm"
:
"0.0.30.04"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.62.04"
,
"m-user"
:
"0.0.62.04"
,
"m-home"
:
"0.0.23.17"
,
"m-home"
:
"0.0.23.17"
,
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
a27a2abf
...
@@ -226,7 +226,8 @@ class ExpertSearchAdapter(
...
@@ -226,7 +226,8 @@ class ExpertSearchAdapter(
holder
.
tvTeamCertifications
.
text
=
itemBean
.
teamCertifications
holder
.
tvTeamCertifications
.
text
=
itemBean
.
teamCertifications
//咨询师标签
//咨询师标签
holder
.
ll_tags
.
removeAllViews
()
holder
.
ll_tags
.
removeAllViews
()
if
(
itemBean
.
tagList
.
isNotEmpty
()){
itemBean
.
tagList
?.
let
{
if
(
it
.
isNotEmpty
()){
for
(
tag
in
itemBean
.
tagList
){
for
(
tag
in
itemBean
.
tagList
){
val
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
consultant_item_tag
,
holder
.
ll_tags
,
false
)
val
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
consultant_item_tag
,
holder
.
ll_tags
,
false
)
view
.
tvTag
.
text
=
tag
.
tagName
view
.
tvTag
.
text
=
tag
.
tagName
...
@@ -240,6 +241,7 @@ class ExpertSearchAdapter(
...
@@ -240,6 +241,7 @@ class ExpertSearchAdapter(
holder
.
ll_tags
.
addView
(
view
)
holder
.
ll_tags
.
addView
(
view
)
}
}
}
}
}
//帮助人数
//帮助人数
val
orderUser
=
StringBuffer
()
val
orderUser
=
StringBuffer
()
holder
.
tvOrderNum
.
text
=
orderUser
.
append
(
itemBean
.
zixunOrderUser
).
append
(
""
).
toString
()
holder
.
tvOrderNum
.
text
=
orderUser
.
append
(
itemBean
.
zixunOrderUser
).
append
(
""
).
toString
()
...
...
This diff is collapsed.
Click to expand it.
m-consultant/src/main/java/com/yidianling/consultant/model/bean/DoctorServiceItem.kt
View file @
a27a2abf
...
@@ -135,7 +135,7 @@ data class DoctorServiceItem(
...
@@ -135,7 +135,7 @@ data class DoctorServiceItem(
/**
/**
* 新标签分类
* 新标签分类
*/
*/
val
tagList
:
ArrayList
<
TagBean
>
val
tagList
:
ArrayList
<
TagBean
>
?
)
)
data class
TagBean
(
data class
TagBean
(
...
...
This diff is collapsed.
Click to expand it.
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