|
|
|
@ -386,7 +386,9 @@ class BloodFatFrag : BaseVmFrag<BloodFatVm>() {
|
|
|
|
|
binding.clCurHdl.tvBloodValue.text = "${it.data.data.hdl}"
|
|
|
|
|
|
|
|
|
|
binding.clCurLdl.tvBloodValue.text = "${it.data.data.ldl}"
|
|
|
|
|
|
|
|
|
|
binding.tvOpen.visibility = View.GONE
|
|
|
|
|
binding.compareTv.visibility = View.VISIBLE
|
|
|
|
|
binding.llRenew.visibility = View.VISIBLE
|
|
|
|
|
if (id == MMkvHelper.getLong(Const.USER_ID).toString()) {
|
|
|
|
|
binding.tvBloodLipidAdjust.visibility = View.VISIBLE
|
|
|
|
|
} else {
|
|
|
|
@ -401,6 +403,7 @@ class BloodFatFrag : BaseVmFrag<BloodFatVm>() {
|
|
|
|
|
LogUtils.d("过期时间还剩:$expireDay 天;有效期截至:$expireTimeStr")
|
|
|
|
|
if (expireDay > 30) {
|
|
|
|
|
binding.tvRenew.visibility = View.GONE
|
|
|
|
|
|
|
|
|
|
} else if (it.data.status == 2) {
|
|
|
|
|
binding.tvRenew.visibility = View.VISIBLE
|
|
|
|
|
}
|
|
|
|
|