fix(mining-app): C2C 发布页"积分值金额"改为"绿积分数量"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a0750fbd42
commit
b50091eb1e
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue