diff --git a/lib/pages/sign/login/other_login_page.dart b/lib/pages/sign/login/other_login_page.dart index f86323a2..3118ca5a 100644 --- a/lib/pages/sign/login/other_login_page.dart +++ b/lib/pages/sign/login/other_login_page.dart @@ -26,7 +26,7 @@ class OtherLoginPage extends StatefulWidget { class _OtherLoginPageState extends State { PageController _controller = PageController(); - List _tabs = ['账号登录', '验证码登录']; + List _tabs = [ '验证码登录','账号登录']; int _currentIndex = 0; TextEditingController _tel = TextEditingController(); TextEditingController _psd = TextEditingController(); @@ -66,7 +66,7 @@ class _OtherLoginPageState extends State { Flexible( child: PageView( controller: _controller, - children: [_accountView(), _verificationView()], + children: [_verificationView(), _accountView()], ), ), BottomTip(), @@ -113,7 +113,8 @@ class _OtherLoginPageState extends State { await UserTool.dataProvider.addHistories(); await UserTool.userProvider.setLogin(response.data['data']); } else { - BotToast.showText(text: response.data['message']); + // BotToast.showText(text: response.data['message']); + BotToast.showText(text: '账号尚未注册,请使用验证码登陆'); } } catch (e) { print(e.toString());