|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
import 'package:aku_new_community/ui/home/application/all_application_new.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:bot_toast/bot_toast.dart';
|
|
|
|
@ -142,13 +143,14 @@ class _TabNavigatorState extends State<TabNavigator>
|
|
|
|
|
Expanded(
|
|
|
|
|
child: GestureDetector(
|
|
|
|
|
onTap: () {
|
|
|
|
|
if (UserTool.userProvider.isLogin == false) {
|
|
|
|
|
//暂时隐去一键登录页
|
|
|
|
|
Get.offAll(() => OtherLoginPage());
|
|
|
|
|
} else {}
|
|
|
|
|
_tabController!.animateTo(2, curve: Curves.easeInOutCubic);
|
|
|
|
|
_currentIndex = 2;
|
|
|
|
|
setState(() {});
|
|
|
|
|
Get.to(() => AllApplicationNewPage());
|
|
|
|
|
// if (UserTool.userProvider.isLogin == false) {
|
|
|
|
|
// //暂时隐去一键登录页
|
|
|
|
|
// Get.offAll(() => OtherLoginPage());
|
|
|
|
|
// } else {}
|
|
|
|
|
// _tabController!.animateTo(2, curve: Curves.easeInOutCubic);
|
|
|
|
|
// _currentIndex = 2;
|
|
|
|
|
// setState(() {});
|
|
|
|
|
},
|
|
|
|
|
child: Material(
|
|
|
|
|
color: Colors.transparent,
|
|
|
|
@ -181,8 +183,7 @@ class _TabNavigatorState extends State<TabNavigator>
|
|
|
|
|
4,
|
|
|
|
|
),
|
|
|
|
|
];
|
|
|
|
|
return
|
|
|
|
|
BeeScaffold(
|
|
|
|
|
return BeeScaffold(
|
|
|
|
|
body: WillPopScope(
|
|
|
|
|
onWillPop: () async {
|
|
|
|
|
if (_lastPressed == null ||
|
|
|
|
|