From 13c22b09c1a354580824efab6b49b3f94b6bc0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E8=B4=A4?= Date: Fri, 9 Jan 2026 10:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/mine/auth_center_page.dart | 3 --- lib/pages/mine/phone_page.dart | 38 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/lib/pages/mine/auth_center_page.dart b/lib/pages/mine/auth_center_page.dart index 151731c..d07935c 100644 --- a/lib/pages/mine/auth_center_page.dart +++ b/lib/pages/mine/auth_center_page.dart @@ -104,9 +104,6 @@ class AuthCenterPage extends StatelessWidget { ), ).onTap(() async{ if(item.index == 1) { - if(item.authed){ - return; - } await Get.to(() => PhonePage()); } else if(item.index == 2){ await Get.to(() => EditInfoPage()); diff --git a/lib/pages/mine/phone_page.dart b/lib/pages/mine/phone_page.dart index 117c3fa..cce7aec 100644 --- a/lib/pages/mine/phone_page.dart +++ b/lib/pages/mine/phone_page.dart @@ -29,25 +29,25 @@ class PhonePage extends StatelessWidget { const SizedBox(height: 12), Text(_encryptPhone(controller.phone.value), style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold)), SizedBox(height: 64), - TDButton( - text: '更换手机号码', - width: MediaQuery.of(context).size.width - 50, - size: TDButtonSize.large, - type: TDButtonType.fill, - shape: TDButtonShape.round, - style: TDButtonStyle( - textColor: Colors.white, - backgroundColor: Color(0xFF7562F9), - ), - activeStyle: TDButtonStyle( - textColor: Colors.white, - backgroundColor: Color(0xC37562F9), - ), - onTap: (){ - controller.tabIndex.value = 1; - }, - ), - SizedBox(height: 200), + // TDButton( + // text: '更换手机号码', + // width: MediaQuery.of(context).size.width - 50, + // size: TDButtonSize.large, + // type: TDButtonType.fill, + // shape: TDButtonShape.round, + // style: TDButtonStyle( + // textColor: Colors.white, + // backgroundColor: Color(0xFF7562F9), + // ), + // activeStyle: TDButtonStyle( + // textColor: Colors.white, + // backgroundColor: Color(0xC37562F9), + // ), + // onTap: (){ + // controller.tabIndex.value = 1; + // }, + // ), + // SizedBox(height: 200), ], ), ),