This commit is contained in:
zhutao
2025-09-09 14:07:38 +08:00
parent 71aa4a6790
commit 900dc025d7
24 changed files with 383 additions and 91 deletions

View File

@@ -93,7 +93,7 @@ class _MyPageState extends State<MyPage> {
return CupertinoPageScaffold(
backgroundColor: Colors.white,
navigationBar: CupertinoNavigationBar(
middle: Text("个人资料"),
middle: Text("Profile"),
leading: IconButton(
onPressed: () {
widget.scaffoldKey.currentState?.closeDrawer();
@@ -118,7 +118,7 @@ class _MyPageState extends State<MyPage> {
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 12),
onPressed: _handLogout,
child: Text(
"退出登录",
"Log Out",
style: TextStyle(color: Colors.white, fontSize: 14),
),
),
@@ -126,7 +126,7 @@ class _MyPageState extends State<MyPage> {
CupertinoButton(
onPressed: _handDelete,
child: const Text(
"删除账号",
"Delete Account",
style: TextStyle(color: CupertinoColors.systemRed, fontSize: 14),
),
),