From 91749354521bcb8b5b79d753013f615191c22b5e Mon Sep 17 00:00:00 2001 From: anfe <448468458@qq.com> Date: Tue, 4 Jun 2024 16:50:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98,=E8=A1=A5=E5=85=85=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main/lockMian/lockList/lockList_xhj_page.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/main/lockMian/lockList/lockList_xhj_page.dart b/lib/main/lockMian/lockList/lockList_xhj_page.dart index 8a3b3fd1..0eab9fd7 100755 --- a/lib/main/lockMian/lockList/lockList_xhj_page.dart +++ b/lib/main/lockMian/lockList/lockList_xhj_page.dart @@ -313,12 +313,12 @@ class _LockListXHJPageState extends State with RouteAware { maxLines: 2, ), Row( - children: [ + children: [ 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 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: [ 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 with RouteAware { fontSize: 16.sp, color: AppColors.darkGrayTextColor), ), Row( - children: [ + children: [ Text( Characters(useKeyTypeListStr[1]).join('\u{200B}'), style: TextStyle(