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
ec0cce39
Commit
ec0cce39
authored
Jun 09, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:m-home组件升级
parent
ebde0e39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
config.gradle
config.gradle
+2
-2
HomeConsultItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+4
-4
No files found.
config.gradle
View file @
ec0cce39
...
...
@@ -9,7 +9,7 @@ ext {
"m-consultant"
:
"0.0.59.79"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.36"
,
"m-home"
:
"0.0.22.6
3
"
,
"m-home"
:
"0.0.22.6
4
"
,
"m-im"
:
"0.0.19.20"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.8"
,
...
...
@@ -92,7 +92,7 @@ ext {
"m-consultant"
:
"0.0.59.79"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.36"
,
"m-home"
:
"0.0.22.6
3
"
,
"m-home"
:
"0.0.22.6
4
"
,
"m-im"
:
"0.0.19.20"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
ec0cce39
...
...
@@ -2,19 +2,19 @@ package com.yidianling.home.ui.view
import
android.content.Context
import
android.graphics.Color
import
androidx.core.content.ContextCompat
import
android.text.TextUtils
import
android.view.View
import
android.view.ViewGroup
import
android.widget.FrameLayout
import
androidx.core.content.ContextCompat
import
com.ydl.ydl_image.manager.YDLImageCacheManager
import
com.ydl.ydlcommon.utils.StringUtils
import
com.ydl.ydlcommon.utils.URLUtils
import
com.yidianling.common.tools.RxImageTool
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.home.model.bean.HomeConsultBean
import
kotlinx.android.synthetic.xlzx.home_consult_item_view.view.*
import
java.math.BigDecimal
/**
* @author jiucheng
...
...
@@ -92,8 +92,8 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
}
else
{
tv_feedback_rate
.
visibility
=
View
.
VISIBLE
try
{
val
d
d
=
bodyBean
.
feedbackRate
/
5.00f
val
str
=
String
.
format
(
"%.1f"
,
dd
*
10f
)
val
d
=
BigDecimal
(
bodyBean
.
feedbackRate
.
toString
()).
setScale
(
1
,
BigDecimal
.
ROUND_DOWN
)
val
str
=
d
.
toString
(
)
tv_feedback_rate
.
text
=
str
}
catch
(
e
:
Exception
)
{
e
.
printStackTrace
()
...
...
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