优化重置键的提示
This commit is contained in:
parent
df3b0b40d3
commit
ee87827ddc
@ -36,38 +36,44 @@ class _ResetButtonPageState extends State<ResetButtonPage> with RouteAware {
|
||||
padding: EdgeInsets.all(30.w),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
if (F.isSKY)
|
||||
Text(
|
||||
'开启后,锁被撬动时,会发出报警声'.tr,
|
||||
style: TextStyle(fontSize: 20.sp),
|
||||
)
|
||||
else
|
||||
Text(
|
||||
'开启后,可通过长按锁上的设置键重新上电,用APP重新添加'.tr,
|
||||
style: TextStyle(fontSize: 20.sp),
|
||||
),
|
||||
SizedBox(
|
||||
height: 10.h,
|
||||
),
|
||||
Text(
|
||||
'关闭后,重置键无效,锁要通过app删除后才能重新添加'.tr,
|
||||
style: TextStyle(fontSize: 20.sp),
|
||||
)
|
||||
],
|
||||
)),
|
||||
],
|
||||
),
|
||||
SizedBox(
|
||||
height: 30.h,
|
||||
),
|
||||
// Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.start,
|
||||
// children: <Widget>[
|
||||
// Expanded(
|
||||
// child: Column(
|
||||
// mainAxisAlignment: MainAxisAlignment.start,
|
||||
// crossAxisAlignment: CrossAxisAlignment.start,
|
||||
// children: <Widget>[
|
||||
// if (F.isSKY)
|
||||
// Text(
|
||||
// '开启后,锁被撬动时,会发出报警声'.tr,
|
||||
// style: TextStyle(fontSize: 20.sp),
|
||||
// )
|
||||
// else
|
||||
// Text(
|
||||
// '开启后,可通过长按锁上的设置键重新上电,用APP重新添加'.tr,
|
||||
// style: TextStyle(fontSize: 20.sp),
|
||||
// ),
|
||||
// SizedBox(
|
||||
// height: 10.h,
|
||||
// ),
|
||||
// Text(
|
||||
// '关闭后,重置键无效,锁要通过app删除后才能重新添加'.tr,
|
||||
// style: TextStyle(fontSize: 20.sp),
|
||||
// )
|
||||
// ],
|
||||
// )),
|
||||
// ],
|
||||
// ),
|
||||
// SizedBox(
|
||||
// height: 30.h,
|
||||
// ),
|
||||
Obx(()=> state.resetButtonEnable.value == 1 ? Container(
|
||||
alignment: Alignment.centerLeft, margin: EdgeInsets.only(bottom: 20.h),
|
||||
child: Text(
|
||||
'关闭后,重置键无效'.tr,
|
||||
style: TextStyle(fontSize: 20.sp),
|
||||
)) : SizedBox.shrink()),
|
||||
Obx(() => Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user