更新界面布局

This commit is contained in:
wyf
2025-06-16 21:08:54 +08:00
parent acde8340a8
commit aa51d92d2b
19 changed files with 2595 additions and 1524 deletions

View File

@@ -834,8 +834,8 @@ void showWifiDialog(
Get.back();
},
child: Padding(
padding:
EdgeInsetsDirectional.fromSTEB(0, 33.rpx, 0, 0.rpx),
padding: EdgeInsetsDirectional.fromSTEB(
20.rpx, 33.rpx, 20.rpx, 20.rpx),
child: SvgPicture.asset(
'assets/img/icon/close.svg',
width: 25.rpx,
@@ -851,7 +851,7 @@ void showWifiDialog(
alignment: AlignmentDirectional(0, 0),
child: Padding(
padding:
EdgeInsetsDirectional.fromSTEB(0.rpx, 40.rpx, 0, 0),
EdgeInsetsDirectional.fromSTEB(0.rpx, 20.rpx, 0, 0),
child: Text(
title,
style: FlutterFlowTheme.of(context).bodyMedium.override(
@@ -870,7 +870,7 @@ void showWifiDialog(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CustomCard(
borderRadius: AppConstants().button_container_radius,
borderRadius: AppConstants().normal_container_radius,
onTap: () {
if (blueteethBindController.model.wifiPass == null ||
blueteethBindController.model.wifiPass!.isEmpty) {
@@ -884,10 +884,8 @@ void showWifiDialog(
Get.back();
}
},
colors: [
themeController.currentColor.sc1,
themeController.currentColor.sc2,
],
colors: AppConstants().mhtNormalButton,
gradientDirection: GradientDirection.vertical,
child: Container(
width: MediaQuery.sizeOf(context).width * 0.115,
height: MediaQuery.sizeOf(context).height * 0.055,
@@ -904,7 +902,7 @@ void showWifiDialog(
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
color: stringToColor("#333333"),
color: Colors.white,
fontFamily: 'Inter',
fontSize:
AppConstants().normal_text_fontSize,