|
...
|
...
|
@@ -134,7 +134,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//判断是否登录
|
|
|
|
//判断是否登录
|
|
|
|
void isLogin() async {
|
|
|
|
UserModel userModel = Provider.of<UserModel>(context, listen: false);
|
|
|
|
userModel.initUser();
|
|
...
|
...
|
@@ -411,19 +411,20 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
children: <Widget>[
|
|
|
|
// VEmptyView(218 - App.statusBarHeight),
|
|
|
|
VEmptyView(80 + App.statusBarHeight),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(40)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
"assets/logo.png",
|
|
|
|
width: ScreenUtil().setWidth(40 * 2),
|
|
|
|
height: ScreenUtil().setWidth(40 * 2),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.symmetric(
|
|
|
|
// horizontal: ScreenUtil().setWidth(40)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
// children: [
|
|
|
|
// Image.asset(
|
|
|
|
// "assets/logo.png",
|
|
|
|
// width: ScreenUtil().setWidth(40 * 2),
|
|
|
|
// height: ScreenUtil().setWidth(40 * 2),
|
|
|
|
// )
|
|
|
|
// ],
|
|
|
|
// )),
|
|
|
|
VEmptyView(80),
|
|
|
|
VEmptyView(120),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath('login_bg'),
|
|
...
|
...
|
@@ -792,7 +793,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
)),
|
|
|
|
onTap: () {
|
|
|
|
if (!_check) {
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 500,
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 530,
|
|
|
|
onTap: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
_wxLogin();
|
|
...
|
...
|
@@ -829,7 +830,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
)),
|
|
|
|
onTap: () {
|
|
|
|
if (!_check) {
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 500,
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 530,
|
|
|
|
onTap: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
NavigatorUtil.goAccountLoginPage(context);
|
|
...
|
...
|
@@ -875,7 +876,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
)),
|
|
|
|
onTap: () {
|
|
|
|
if (!_check) {
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 500,
|
|
|
|
DialogUtil.openAlertDialogLogin(context, 530,
|
|
|
|
onTap: () {
|
|
|
|
Navigator.pop(context);
|
|
|
|
_iosLogin(value);
|
...
|
...
|
|