中建365-二期开发-bug修复

develop
wlh 1 year ago
parent 9fd816ed10
commit 5dbace084c

@ -161,12 +161,12 @@ class ICompareMarkView(
if (datas[2] == "0") { if (datas[2] == "0") {
tvValue.text = "--" tvValue.text = "--"
} else { } else {
tvValue.text = "${changeDecimals(datas[2], 1)}$unit" tvValue.text = "${changeDecimals(datas[2], 2)}$unit"
} }
if (datas[3] == "0") { if (datas[3] == "0") {
mTvValueCompare.text = "--" mTvValueCompare.text = "--"
} else { } else {
mTvValueCompare.text = "${changeDecimals(datas[3], 1)}$unit" mTvValueCompare.text = "${changeDecimals(datas[3], 2)}$unit"
} }
} }
else -> { else -> {

@ -190,7 +190,7 @@
android:layout_marginRight="@dimen/dp_14" android:layout_marginRight="@dimen/dp_14"
android:layout_marginBottom="@dimen/dp_14" android:layout_marginBottom="@dimen/dp_14"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。" android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/read_dot_bg" android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" android:textSize="@dimen/sp_15"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />

Loading…
Cancel
Save