diff --git a/frontend/mobile-app/lib/features/deposit/presentation/pages/deposit_usdt_page.dart b/frontend/mobile-app/lib/features/deposit/presentation/pages/deposit_usdt_page.dart index b7c06a53..c5532a57 100644 --- a/frontend/mobile-app/lib/features/deposit/presentation/pages/deposit_usdt_page.dart +++ b/frontend/mobile-app/lib/features/deposit/presentation/pages/deposit_usdt_page.dart @@ -238,7 +238,7 @@ class _DepositUsdtPageState extends ConsumerState { // 标题 const Expanded( child: Text( - '充值 积分', + '充值 绿积分', style: TextStyle( fontSize: 18, fontFamily: 'Inter', @@ -263,7 +263,7 @@ class _DepositUsdtPageState extends ConsumerState { width: double.infinity, padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), child: Text( - '可用余额: $_balance 积分', + '可用余额: $_balance 绿积分', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -577,7 +577,7 @@ class _DepositUsdtPageState extends ConsumerState { return Container( padding: const EdgeInsets.fromLTRB(20, 16, 20, 48), child: Text( - '仅支持 积分,错充将无法追回', + '仅支持 绿积分,错充将无法追回', style: TextStyle( fontSize: 12, fontFamily: 'Inter', diff --git a/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart b/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart index 2c669e07..c08e3b0f 100644 --- a/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart +++ b/frontend/mobile-app/lib/features/planting/presentation/pages/planting_quantity_page.dart @@ -358,7 +358,7 @@ class _PlantingQuantityPageState extends ConsumerState { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ const Text( - '可用余额 (积分)', + '可用余额 (绿积分)', style: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -651,7 +651,7 @@ class _PlantingQuantityPageState extends ConsumerState { children: [ // 每棵价格 Text( - '每棵价格:${_pricePerTree.toInt()} 积分', + '每棵价格:${_pricePerTree.toInt()} 绿积分', style: const TextStyle( fontSize: 16, fontFamily: 'Inter', diff --git a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart index ab0f07dc..414ad6b8 100644 --- a/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart +++ b/frontend/mobile-app/lib/features/profile/presentation/pages/profile_page.dart @@ -877,7 +877,7 @@ class _ProfilePageState extends ConsumerState { builder: (dialogContext) => AlertDialog( title: const Text('确认领取'), content: Text( - '确定领取全部收益吗?\n积分: ${_formatNumber(_pendingUsdt)}\n算力: ${_formatNumber(_pendingPower)}', + '确定领取全部收益吗?\n绿积分: ${_formatNumber(_pendingUsdt)}\n算力: ${_formatNumber(_pendingPower)}', ), actions: [ TextButton( @@ -1595,7 +1595,7 @@ class _ProfilePageState extends ConsumerState { initialTarget: _authCityCompanyInitialTarget, monthlyTarget: _authCityCompanyMonthlyTarget, monthIndex: _authCityCompanyMonthIndex, - rewardDescription: '每新增认种 1 棵可获得 40 积分', + rewardDescription: '每新增认种 1 棵可获得 40 绿积分', ), ], // 省团队权益考核 @@ -1609,7 +1609,7 @@ class _ProfilePageState extends ConsumerState { initialTarget: _authProvinceCompanyInitialTarget, monthlyTarget: _authProvinceCompanyMonthlyTarget, monthIndex: _authProvinceCompanyMonthIndex, - rewardDescription: '每新增认种 1 棵可获得 20 积分', + rewardDescription: '每新增认种 1 棵可获得 20 绿积分', ), ], // 市区域权益考核 @@ -1623,7 +1623,7 @@ class _ProfilePageState extends ConsumerState { initialTarget: _cityCompanyInitialTarget, monthlyTarget: _cityCompanyMonthlyTarget, monthIndex: _cityCompanyMonthIndex, - rewardDescription: '每新增认种 1 棵可获得 35 积分', + rewardDescription: '每新增认种 1 棵可获得 35 绿积分', ), ], // 省区域权益考核 @@ -1637,7 +1637,7 @@ class _ProfilePageState extends ConsumerState { initialTarget: _provinceCompanyInitialTarget, monthlyTarget: _provinceCompanyMonthlyTarget, monthIndex: _provinceCompanyMonthIndex, - rewardDescription: '每新增认种 1 棵可获得 15 积分', + rewardDescription: '每新增认种 1 棵可获得 15 绿积分', ), ], const SizedBox(height: 16), @@ -1761,7 +1761,7 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '待领取 (积分)', + '待领取 (绿积分)', style: TextStyle( fontSize: 12, fontFamily: 'Inter', @@ -1847,13 +1847,13 @@ class _ProfilePageState extends ConsumerState { // 构建金额显示文本 final List amountParts = []; if (item.usdtAmount > 0) { - amountParts.add('${_formatNumber(item.usdtAmount)} 积分'); + amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); } // 如果都为0,显示默认文本 - final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 积分'; + final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; return Container( margin: const EdgeInsets.only(bottom: 8), @@ -1953,7 +1953,7 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '可结算 (积分)', + '可结算 (绿积分)', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -1998,7 +1998,7 @@ class _ProfilePageState extends ConsumerState { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ const Text( - '已结算 (积分)', + '已结算 (绿积分)', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -2054,12 +2054,12 @@ class _ProfilePageState extends ConsumerState { // 构建金额显示文本 final List amountParts = []; if (item.usdtAmount > 0) { - amountParts.add('${_formatNumber(item.usdtAmount)} 积分'); + amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); } - final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 积分'; + final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; return Container( margin: const EdgeInsets.only(bottom: 8), @@ -2158,7 +2158,7 @@ class _ProfilePageState extends ConsumerState { crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( - '已过期 (积分)', + '已过期 (绿积分)', style: TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -2238,12 +2238,12 @@ class _ProfilePageState extends ConsumerState { // 构建金额显示文本 final List amountParts = []; if (item.usdtAmount > 0) { - amountParts.add('${_formatNumber(item.usdtAmount)} 积分'); + amountParts.add('${_formatNumber(item.usdtAmount)} 绿积分'); } if (item.hashpowerAmount > 0) { amountParts.add('${_formatNumber(item.hashpowerAmount)} 算力'); } - final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 积分'; + final amountText = amountParts.isNotEmpty ? amountParts.join(' ') : '0 绿积分'; return Container( margin: const EdgeInsets.only(bottom: 8), @@ -2325,7 +2325,7 @@ class _ProfilePageState extends ConsumerState { ), child: const Center( child: Text( - '充值积分', + '充值绿积分', style: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -2351,7 +2351,7 @@ class _ProfilePageState extends ConsumerState { // ), // child: const Center( // child: Text( - // '进入交易 (卖出 DST → 积分)', + // '进入交易 (卖出 DST → 绿积分)', // style: TextStyle( // fontSize: 16, // fontFamily: 'Inter', @@ -2888,7 +2888,7 @@ class _ProfilePageState extends ConsumerState { Expanded( child: Text( _communityBenefitActive - ? '每新增认种 1 棵可获得 80 积分' + ? '每新增认种 1 棵可获得 80 绿积分' : '需团队认种达到 $_communityInitialTarget 棵激活', style: TextStyle( fontSize: 14, diff --git a/frontend/mobile-app/lib/features/trading/presentation/pages/trading_page.dart b/frontend/mobile-app/lib/features/trading/presentation/pages/trading_page.dart index 556f134c..92d4465a 100644 --- a/frontend/mobile-app/lib/features/trading/presentation/pages/trading_page.dart +++ b/frontend/mobile-app/lib/features/trading/presentation/pages/trading_page.dart @@ -93,7 +93,7 @@ class _TradingPageState extends ConsumerState { builder: (context) => AlertDialog( title: const Text('确认结算'), content: Text( - '确定将 ${_formatNumber(_settleableAmount)} 积分 结算为 ${_getCurrencyName(_selectedCurrency)} 吗?', + '确定将 ${_formatNumber(_settleableAmount)} 绿积分 结算为 ${_getCurrencyName(_selectedCurrency)} 吗?', ), actions: [ TextButton( @@ -169,7 +169,7 @@ class _TradingPageState extends ConsumerState { builder: (context) => AlertDialog( title: const Text('卖出 DST'), content: Text( - '确定将 ${_formatNumber(_dstBalance)} DST 转换为 积分 吗?', + '确定将 ${_formatNumber(_dstBalance)} DST 转换为 绿积分 吗?', ), actions: [ TextButton( @@ -330,7 +330,7 @@ class _TradingPageState extends ConsumerState { ), ) : Text( - '${_formatNumber(_settleableAmount)} 积分', + '${_formatNumber(_settleableAmount)} 绿积分', style: const TextStyle( fontSize: 32, fontFamily: 'Inter', @@ -482,7 +482,7 @@ class _TradingPageState extends ConsumerState { ), child: const Center( child: Text( - '卖出 DST 转换为 积分(暂未开放)', + '卖出 DST 转换为 绿积分(暂未开放)', style: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -592,7 +592,7 @@ class _TradingPageState extends ConsumerState { ), ) : Text( - '积分 余额: ${_formatNumber(_usdtBalance)}', + '绿积分 余额: ${_formatNumber(_usdtBalance)}', style: const TextStyle( fontSize: 14, fontFamily: 'Inter', diff --git a/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_confirm_page.dart b/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_confirm_page.dart index 0d8f7c34..9131b361 100644 --- a/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_confirm_page.dart +++ b/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_confirm_page.dart @@ -355,13 +355,13 @@ class _WithdrawConfirmPageState extends ConsumerState { const SizedBox(height: 12), _buildDetailRow('接收地址', _formatAddress(widget.params.address)), const SizedBox(height: 12), - _buildDetailRow('提取数量', '${widget.params.amount.toStringAsFixed(2)} 积分'), + _buildDetailRow('提取数量', '${widget.params.amount.toStringAsFixed(2)} 绿积分'), const SizedBox(height: 12), - _buildDetailRow('手续费', '${fee.toStringAsFixed(2)} 积分'), + _buildDetailRow('手续费', '${fee.toStringAsFixed(2)} 绿积分'), const Divider(color: Color(0x33D4AF37), height: 24), _buildDetailRow( '实际到账', - '${actual.toStringAsFixed(2)} 积分', + '${actual.toStringAsFixed(2)} 绿积分', isHighlight: true, ), ], diff --git a/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_usdt_page.dart b/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_usdt_page.dart index 60d9b522..ad8063d1 100644 --- a/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_usdt_page.dart +++ b/frontend/mobile-app/lib/features/withdraw/presentation/pages/withdraw_usdt_page.dart @@ -143,7 +143,7 @@ class _WithdrawUsdtPageState extends ConsumerState { // 验证金额 if (amountText.isEmpty) { - _showErrorSnackBar('请输入积分数量'); + _showErrorSnackBar('请输入绿积分数量'); return; } @@ -154,7 +154,7 @@ class _WithdrawUsdtPageState extends ConsumerState { } if (amount < _minAmount) { - _showErrorSnackBar('最小提取数量为 $_minAmount 积分'); + _showErrorSnackBar('最小提取数量为 $_minAmount 绿积分'); return; } @@ -365,7 +365,7 @@ class _WithdrawUsdtPageState extends ConsumerState { // 标题 const Expanded( child: Text( - '提取积分', + '提取绿积分', style: TextStyle( fontSize: 18, fontFamily: 'Inter', @@ -426,7 +426,7 @@ class _WithdrawUsdtPageState extends ConsumerState { const Padding( padding: EdgeInsets.only(bottom: 4), child: Text( - '积分', + '绿积分', style: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -579,7 +579,7 @@ class _WithdrawUsdtPageState extends ConsumerState { decoration: InputDecoration( contentPadding: const EdgeInsets.all(16), border: InputBorder.none, - hintText: '请输入接收积分的地址', + hintText: '请输入接收绿积分的地址', hintStyle: const TextStyle( fontSize: 14, fontFamily: 'Inter', @@ -610,7 +610,7 @@ class _WithdrawUsdtPageState extends ConsumerState { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ const Text( - '积分提取数量', + '绿积分提取数量', style: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -667,14 +667,14 @@ class _WithdrawUsdtPageState extends ConsumerState { decoration: const InputDecoration( contentPadding: EdgeInsets.all(16), border: InputBorder.none, - hintText: '请输入积分数量', + hintText: '请输入绿积分数量', hintStyle: TextStyle( fontSize: 16, fontFamily: 'Inter', height: 1.4, color: Color(0x995D4037), ), - suffixText: '积分', + suffixText: '绿积分', suffixStyle: TextStyle( fontSize: 16, fontFamily: 'Inter', @@ -686,7 +686,7 @@ class _WithdrawUsdtPageState extends ConsumerState { ), const SizedBox(height: 8), Text( - '最小提取数量: $_minAmount 积分', + '最小提取数量: $_minAmount 绿积分', style: const TextStyle( fontSize: 12, fontFamily: 'Inter', @@ -717,11 +717,11 @@ class _WithdrawUsdtPageState extends ConsumerState { children: [ _buildFeeRow('手续费率', '${(_feeRate * 100).toStringAsFixed(1)}%'), const SizedBox(height: 8), - _buildFeeRow('手续费', '${fee.toStringAsFixed(2)} 积分'), + _buildFeeRow('手续费', '${fee.toStringAsFixed(2)} 绿积分'), const Divider(color: Color(0x33D4AF37), height: 24), _buildFeeRow( '预计到账', - '${actual > 0 ? actual.toStringAsFixed(2) : '0.00'} 积分', + '${actual > 0 ? actual.toStringAsFixed(2) : '0.00'} 绿积分', isHighlight: true, ), ],