fix:修复设备列表显示异常的问题,补充代码
This commit is contained in:
parent
0593da7598
commit
9174935452
@ -313,12 +313,12 @@ class _LockListXHJPageState extends State<LockListXHJPage> with RouteAware {
|
||||
maxLines: 2,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
children: <Widget>[
|
||||
Visibility(
|
||||
visible: keyInfo.passageMode == 1,
|
||||
child: Container(
|
||||
padding:
|
||||
EdgeInsets.only(top: 5.h, right: 5.w, left: 5.w),
|
||||
EdgeInsets.only(top: 2.h, right: 3.w, left: 3.w,bottom: 1.h),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(5.w),
|
||||
color: AppColors.openPassageModeColor,
|
||||
@ -328,16 +328,17 @@ class _LockListXHJPageState extends State<LockListXHJPage> with RouteAware {
|
||||
fontSize: 18.sp,
|
||||
color: AppColors.appBarIconColor)),
|
||||
)),
|
||||
SizedBox(
|
||||
width: 5.w,
|
||||
),
|
||||
if (keyInfo.passageMode == 1)
|
||||
SizedBox(
|
||||
width: 5.w,
|
||||
),
|
||||
Visibility(
|
||||
visible: keyInfo.lockSetting!.remoteUnlock == 1,
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
padding: EdgeInsets.only(
|
||||
top: 5.h, right: 5.w, left: 5.w),
|
||||
top: 2.h, right: 3.w, left: 3.w,bottom: 1.h),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(5.w),
|
||||
color: AppColors.mainColor,
|
||||
@ -394,7 +395,7 @@ class _LockListXHJPageState extends State<LockListXHJPage> with RouteAware {
|
||||
fontSize: 16.sp, color: AppColors.darkGrayTextColor),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
children: <Widget>[
|
||||
Text(
|
||||
Characters(useKeyTypeListStr[1]).join('\u{200B}'),
|
||||
style: TextStyle(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user