去掉照片登录
This commit is contained in:
@@ -75,7 +75,7 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
||||
loginTabs_index = (null == value) ? 0 : int.parse(value);
|
||||
print('loginTabs_index = ${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.addListener(() {
|
||||
@@ -146,9 +146,9 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
||||
my_Tabs.MyTab(
|
||||
text: " 密码登录 ",
|
||||
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
||||
my_Tabs.MyTab(
|
||||
text: " 刷脸登录 ",
|
||||
style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold))
|
||||
// my_Tabs.MyTab(
|
||||
// text: " 刷脸登录 ",
|
||||
// style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold))
|
||||
],
|
||||
// tabs: <Widget>[
|
||||
// Text(" 密码登录 ", style: TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold)),
|
||||
@@ -165,7 +165,7 @@ class _MyHomePageState extends State<LoginTabsWidget> with SingleTickerProviderS
|
||||
physics: new NeverScrollableScrollPhysics(),
|
||||
children: <Widget>[
|
||||
LoginByName3(height: _height),
|
||||
FaceLogin2(),
|
||||
// FaceLogin2(),
|
||||
],
|
||||
),
|
||||
// bMayLogin
|
||||
|
||||
@@ -160,10 +160,10 @@ class _LoginPageState extends State<page5_userManager> {
|
||||
leadPath: 'assets/images/修改密码.png',
|
||||
leadColor: _deepBlueColor,
|
||||
onTapFun: OnTap_modify_password),
|
||||
_getListTile('人脸注册',
|
||||
leadPath: 'assets/images/人脸注册.png',
|
||||
leadColor: _ligthBlueColor,
|
||||
onTapFun: OnTap_FaceReg),
|
||||
// _getListTile('人脸注册',
|
||||
// leadPath: 'assets/images/人脸注册.png',
|
||||
// leadColor: _ligthBlueColor,
|
||||
// onTapFun: OnTap_FaceReg),
|
||||
SizedBox(height: 60),
|
||||
JdButton(
|
||||
height: ScreenUtil().setHeight(382),
|
||||
|
||||
Reference in New Issue
Block a user