fix:增加跳过配网流程

This commit is contained in:
liyi 2025-02-27 16:22:53 +08:00
parent f6f10f1bcd
commit 86854e8f3f

View File

@ -72,17 +72,32 @@ class _WifiListPageState extends State<WifiListPage> {
ScreenUtil().bottomBarHeight -
64.h)),
),
state.pageName.value == 'saveLock'
? SubmitBtn(
btnName: '跳过'.tr,
fontSize: 28.sp,
borderRadius: 20.w,
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {
Get.offAndToNamed(Routers.starLockMain);
},
)
: Container(),
SizedBox(
height: 20.h,
),
SubmitBtn(
btnName: '手动配网'.tr,
fontSize: 28.sp,
borderRadius: 20.w,
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {
Get.toNamed(Routers.configuringWifiPage, arguments: {
'lockSetInfoData': state.lockSetInfoData.value,
'pageName': state.pageName.value,
});
}),
btnName: '手动配网'.tr,
fontSize: 28.sp,
borderRadius: 20.w,
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {
Get.toNamed(Routers.configuringWifiPage, arguments: {
'lockSetInfoData': state.lockSetInfoData.value,
'pageName': state.pageName.value,
});
},
),
SizedBox(
height: 64.h,
)