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
4f795005
Commit
4f795005
authored
Sep 07, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: UI还原
parent
91505e27
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
12 deletions
+6
-12
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+1
-5
consultant_expert_search_item_view.xml
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
+3
-5
consultant_item_tag.xml
m-consultant/src/main/res/layout/consultant_item_tag.xml
+1
-1
LoopScrollAvatar.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/LoopScrollAvatar.kt
+1
-1
No files found.
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
4f795005
...
...
@@ -191,11 +191,7 @@ class ExpertSearchAdapter(
val
view
=
LayoutInflater
.
from
(
context
)
.
inflate
(
R
.
layout
.
consultant_item_tag
,
holder
.
ll_tags
,
false
)
tag
.
tag_name
.
let
{
name
->
if
(
name
.
length
>
4
)
{
view
.
tvTag
.
text
=
"${name.substring(0, 4)}…"
}
else
{
view
.
tvTag
.
text
=
name
}
view
.
tvTag
.
text
=
name
}
if
(
tag
.
is_highlight
)
{
view
.
tvTag
.
setBackgroundResource
(
R
.
drawable
.
consultant_bg_radius_line_eb892c
)
...
...
m-consultant/src/main/res/layout/consultant_expert_search_item_view.xml
View file @
4f795005
...
...
@@ -187,11 +187,11 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@+id/tvName"
android:layout_marginTop=
"12dp"
android:text=
"起"
android:textColor=
"@color/color_ef8a4a"
android:textSize=
"@dimen/platform_dp_12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tvPrice"
app:layout_constraintTop_toTopOf=
"@id/tvPrice"
app:layout_constraintBottom_toBottomOf=
"@id/tvPrice"
app:layout_constraintLeft_toRightOf=
"@id/tvPrice"
/>
<TextView
...
...
@@ -210,10 +210,8 @@
android:layout_width=
"wrap_content"
android:layout_height=
"24dp"
android:elevation=
"0dp"
android:minWidth=
"56dp"
android:paddingLeft=
"6dp"
android:minWidth=
"60dp"
android:paddingTop=
"4dp"
android:paddingRight=
"6dp"
android:paddingBottom=
"4dp"
app:cardBackgroundColor=
"@color/color_6ec8f9"
app:cardCornerRadius=
"12dp"
...
...
m-consultant/src/main/res/layout/consultant_item_tag.xml
View file @
4f795005
...
...
@@ -12,5 +12,5 @@
android:paddingRight=
"4dp"
android:paddingBottom=
"3dp"
android:textColor=
"@color/color_1c1f28_50"
android:textSize=
"11
s
p"
android:textSize=
"11
d
p"
tools:text=
"恋爱情感"
/>
m-home/src/xlzx/java/com/yidianling/home/ui/view/LoopScrollAvatar.kt
View file @
4f795005
...
...
@@ -29,7 +29,7 @@ class LoopScrollAvatar @JvmOverloads constructor(
private
val
animDuration
=
500L
//动画间隔播放时间
private
val
animIntervalTime
=
20
00L
private
val
animIntervalTime
=
15
00L
//两边头像的缩放程度
private
val
scaleFrom
=
0.7F
...
...
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