fix(withdraw): 修改提款页面文字并暂时屏蔽BSC网络

- 屏蔽 BSC (BNB Chain) 网络选项
- "提款地址" → "接收地址"
- "请输入 KAVA 或 EVM 地址" → "请输入接收积分的地址"
- "提款金额" → "积分提取数量"
- "请输入提款金额" → "请输入积分数量"
- "最小提款金额" → "最小提取数量"
- 注意事项中的"提款"改为"提取"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-15 04:38:34 -08:00
parent a7417be0e1
commit a81aaa6acd
1 changed files with 14 additions and 15 deletions

View File

@ -131,7 +131,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
// //
if (address.isEmpty) { if (address.isEmpty) {
_showErrorSnackBar('请输入提款地址'); _showErrorSnackBar('请输入接收地址');
return; return;
} }
@ -143,7 +143,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
// //
if (amountText.isEmpty) { if (amountText.isEmpty) {
_showErrorSnackBar('请输入提款金额'); _showErrorSnackBar('请输入积分数量');
return; return;
} }
@ -154,7 +154,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
} }
if (amount < _minAmount) { if (amount < _minAmount) {
_showErrorSnackBar('最小提款金额$_minAmount 积分'); _showErrorSnackBar('最小提取数量$_minAmount 积分');
return; return;
} }
@ -458,8 +458,9 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
), ),
const SizedBox(height: 12), const SizedBox(height: 12),
_buildNetworkOption(WithdrawNetwork.kava), _buildNetworkOption(WithdrawNetwork.kava),
const SizedBox(height: 12), // TODO: BSC
_buildNetworkOption(WithdrawNetwork.bsc), // const SizedBox(height: 12),
// _buildNetworkOption(WithdrawNetwork.bsc),
], ],
); );
} }
@ -541,7 +542,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const Text( const Text(
'提款地址', '接收地址',
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 16,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -578,9 +579,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
decoration: InputDecoration( decoration: InputDecoration(
contentPadding: const EdgeInsets.all(16), contentPadding: const EdgeInsets.all(16),
border: InputBorder.none, border: InputBorder.none,
hintText: _selectedNetwork == WithdrawNetwork.kava hintText: '请输入接收积分的地址',
? '请输入 KAVA 或 EVM 地址'
: '请输入 BSC 地址 (0x...)',
hintStyle: const TextStyle( hintStyle: const TextStyle(
fontSize: 14, fontSize: 14,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -611,7 +610,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
const Text( const Text(
'提款金额', '积分提取数量',
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 16,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -668,7 +667,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
decoration: const InputDecoration( decoration: const InputDecoration(
contentPadding: EdgeInsets.all(16), contentPadding: EdgeInsets.all(16),
border: InputBorder.none, border: InputBorder.none,
hintText: '请输入提款金额', hintText: '请输入积分数量',
hintStyle: TextStyle( hintStyle: TextStyle(
fontSize: 16, fontSize: 16,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -687,7 +686,7 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
), ),
const SizedBox(height: 8), const SizedBox(height: 8),
Text( Text(
'最小提款金额: $_minAmount 积分', '最小提取数量: $_minAmount 积分',
style: const TextStyle( style: const TextStyle(
fontSize: 12, fontSize: 12,
fontFamily: 'Inter', fontFamily: 'Inter',
@ -835,10 +834,10 @@ class _WithdrawUsdtPageState extends ConsumerState<WithdrawUsdtPage> {
], ],
), ),
const SizedBox(height: 12), const SizedBox(height: 12),
_buildNoticeItem('请确保提款地址正确,错误地址将导致资产丢失'), _buildNoticeItem('请确保接收地址正确,错误地址将导致资产丢失'),
_buildNoticeItem('请选择正确的网络,不同网络之间不可互转'), _buildNoticeItem('请选择正确的网络,不同网络之间不可互转'),
_buildNoticeItem('需要进行谷歌验证器验证'), _buildNoticeItem('需要进行谷歌验证器验证'),
_buildNoticeItem('通常在 1-30 分钟内到账'), _buildNoticeItem('通常在 1-30 分钟内到账'),
], ],
), ),
); );