fix(pre-planting): 购买页面和弹窗中 USDT 改为绿积分
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9b6effe63d
commit
eea38b2b86
|
|
@ -369,7 +369,7 @@ class _PrePlantingPurchasePageState
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(
|
SnackBar(
|
||||||
content: Text(
|
content: Text(
|
||||||
'购买成功!已购买 ${response.portionCount} 份预种(${response.totalAmount.toInt()} USDT)',
|
'购买成功!已购买 ${response.portionCount} 份预种(${response.totalAmount.toInt()} 绿积分)',
|
||||||
),
|
),
|
||||||
backgroundColor: const Color(0xFF4CAF50),
|
backgroundColor: const Color(0xFF4CAF50),
|
||||||
),
|
),
|
||||||
|
|
@ -438,11 +438,11 @@ class _PrePlantingPurchasePageState
|
||||||
children: [
|
children: [
|
||||||
_buildDialogRow('购买份数', '$_quantity 份'),
|
_buildDialogRow('购买份数', '$_quantity 份'),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
_buildDialogRow('单价', '${_pricePerPortion.toInt()} USDT/份'),
|
_buildDialogRow('单价', '${_pricePerPortion.toInt()} 绿积分/份'),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
_buildDialogRow(
|
_buildDialogRow(
|
||||||
'总金额',
|
'总金额',
|
||||||
'${_formatNumber(totalAmount)} USDT',
|
'${_formatNumber(totalAmount)} 绿积分',
|
||||||
highlight: true,
|
highlight: true,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
|
|
@ -1342,7 +1342,7 @@ class _PrePlantingPurchasePageState
|
||||||
const SizedBox(height: 7),
|
const SizedBox(height: 7),
|
||||||
// 合并提示
|
// 合并提示
|
||||||
Text(
|
Text(
|
||||||
'每 $_portionsPerTree 份自动合成 1 棵树(${_formatNumber(_pricePerPortion * _portionsPerTree)} USDT)',
|
'每 $_portionsPerTree 份自动合成 1 棵树(${_formatNumber(_pricePerPortion * _portionsPerTree)} 绿积分)',
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontFamily: 'Inter',
|
fontFamily: 'Inter',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue