From b1dc189f123f3aab6c6f8a388afc3bb49e680d6d Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Thu, 22 Oct 2020 10:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=8E=B7=E5=8F=96=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E6=8C=89=E9=92=AE,=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=A1=86=E6=96=87=E5=AD=97=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/sign/sign_in_page.dart | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/lib/pages/sign/sign_in_page.dart b/lib/pages/sign/sign_in_page.dart index 52ed171d..87db652d 100644 --- a/lib/pages/sign/sign_in_page.dart +++ b/lib/pages/sign/sign_in_page.dart @@ -57,6 +57,7 @@ class _SignInPageState extends State { SizedBox(width: Screenutil.length(24)), Expanded( child: TextFormField( + obscureText: isCode, cursorColor: Color(0xffffc40c), style: TextStyle( fontSize: BaseStyle.fontSize28, @@ -82,18 +83,18 @@ class _SignInPageState extends State { ), ), ), - isCode - ? Row( - mainAxisAlignment: MainAxisAlignment.start, - children: [ - SizedBox( - width: 2, - height: Screenutil.length(29), - child: DecoratedBox( - decoration: BoxDecoration(color: Color(0xffd8d8d8)), - ), - ), - SizedBox(width: Screenutil.length(16)), + // isCode + // ? Row( + // mainAxisAlignment: MainAxisAlignment.start, + // children: [ + // SizedBox( + // width: 2, + // height: Screenutil.length(29), + // child: DecoratedBox( + // decoration: BoxDecoration(color: Color(0xffd8d8d8)), + // ), + // ), + // SizedBox(width: Screenutil.length(16)), // InkWell( // child: Text( // _verifyStr, @@ -105,9 +106,9 @@ class _SignInPageState extends State { // ), // onTap: null, // ), - ], - ) - : SizedBox(), + // ], + // ) + // : SizedBox(), ], ), );