虹膜和手掌根据后台返回显示

This commit is contained in:
Daisy 2024-04-20 15:41:21 +08:00
parent 79736e54dc
commit f78e95d6d5

View File

@ -729,7 +729,7 @@ class _LockDetailPageState extends State<LockDetailPage>
); );
} }
// if (state.keyInfos.value.lockFeature!.isSupportIris == 1) { if (state.keyInfos.value.lockFeature!.isSupportIris == 1) {
showWidgetArr.add( showWidgetArr.add(
bottomItem('images/main/icon_iris.png', '虹膜'.tr, bottomItem('images/main/icon_iris.png', '虹膜'.tr,
state.openDoorBtnisUneable.value, state.bottomBtnisEable.value, () { state.openDoorBtnisUneable.value, state.bottomBtnisEable.value, () {
@ -738,9 +738,9 @@ class _LockDetailPageState extends State<LockDetailPage>
}); });
}), }),
); );
// } }
// if (state.keyInfos.value.lockFeature!.palmVein == 1) { if (state.keyInfos.value.lockFeature!.palmVein == 1) {
showWidgetArr.add( showWidgetArr.add(
bottomItem('images/main/icon_palm.png', '手掌'.tr, bottomItem('images/main/icon_palm.png', '手掌'.tr,
state.openDoorBtnisUneable.value, state.bottomBtnisEable.value, () { state.openDoorBtnisUneable.value, state.bottomBtnisEable.value, () {
@ -749,7 +749,7 @@ class _LockDetailPageState extends State<LockDetailPage>
}); });
}), }),
); );
// } }
//-> //->
if (state.keyInfos.value.lockFeature!.videoIntercom == 1) { if (state.keyInfos.value.lockFeature!.videoIntercom == 1) {