去掉照片登录
This commit is contained in:
@@ -75,7 +75,7 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
|||||||
loginTabs_index = (null == value) ? 0 : int.parse(value);
|
loginTabs_index = (null == value) ? 0 : int.parse(value);
|
||||||
print('loginTabs_index = ${loginTabs_index}');
|
print('loginTabs_index = ${loginTabs_index}');
|
||||||
//用TabController实现顶部tab切换,并设置默认 Tab。initialIndex: loginTabs_index
|
//用TabController实现顶部tab切换,并设置默认 Tab。initialIndex: loginTabs_index
|
||||||
_tabController = TabController(vsync: this, length: 2, initialIndex: loginTabs_index);
|
_tabController = TabController(vsync: this, length: 1, initialIndex: loginTabs_index);
|
||||||
|
|
||||||
//监听 _tabController 切换事件
|
//监听 _tabController 切换事件
|
||||||
_tabController.addListener(() {
|
_tabController.addListener(() {
|
||||||
@@ -146,9 +146,9 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
|||||||
my_Tabs.MyTab(
|
my_Tabs.MyTab(
|
||||||
text: " 密码登录 ",
|
text: " 密码登录 ",
|
||||||
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
||||||
my_Tabs.MyTab(
|
// my_Tabs.MyTab(
|
||||||
text: " 刷脸登录 ",
|
// text: " 刷脸登录 ",
|
||||||
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold))
|
// style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold))
|
||||||
],
|
],
|
||||||
// tabs: <Widget>[
|
// tabs: <Widget>[
|
||||||
// Text(" 密码登录 ", style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
// Text(" 密码登录 ", style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
||||||
@@ -165,7 +165,7 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
|||||||
physics: new NeverScrollableScrollPhysics(),
|
physics: new NeverScrollableScrollPhysics(),
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
LoginByName3(height: _height),
|
LoginByName3(height: _height),
|
||||||
FaceLogin2(),
|
// FaceLogin2(),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
// bMayLogin
|
// bMayLogin
|
||||||
|
|||||||
@@ -160,10 +160,10 @@ class _LoginPageState extends State<page5_userManager> {
|
|||||||
leadPath: 'assets/images/修改密码.png',
|
leadPath: 'assets/images/修改密码.png',
|
||||||
leadColor: _deepBlueColor,
|
leadColor: _deepBlueColor,
|
||||||
onTapFun: OnTap_modify_password),
|
onTapFun: OnTap_modify_password),
|
||||||
_getListTile('人脸注册',
|
// _getListTile('人脸注册',
|
||||||
leadPath: 'assets/images/人脸注册.png',
|
// leadPath: 'assets/images/人脸注册.png',
|
||||||
leadColor: _ligthBlueColor,
|
// leadColor: _ligthBlueColor,
|
||||||
onTapFun: OnTap_FaceReg),
|
// onTapFun: OnTap_FaceReg),
|
||||||
SizedBox(height: 60),
|
SizedBox(height: 60),
|
||||||
JdButton(
|
JdButton(
|
||||||
height: ScreenUtil().setHeight(382),
|
height: ScreenUtil().setHeight(382),
|
||||||
|
|||||||
Reference in New Issue
Block a user