refactor(frontend): 发送/接收积分股改名为积分值

- send_shares_page.dart: 标题改为发送积分值,提示信息同步更新
- receive_shares_page.dart: 标题改为接收积分值

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-17 00:26:44 -08:00
parent 216394a44f
commit 76d6c30a20
3 changed files with 6 additions and 5 deletions

View File

@ -781,7 +781,8 @@
"Bash(bc:*)",
"Bash(DATABASE_URL=\"postgresql://postgres:password@localhost:5432/mining_db?schema=public\" npx prisma migrate diff:*)",
"Bash(git status:*)",
"Bash(xargs cat:*)"
"Bash(xargs cat:*)",
"Bash(ssh -o ProxyJump=ceshi@103.39.231.231 ceshi@192.168.1.111 \"docker ps | grep mining\")"
],
"deny": [],
"ask": []

View File

@ -30,7 +30,7 @@ class ReceiveSharesPage extends ConsumerWidget {
onPressed: () => context.pop(),
),
title: const Text(
'接收积分',
'接收积分',
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,

View File

@ -56,7 +56,7 @@ class _SendSharesPageState extends ConsumerState<SendSharesPage> {
onPressed: () => context.pop(),
),
title: const Text(
'发送积分',
'发送积分',
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
@ -436,7 +436,7 @@ class _SendSharesPageState extends ConsumerState<SendSharesPage> {
),
SizedBox(height: 8),
Text(
'1. 转账前请确认收款方手机号正确\n2. 积分股转账不可撤销,请谨慎操作\n3. 转账后将从您的可用积分股中扣除',
'1. 转账前请确认收款方手机号正确\n2. 积分值转账不可撤销,请谨慎操作\n3. 转账后将从您的可用积分值中扣除',
style: TextStyle(
fontSize: 12,
color: _grayText,
@ -499,7 +499,7 @@ class _SendSharesPageState extends ConsumerState<SendSharesPage> {
builder: (context) => AlertDialog(
title: const Text('确认转账'),
content: Text(
'确定要向 $_recipientNickname 发送 ${_amountController.text} 积分吗?\n\n此操作不可撤销。',
'确定要向 $_recipientNickname 发送 ${_amountController.text} 积分吗?\n\n此操作不可撤销。',
),
actions: [
TextButton(