1. 后端: - 添加 getFirstSnapshot() 获取上线首日价格 - PriceInfo 接口增加 priceChangePercent 和 initialPrice 字段 - 计算涨跌幅 = (当前价格 - 首日价格) / 首日价格 × 100% - 修复 originalQuantity 为0时的数据计算逻辑 2. 前端: - 交易页面涨跌幅移到价格下方单独显示 - 添加"较上线首日"说明文字 - 根据涨跌正负显示不同颜色和图标 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| 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.