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
f0c4a7a3
Commit
f0c4a7a3
authored
May 20, 2020
by
ydl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup
parent
cad1c67e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
10 deletions
+12
-10
config.gradle
config.gradle
+1
-1
HomeAssuageGriefImageItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
+1
-1
HomeCourseItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
+1
-3
home_assuage_grief_item_view_tab_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_back.xml
+2
-1
home_assuage_grief_item_view_tab_comment_back.xml
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_comment_back.xml
+2
-1
home_article_item_view.xml
m-home/src/xlzx/res/layout/home_article_item_view.xml
+2
-1
home_assuage_grief_item_view.xml
m-home/src/xlzx/res/layout/home_assuage_grief_item_view.xml
+3
-2
No files found.
config.gradle
View file @
f0c4a7a3
...
...
@@ -9,7 +9,7 @@ ext {
"m-consultant"
:
"0.0.59.20"
,
"m-fm"
:
"0.0.30.00"
,
"m-user"
:
"0.0.60.20"
,
"m-home"
:
"0.0.22.
70
"
,
"m-home"
:
"0.0.22.
8
"
,
"m-im"
:
"0.0.18.20"
,
"m-dynamic"
:
"0.0.7.70"
,
"m-article"
:
"0.0.0.6"
,
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeAssuageGriefImageItemView.kt
View file @
f0c4a7a3
...
...
@@ -33,7 +33,7 @@ class HomeAssuageGriefImageItemView(
radius
=
4f
cardElevation
=
0f
var
screenWidth
=
RxDeviceTool
.
getScreenWidth
(
mContext
)
var
viewWidth
=
(
screenWidth
-
2
*
30
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
var
viewWidth
=
(
screenWidth
-
2
*
16
*
RxDeviceTool
.
getScreenDensity
(
mContext
)).
toInt
()
var
params
:
LinearLayout
.
LayoutParams
?
//根据图片的数量,加载不同的图片布局
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeCourseItemView.kt
View file @
f0c4a7a3
...
...
@@ -66,9 +66,7 @@ class HomeCourseItemView(private val mContext: Context, private var homeEvent: I
fun
getLastPrice
(
price
:
String
):
String
{
if
(
price
.
length
>
3
)
{
if
(
"0"
.
equals
(
price
[
price
.
lastIndex
])
&&
"0"
.
equals
(
price
[
price
.
lastIndex
-
1
])
&&
"."
.
equals
(
price
[
price
.
lastIndex
-
2
]
)
if
(
"0"
==
price
[
price
.
lastIndex
].
toString
()
&&
"0"
==
price
[
price
.
lastIndex
-
1
].
toString
()
&&
"."
==
price
[
price
.
lastIndex
-
2
].
toString
()
)
{
return
price
.
substring
(
0
,
price
.
length
-
3
)
}
...
...
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_back.xml
View file @
f0c4a7a3
...
...
@@ -6,7 +6,7 @@
<corners
android:radius=
"@dimen/platform_dp_4"
/>
<stroke
android:width=
"
1
dp"
<stroke
android:width=
"
0.5
dp"
android:color=
"#CCCCCC"
/>
</shape>
\ No newline at end of file
m-home/src/xlzx/res/drawable/home_assuage_grief_item_view_tab_comment_back.xml
View file @
f0c4a7a3
...
...
@@ -4,6 +4,6 @@
<solid
android:color=
"#F8F8F8"
/>
<corners
android:radius=
"@dimen/platform_dp_
4
"
/>
<corners
android:radius=
"@dimen/platform_dp_
8
"
/>
</shape>
\ No newline at end of file
m-home/src/xlzx/res/layout/home_article_item_view.xml
View file @
f0c4a7a3
...
...
@@ -36,6 +36,7 @@
android:ellipsize=
"end"
android:textSize=
"@dimen/platform_dp_17"
android:textStyle=
"bold"
android:lineHeight=
"19dp"
android:layout_marginTop=
"-2dp"
android:textColor=
"@color/platform_color_242424"
android:layout_alignParentTop=
"true"
...
...
@@ -53,7 +54,7 @@
android:ellipsize=
"end"
android:textSize=
"@dimen/platform_dp_13"
android:layout_marginTop=
"@dimen/platform_dp_6"
android:textColor=
"@color/platform_color_
666666
"
android:textColor=
"@color/platform_color_
999999
"
android:layout_alignParentLeft=
"true"
android:layout_below=
"@+id/homeModuleArticleItemViewTitle"
android:lineSpacingExtra=
"@dimen/platform_dp_3"
...
...
m-home/src/xlzx/res/layout/home_assuage_grief_item_view.xml
View file @
f0c4a7a3
...
...
@@ -28,7 +28,7 @@
android:id=
"@+id/homeModuleAssuageGriefViewContent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:maxLines=
"
3
"
android:maxLines=
"
1
"
android:ellipsize=
"end"
android:lineSpacingExtra=
"@dimen/platform_dp_5"
android:paddingLeft=
"@dimen/platform_dp_16"
...
...
@@ -126,7 +126,8 @@
android:orientation=
"horizontal"
android:paddingLeft=
"@dimen/platform_dp_16"
android:paddingRight=
"@dimen/platform_dp_16"
android:layout_marginTop=
"@dimen/platform_dp_12"
>
android:layout_marginTop=
"@dimen/platform_dp_12"
android:gravity=
"center_vertical"
>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"28dp"
...
...
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