refactor(trading): rename 黑洞 to 积分股池
- Update market data label from 黑洞销毁量 to 积分股池 - Update 10% 进入黑洞 to 10% 进入积分股池 - Update sell confirmation dialog text - Update entity comments to reflect new naming Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
aee64d9be8
commit
690f4f9727
|
|
@ -6,7 +6,7 @@ class MarketOverview extends Equatable {
|
||||||
final String price;
|
final String price;
|
||||||
/// 积分值池
|
/// 积分值池
|
||||||
final String greenPoints;
|
final String greenPoints;
|
||||||
/// 黑洞销毁量
|
/// 积分股池
|
||||||
final String blackHoleAmount;
|
final String blackHoleAmount;
|
||||||
/// 流通池
|
/// 流通池
|
||||||
final String circulationPool;
|
final String circulationPool;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ class PriceInfo extends Equatable {
|
||||||
final String price;
|
final String price;
|
||||||
/// 积分值池
|
/// 积分值池
|
||||||
final String greenPoints;
|
final String greenPoints;
|
||||||
/// 黑洞销毁量
|
/// 积分股池
|
||||||
final String blackHoleAmount;
|
final String blackHoleAmount;
|
||||||
/// 流通池
|
/// 流通池
|
||||||
final String circulationPool;
|
final String circulationPool;
|
||||||
|
|
|
||||||
|
|
@ -304,9 +304,9 @@ class _TradingPageState extends ConsumerState<TradingPage> {
|
||||||
Container(width: 1, height: 24, color: _bgGray),
|
Container(width: 1, height: 24, color: _bgGray),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
_buildMarketDataItem(
|
_buildMarketDataItem(
|
||||||
'黑洞销毁量',
|
'积分股池',
|
||||||
market != null ? formatCompact(market.blackHoleAmount) : null,
|
market != null ? formatCompact(market.blackHoleAmount) : null,
|
||||||
_red,
|
_green,
|
||||||
isLoading,
|
isLoading,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -507,10 +507,10 @@ class _TradingPageState extends ConsumerState<TradingPage> {
|
||||||
style: TextStyle(fontSize: 12, color: _grayText),
|
style: TextStyle(fontSize: 12, color: _grayText),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'10% 进入黑洞',
|
'10% 进入积分股池',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
color: _red,
|
color: _green,
|
||||||
fontFamily: 'monospace',
|
fontFamily: 'monospace',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -928,8 +928,8 @@ class _TradingPageState extends ConsumerState<TradingPage> {
|
||||||
Text('交易总额: ${formatAmount(total.toString())} 积分值'),
|
Text('交易总额: ${formatAmount(total.toString())} 积分值'),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Text(
|
Text(
|
||||||
'销毁金额: ${formatAmount(burned.toString())} 积分值 (10%)',
|
'进入积分股池: ${formatAmount(burned.toString())} 积分值 (10%)',
|
||||||
style: const TextStyle(color: _red),
|
style: const TextStyle(color: _green),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
Text(
|
Text(
|
||||||
|
|
@ -941,7 +941,7 @@ class _TradingPageState extends ConsumerState<TradingPage> {
|
||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
const Text(
|
const Text(
|
||||||
'注意: 卖出积分股将扣除10%进入黑洞销毁,此操作不可撤销。',
|
'注意: 卖出积分股将扣除10%进入积分股池,此操作不可撤销。',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
color: _grayText,
|
color: _grayText,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue