Merge branch 'master' of https://gitee.com/weishaoyang/star_lock
This commit is contained in:
commit
541940b782
@ -11,6 +11,7 @@ import '../../../../tools/showBottomSheetTool.dart';
|
||||
import '../../../../tools/showCalendar.dart';
|
||||
import '../../../../tools/storage.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../tools/toast.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
import 'checkingInListDay_entity.dart';
|
||||
import 'checkingInList_logic.dart';
|
||||
@ -44,7 +45,8 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
||||
"getKeyInfosData": state.getKeyInfosData.value,
|
||||
});
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
child: Image.asset('images/main/icon_lockDetail_checkIn_set.png', width: 36.w, height: 36.w,)),
|
||||
@ -93,7 +95,8 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
||||
logic.loadDataByType();
|
||||
});
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
@ -129,7 +132,8 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
||||
logic.loadDataByType();
|
||||
});
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
@ -169,7 +173,8 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
||||
});
|
||||
});
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
child: Row(
|
||||
@ -329,7 +334,8 @@ class _CheckingInListPageState extends State<CheckingInListPage> {
|
||||
if(isDemoMode == false){
|
||||
showListType();
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
child: Obx(() => Container(
|
||||
|
||||
@ -9,6 +9,7 @@ import '../../../tools/jh_pop_menus.dart';
|
||||
import '../../../tools/noData.dart';
|
||||
import '../../../tools/storage.dart';
|
||||
import '../../../tools/titleAppBar.dart';
|
||||
import '../../../tools/toast.dart';
|
||||
import '../../../translations/trans_lib.dart';
|
||||
import 'lockOperatingRecord_logic.dart';
|
||||
|
||||
@ -57,7 +58,8 @@ class _LockOperatingRecordPageState extends State<LockOperatingRecordPage> {
|
||||
{'text': '导出记录'},
|
||||
]);
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
@ -175,7 +175,8 @@ class _OtherTypeAddKeyPageState extends State<OtherTypeAddKeyPage> {
|
||||
|
||||
logic.addFingerprintsData();
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
|
||||
}),
|
||||
|
||||
@ -9,6 +9,7 @@ import '../../../../tools/noData.dart';
|
||||
import '../../../../tools/storage.dart';
|
||||
import '../../../../tools/submitBtn.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../tools/toast.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
import 'fingerprintListData_entity.dart';
|
||||
import 'otherTypeKeyList_logic.dart';
|
||||
@ -59,7 +60,8 @@ class _OtherTypeKeyListPageState extends State<OtherTypeKeyListPage> {
|
||||
break;
|
||||
}
|
||||
}else{
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
},
|
||||
),
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:star_lock/tools/toast.dart';
|
||||
|
||||
import '../../../../appRouters.dart';
|
||||
import '../../../../app_settings/app_colors.dart';
|
||||
@ -60,7 +61,7 @@ class _DemoModeLockDetailPageState extends State<DemoModeLockDetailPage> {
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
Expanded(child: Text("提示:当前界面为展示界面,请添加设备后继续使用", style: TextStyle(fontSize: 24.sp, color: AppColors.mainColor))),
|
||||
Expanded(child: Text("提示:当前界面为展示界面,添加设备后才能继续使用", style: TextStyle(fontSize: 24.sp, color: AppColors.mainColor))),
|
||||
],
|
||||
),
|
||||
],
|
||||
@ -367,6 +368,7 @@ class _DemoModeLockDetailPageState extends State<DemoModeLockDetailPage> {
|
||||
}
|
||||
|
||||
void gotoLogin(){
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,6 +9,7 @@ import '../../../../app_settings/app_colors.dart';
|
||||
import '../../../../tools/commonItem.dart';
|
||||
import '../../../../tools/submitBtn.dart';
|
||||
import '../../../../tools/titleAppBar.dart';
|
||||
import '../../../../tools/toast.dart';
|
||||
import '../../../../translations/trans_lib.dart';
|
||||
|
||||
class DemoModeLockSetPage extends StatefulWidget {
|
||||
@ -347,7 +348,8 @@ class _DemoModeLockSetPageState extends State<DemoModeLockSetPage> {
|
||||
}
|
||||
|
||||
void gotoAddLock(){
|
||||
Get.toNamed(Routers.seletLockTypePage);
|
||||
// Get.toNamed(Routers.seletLockTypePage);
|
||||
Toast.show(msg: "演示模式");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user