fix(ui): 隐藏我的页面的 '进入交易' 按钮
- 注释掉 '进入交易 (卖出 DST → 积分)' 按钮 - 代码保留在程序中,便于后续恢复 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
bffea27f48
commit
7aa93d6c6f
|
|
@ -2142,32 +2142,32 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
// 进入交易按钮
|
||||
GestureDetector(
|
||||
onTap: _goToTrading,
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
height: 48,
|
||||
decoration: BoxDecoration(
|
||||
color: const Color(0xFF8B5A2B),
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
),
|
||||
child: const Center(
|
||||
child: Text(
|
||||
'进入交易 (卖出 DST → 积分)',
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontFamily: 'Inter',
|
||||
fontWeight: FontWeight.w700,
|
||||
height: 1.5,
|
||||
letterSpacing: 0.24,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
// 进入交易按钮(暂时隐藏)
|
||||
// const SizedBox(height: 12),
|
||||
// GestureDetector(
|
||||
// onTap: _goToTrading,
|
||||
// child: Container(
|
||||
// width: double.infinity,
|
||||
// height: 48,
|
||||
// decoration: BoxDecoration(
|
||||
// color: const Color(0xFF8B5A2B),
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// child: const Center(
|
||||
// child: Text(
|
||||
// '进入交易 (卖出 DST → 积分)',
|
||||
// style: TextStyle(
|
||||
// fontSize: 16,
|
||||
// fontFamily: 'Inter',
|
||||
// fontWeight: FontWeight.w700,
|
||||
// height: 1.5,
|
||||
// letterSpacing: 0.24,
|
||||
// color: Colors.white,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue