中建365-bug修复

develop
wlh 1 year ago
parent bf9a24d132
commit 2e5dfc8f4e

@ -4,6 +4,8 @@ import android.view.View
import android.view.ViewGroup
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.xty.base.adapter.BaseAdapter
import com.xty.common.arouter.ARouterUrl
import com.xty.common.arouter.RouteManager
import com.xty.common.setImageUser
import com.zj365.health.R
import de.hdodenhof.circleimageview.CircleImageView
@ -23,6 +25,10 @@ class HealthFamilyUserAvatorAdapter : BaseAdapter<String>(R.layout.item_health_f
}
holder.getView<CircleImageView>(R.id.img_user_avator).setOnClickListener {
RouteManager.goAct(ARouterUrl.FAMILY_GUARDIAN_LIST_ACT)
}
}
fun setMargins(v: View, l: Int, t: Int, r: Int, b: Int) {

@ -216,6 +216,13 @@ class BreathFrag : BaseVmFrag<BreathVm>() {
binding.mTip.setOnClickListener {
tipDialog.show()
}
binding.tvTips.text = "呼吸率:\n" +
"了解呼吸率呼吸率即呼吸频率是指一分钟内呼吸的次数胸部每起伏一次就代表完成了一次呼吸正常范围为12-20次/分。" +
"呼吸频率正常值受性别、年龄影响具体为男性13-21次/分女性15-20次/分儿童约30-40次/分。\n\n" +
"呼吸率异常会出现的症状?\n" +
"呼吸频率过快或过慢可能导致机体缺氧或二氧化碳蓄积若发现呼吸频率、节律异常需尽快前往医院就诊。若呼吸频率小于12次/分," +
"会出现头晕头痛、恶心呕吐、意识障碍等症状。若呼吸频率大于20次/分,则为呼吸过速,可能与发热、贫血等因素有关,可能出现呼吸性碱中毒的相关症状,表现为胸闷、四肢发麻等。\n\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}
override fun observer() {

@ -206,6 +206,13 @@ class TemFrag : BaseVmFrag<TempVm>() {
binding.mTvTime.setOnClickListener {
timeSelect.selectTime(it)
}
binding.tvTips.text = "体温:\n" +
"了解体温:体温指人体的温度,是生命体征之一,也是临床常用的基础检查。在生理学上,体温可分为体核温度和体表温度。平常所指的体温就是体核温度,即机体核心部分的平均温度。\n\n" +
"体温异常代表什么?\n" +
"提示可能存在炎症反应、代谢紊乱、内环境失衡、体温调节中枢功能障碍等,体温升高常见于感染、白血病、类风湿关节炎等疾病,体温降低主要见于低血糖昏迷、甲状腺功能减退、全身衰竭等。\n\n" +
"高风险值:\n" +
"高于39.0℃可能引起昏迷、惊厥、造成不可逆脑损伤等低于35℃则可危及生命。\n\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}
override fun observer() {

@ -298,6 +298,19 @@ class UricAcidFrag : BaseVmFrag<UricAcidVm>() {
)
binding.tvRenew.text = content
binding.tvTips.text = "了解尿酸:\n正常情况下人体内的尿酸大约有1200 mg每天新生成约600 mg同时排泄掉600 mg处于平衡的状态。" +
"但如果体内产生过多来不及排泄或者尿酸排泄机制退化则体内尿酸滞留过多当血液尿酸浓度大于7 mg/dl导致人体体液变酸长期将会引发痛风。" +
"过于疲劳或是休息不足也可导致代谢相对迟缓进而导致痛风发病。\n\n" +
" 尿酸的正常值是什么?\n" +
"正常尿酸值为89-359μmol/L受性别因素影响男性在150~416μmol/L,女性89~357μmolL。\n\n" +
"尿酸的异常代表什么?\n" +
"排除生理因素后,尿酸的增高:提示产生过多以及排泄障碍,可以有助于判断单纯高尿酸血症、痛风、肾炎等疾病。尿酸的减低:提示肝脏代谢功能减低或者肾重吸收异常,有助于判断肝坏死、肝豆状核变性等。\n\n" +
"\n" +
"尿酸监测算法原理:反射光谱分析原理+核心算法\n" +
"手表测尿酸的原理是通过手表上内置的光学传感器检测皮肤下血液中尿酸含量的变化主要基于反射光谱分析原理即通过LED发射出的绿色光线照射到皮肤上再由光学传感器检测被皮肤和血液反射回来的光线强度从而测量尿酸含量再将测量出来的数据通过核心算法进行分析处理并得出相关尿酸数值。\n" +
"\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
loadData()
}

@ -229,6 +229,17 @@ class XinlvFrag : BaseVmFrag<XlVm>() {
//
// }
binding.tvTips.text ="了解心率:\n心率是指人体心脏每分钟搏动的次数为人的基本生命体征之一成年人安静状态下的心率一般为50-100次每分钟" +
"其通常会因年龄、性别或其他生理因素产生个体差异。运动时心跳会加速,心肺功能较好的运动员心率通常会比普通成年人的心跳要慢。\n\n" +
"心率过速:\n成年人在安静、清醒的情况下心率达到100次/分钟婴幼儿150次/分就称为心率过速。\n\n" +
"心率过缓:\n成年人在安静、清醒的情况下心率低于50次/分钟;\n\n" +
"如心率偏高,什么情况下建议及时就医?\n" +
"当心率超过正常值范围时(成人在安静、清醒的情况下正常心率范围为50~100次/分)。尤其是伴有症状时,如:心慌气短," +
"头晕、黑朦等,建议到医院就诊。首先,建议您到就近的社区医院就诊,完善心电图等基本检查,排查常见病。不能确诊或者需要进一步诊疗时,可以到上级医院或专科医院就诊。\n" +
"\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}
private fun moveToErrorShow(bundle: Bundle) {

@ -223,6 +223,12 @@ class XueTangFrag : BaseVmFrag<XTangVm>() {
binding.tvRenew.text = content
init()
binding.tvTips.text = "了解血糖:\n血糖是指血液中葡萄糖的含量,属于糖代谢检查,可用于筛查、诊断及监测糖尿病、低血糖症等多种糖代谢异常相关疾病,反映了机体对葡萄糖的吸收、代谢是否正常。\n\n" +
"无创血糖趋势算法原理:光学检测原理+核心算法\n" +
"监测原理采用光学检测技术进行非侵入式的血糖监测。该技术利用 LED 发射器发出可见光或红外线光束,经过皮肤组织后被光电传感器接收。由于不同物质对光线吸收的特性不同,因此可以通过检测光线在皮肤组织中的吸收情况来判断血液中的成分含量;搭配核心算法,能有效算出用户血糖数值。\n" +
"\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}
private var onClickListener = View.OnClickListener {

@ -343,6 +343,12 @@ class XueyaFrag : BaseVmFrag<XyaVm>() {
// }
binding.tvTips.text = "了解血压:\n血压是指血液在血管内流动时作用于单位面积血管壁的侧压力,它是推动血液在血管内流动的动力。" +
"由两个数值组成,收缩压显示心脏收缩或跳动时的血管压力,俗称高压;舒张压显示心脏在两次跳动之间舒张时的血管压力,俗称低压。\n\n" +
"血压算法原理:\n手表测血压的原理是使用光电传感器和算法估算出血压值也叫光学测量法光学测量技术即使用LED发出绿光" +
"然后绿光穿过皮肤照射到血液中,感受到的反射光变化后计算出血压值。这种技术被称为光学脉搏波技术,它利用了光波通过人体不同颜色组织时的衰减特性," +
"通过物理算法计算出起始点和终止点的时间和速度,从而测量血压。\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}
private fun moveToErrorShow(bundle: Bundle) {

@ -217,6 +217,11 @@ class XueyangFrag : BaseVmFrag<XyVm>() {
binding.mTip.setOnClickListener {
tipDialog.show()
}
binding.tvTips.text="了解血氧:\n血氧是指血液中的氧气人体正常血氧饱和度为95%以上。血液中含氧量越高,人的新陈代谢就越好。当然血氧含量高并不是一个好的现象,人体内的血氧都是有一定的饱和度,过低会造成机体供氧不足,过高会导致体内细胞老化。\n\n" +
"如血氧饱和度偏低,什么情况下建议及时就医?\n" +
"血氧饱和度偏低与各种引起引起肺通气和(或)换气功能障碍有关,如气道、肺间质疾病及影响肺通气和(或)换气功能的全身系统疾病等。一旦出现血氧饱和度持续性偏低,尤其是出现气促、呼吸困难、面色发青或紫、大汗淋漓、烦躁不安、神情萎顿、意识障碍等症状的用户,用户应立即就诊,必要时急诊就诊。\n" +
"\n\n\n" +
"测量结果仅供参考,不作为医疗诊断依据。"
}

@ -438,12 +438,12 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -117,6 +117,14 @@
android:visibility="gone"
layout="@layout/sleep_music_info"
android:layout_marginBottom="@dimen/dp_20"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/sp_15"
android:textColor="@color/col_313"
android:layout_marginTop="@dimen/dp_17"
android:text="睡眠监测原理:\n手表是通过身体动作与心率、呼吸率相结合算出睡眠状况。首先利用内置传感器检测人在熟睡、浅睡或没睡的状态因为它可以检测到人的心率、手腕的运动频率和幅度的效果当手腕运动频率较快、幅度较大、心率较高时说明人的睡眠比较浅当手腕运动很小特别轻微且心率也较低时则是熟睡。传感器会每隔十分钟分钟测量心率、运动参数如果前一次和当前测量的结果相似说明一直是相同的睡眠模式然后累计之后就是熟睡、浅睡等不同的阶段的时间也就是我们在最后看到的各个阶段的睡眠时间注意传感器并不是一直工作而且熟睡的时间是累计的它不一定是一直持续的可能是分段的。"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -532,12 +532,12 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -456,12 +456,12 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" />
</LinearLayout>

@ -442,14 +442,14 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/col_313"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textSize="@dimen/sp_15" />
android:textSize="@dimen/sp_15"
android:text="了解心率:\n心率是指人体心脏每分钟搏动的次数为人的基本生命体征之一成年人安静状态下的心率一般为50-100次每分钟其通常会因年龄、性别或其他生理因素产生个体差异。运动时心跳会加速心肺功能较好的运动员心率通常会比普通成年人的心跳要慢。"
/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -609,12 +609,12 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" />
</LinearLayout>

@ -436,12 +436,12 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_17"
android:layout_marginBottom="@dimen/dp_40"
android:text="温馨提示:手表数据仅作为参考,不作为诊断、治疗依据。"
android:textColor="@color/col_2628"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

@ -515,13 +515,13 @@
</LinearLayout>
<TextView
android:id="@+id/tv_tips"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_40"
android:padding="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_17"
android:text="@string/tip_xya"
android:textColor="@color/col_e03"
android:textSize="@dimen/dp_16"
android:textColor="@color/col_313"
android:textSize="@dimen/sp_15"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/mRecycle" />

Loading…
Cancel
Save