feat:添加配对前提示语

This commit is contained in:
anfe 2024-05-09 17:32:38 +08:00
parent 996c85ac0a
commit dfced73348
5 changed files with 29 additions and 15 deletions

View File

@ -832,5 +832,6 @@
"钥匙详情":"Key details",
"姓名":"Name",
"发送":"Send",
"请确认姓名全名和身份证号码是否正确":"Please confirm that the full name and ID number are correct"
"请确认姓名全名和身份证号码是否正确":"Please confirm that the full name and ID number are correct",
"传输期间请勿离开当前页面":"Do not leave the current page during transfer"
}

View File

@ -860,5 +860,6 @@
"钥匙详情":"钥匙详情",
"姓名":"姓名",
"发送":"发送",
"请确认姓名全名和身份证号码是否正确":"请确认姓名全名和身份证号码是否正确"
"请确认姓名全名和身份证号码是否正确":"请确认姓名全名和身份证号码是否正确",
"传输期间请勿离开当前页面":"传输期间请勿离开当前页面"
}

View File

@ -863,5 +863,7 @@
"钥匙详情":"钥匙详情",
"姓名":"姓名",
"发送":"发送",
"请确认姓名全名和身份证号码是否正确":"请确认姓名全名和身份证号码是否正确"
"请确认姓名全名和身份证号码是否正确":"请确认姓名全名和身份证号码是否正确",
"传输期间请勿离开当前页面":"传输期间请勿离开当前页面"
}

View File

@ -479,7 +479,6 @@ class NearbyLockLogic extends BaseGetXController {
token: token,
encrypt: false,
).packageData());
showTitleEasyLoading("连接设备中...");
} else if (deviceConnectionState ==
BluetoothConnectionState.disconnected) {}
},isAddEquipment: true);

View File

@ -279,20 +279,31 @@ class OTAProgressDialog extends StatelessWidget {
title: Text(
'固件升级中'.tr,
),
content: Row(
content: Column(
children: [
Text(
'传输中'.tr,
style: TextStyle(fontSize: 22.sp, color: AppColors.mainColor),
Padding(
padding: EdgeInsets.only(top: 20.h, bottom: 10.h),
child: Text(
'传输期间请勿离开当前页面'.tr,
style: TextStyle(fontSize: 20.sp, color: AppColors.blackColor),
),
),
SizedBox(
width: 15.w,
Row(
children: [
Text(
'传输中'.tr,
style: TextStyle(fontSize: 18.sp, color: AppColors.mainColor),
),
SizedBox(
width: 15.w,
),
Expanded(
child: LinearProgressIndicator(
value: logic.state.otaProgress.value,
color: AppColors.mainColor,
)),
],
),
Expanded(
child: LinearProgressIndicator(
value: logic.state.otaProgress.value,
color: AppColors.mainColor,
)),
],
),
actions: [