From e098cd44f61440ae6eadc538c294c00c0d6744e7 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 19 Jan 2026 04:54:24 -0800 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=20replace=20'=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E5=8F=B7'=20with=20'=E8=B4=A6=E5=8F=B7'=20in=20send?= =?UTF-8?q?=20shares=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/asset/send_shares_page.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/mining-app/lib/presentation/pages/asset/send_shares_page.dart b/frontend/mining-app/lib/presentation/pages/asset/send_shares_page.dart index 4713113f..1b5c1b7c 100644 --- a/frontend/mining-app/lib/presentation/pages/asset/send_shares_page.dart +++ b/frontend/mining-app/lib/presentation/pages/asset/send_shares_page.dart @@ -70,7 +70,7 @@ class _SendSharesPageState extends ConsumerState { children: [ const SizedBox(height: 16), - // 收款方手机号 + // 收款方账号 _buildRecipientSection(transferState), const SizedBox(height: 16), @@ -110,7 +110,7 @@ class _SendSharesPageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '收款方手机号', + '收款方账号', style: TextStyle( fontSize: 16, fontWeight: FontWeight.bold, @@ -127,7 +127,7 @@ class _SendSharesPageState extends ConsumerState { maxLength: 11, inputFormatters: [FilteringTextInputFormatter.digitsOnly], decoration: InputDecoration( - hintText: '请输入收款方手机号', + hintText: '请输入收款方账号', hintStyle: const TextStyle(color: _grayText), filled: true, fillColor: _bgGray, @@ -436,7 +436,7 @@ class _SendSharesPageState extends ConsumerState { ), SizedBox(height: 8), Text( - '1. 转账前请确认收款方手机号正确\n2. 积分值转账不可撤销,请谨慎操作\n3. 转账后将从您的可用积分值中扣除', + '1. 转账前请确认收款方账号正确\n2. 积分值转账不可撤销,请谨慎操作\n3. 转账后将从您的可用积分值中扣除', style: TextStyle( fontSize: 12, color: _grayText, @@ -453,14 +453,14 @@ class _SendSharesPageState extends ConsumerState { if (phone.length != 11) { ScaffoldMessenger.of(context).showSnackBar( const SnackBar( - content: Text('请输入正确的11位手机号'), + content: Text('请输入正确的11位账号'), backgroundColor: _red, ), ); return; } - // 检查是否是自己的手机号 + // 检查是否是自己的账号 final user = ref.read(userNotifierProvider); if (phone == user.phone) { ScaffoldMessenger.of(context).showSnackBar(