问题: 1. 总资产估值(顶部)使用 WebSocket 实时推送的价格和销毁倍数计算, 而积分股列表项中的"≈ xxx 积分值"使用 API 返回的静态值计算, 导致两处显示的积分值不一致(因自动销毁每分钟改变价格参数)。 2. 修复数据源统一后,积分股下方的"≈ xxx 积分值"与顶部总资产估值 完全相同,显示冗余。 修改: - _buildAssetList 中的 multiplier 和 currentPrice 改为优先使用 WebSocket 实时值(_currentBurnMultiplier / _currentPrice), API 值仅作为 fallback,确保与 _calculateTotalAssetValue 一致 - 暂时隐藏积分股条目下方的"≈ xxx 积分值"显示(注释保留,便于恢复) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.