fix(mining-app): C2C 发布页"积分值金额"改为"绿积分数量"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-30 14:09:17 -08:00
parent a0750fbd42
commit b50091eb1e
1 changed files with 4 additions and 4 deletions

View File

@ -269,7 +269,7 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
); );
} }
// #14: 1:1 // #14: 绿1:1
Widget _buildQuantityInput( Widget _buildQuantityInput(
String availableShares, String availableShares,
String availableCash, String availableCash,
@ -298,7 +298,7 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
Text( Text(
'价格1:1积分值数量 = 积分值金额', '价格1:1积分值数量 = 绿积分数量',
style: const TextStyle(fontSize: 12, color: _grayText), style: const TextStyle(fontSize: 12, color: _grayText),
), ),
const SizedBox(height: 12), const SizedBox(height: 12),
@ -353,7 +353,7 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
const SizedBox(height: 12), const SizedBox(height: 12),
// 2: // 2: 绿
TextField( TextField(
controller: _amountController, controller: _amountController,
keyboardType: const TextInputType.numberWithOptions(decimal: true), keyboardType: const TextInputType.numberWithOptions(decimal: true),
@ -361,7 +361,7 @@ class _C2cPublishPageState extends ConsumerState<C2cPublishPage> {
FilteringTextInputFormatter.allow(RegExp(r'^\d+\.?\d{0,4}')), FilteringTextInputFormatter.allow(RegExp(r'^\d+\.?\d{0,4}')),
], ],
decoration: InputDecoration( decoration: InputDecoration(
hintText: '请输入积分值金额', hintText: '请输入绿积分数量',
hintStyle: const TextStyle(color: _grayText), hintStyle: const TextStyle(color: _grayText),
filled: true, filled: true,
fillColor: _bgGray, fillColor: _bgGray,