diff --git a/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLockManage/volumeAuthorizationLockManage_page.dart b/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLockManage/volumeAuthorizationLockManage_page.dart index 45dea31a..400d9ba5 100644 --- a/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLockManage/volumeAuthorizationLockManage_page.dart +++ b/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLockManage/volumeAuthorizationLockManage_page.dart @@ -7,23 +7,31 @@ import '../../../../../tools/titleAppBar.dart'; import '../../../../../translations/trans_lib.dart'; class VolumeAuthorizationLockManagePage extends StatefulWidget { - const VolumeAuthorizationLockManagePage({Key? key}):super(key:key); + const VolumeAuthorizationLockManagePage({Key? key}) : super(key: key); @override - State createState() => _VolumeAuthorizationLockManagePageState(); + State createState() => + _VolumeAuthorizationLockManagePageState(); } -class _VolumeAuthorizationLockManagePageState extends State { - var index=0; +class _VolumeAuthorizationLockManagePageState + extends State { + var index = 0; @override Widget build(BuildContext context) { return Scaffold( backgroundColor: AppColors.mainBackgroundColor, - appBar: TitleAppBar(barTitle: "${TranslationLoader.lanKeys!.add!.tr} ${TranslationLoader.lanKeys!.authorizedAdmin!.tr}", haveBack:true, backgroundColor: AppColors.mainColor), + appBar: TitleAppBar( + barTitle: + "${TranslationLoader.lanKeys!.add!.tr}${TranslationLoader.lanKeys!.authorizedAdmin!.tr}", + haveBack: true, + backgroundColor: AppColors.mainColor), body: Column( children: [ - VolumeAuthorizationLockManageTabbar(initialIndex: index,), + VolumeAuthorizationLockManageTabbar( + initialIndex: index, + ), ], ), ); diff --git a/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLock_page.dart b/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLock_page.dart index 8fe513f9..39dc559e 100644 --- a/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLock_page.dart +++ b/star_lock/lib/main/lockDetail/authorizedAdmin/volumeAuthorizationLock/volumeAuthorizationLock_page.dart @@ -45,6 +45,9 @@ class _VolumeAuthorizationLockPageState children: [ keyInfoWidget(), remoteUnlockingWidget(), + SizedBox( + height: 30.h, + ), keyBottomWidget() ], ); @@ -56,10 +59,12 @@ class _VolumeAuthorizationLockPageState keyInfoWidget(), keyTimeWidget(), remoteUnlockingWidget(), + SizedBox( + height: 30.h, + ), keyBottomWidget() ], ); - break; } } @@ -143,7 +148,7 @@ class _VolumeAuthorizationLockPageState Widget getTFWidget(bool isHaveBtn, String tfStr) { return Container( height: 50.h, - width: 500.w, + width: 300.w, child: Row( children: [ Expanded( @@ -157,6 +162,7 @@ class _VolumeAuthorizationLockPageState //输入里面输入文字内边距设置 contentPadding: const EdgeInsets.only(top: 12.0, bottom: 8.0), hintText: tfStr, + hintStyle: TextStyle(fontSize: 22.sp), //不需要输入框下划线 border: InputBorder.none, ), @@ -167,12 +173,12 @@ class _VolumeAuthorizationLockPageState ), isHaveBtn ? Container( - width: 50.w, - height: 50.w, + width: 30.w, + height: 30.w, decoration: const BoxDecoration( color: Colors.white, image: DecorationImage( - image: AssetImage('images/icon_lock.png'), + image: AssetImage('images/icon_addressBook.png'), fit: BoxFit.fill), ), alignment: Alignment.center,