chore: 汇总批量提交的功能优化与bug修复

本次提交包含多项迭代优化和问题修复:
1. 新增缩略图图片组件、数字格式化工具类,补充多语言翻译类型与本地化支持
2. 优化底部导航栏主题色统一使用动态accent色值
3. 修复多处图表动画、路由跳转、API请求相关问题
4. 简化服务器公告文案,调整默认分屏状态为关闭
5. 新增安卓/iOS桌面快捷方式配置
6. 重构多处状态管理类使用SafeNotifierInit统一异常保护
7. 替换硬编码蓝色为主题色,更新版本号获取方式为动态读取
8. 优化缓存预加载逻辑,移除无用代码
9. 调整默认设置项,优化用户体验细节
This commit is contained in:
Developer
2026-05-31 12:24:05 +08:00
parent 0da8906f5d
commit 9ea8d3d606
298 changed files with 48547 additions and 21836 deletions

View File

@@ -3,7 +3,7 @@
// 创建时间: 2026-04-20
// 更新时间: 2026-05-30
// 作用: ShellRoute 布局壳,宽屏分屏 + 窄屏底部导航
// 上次更新: 集成WallpaperBackground壁纸背景渲染(窄屏Stack+宽屏Stack)
// 上次更新: 底部导航栏选中色统一使用ext.accent动态主题色
// ============================================================
import 'package:badges/badges.dart' as badges;
@@ -316,9 +316,9 @@ class _AppShellState extends ConsumerState<AppShell> {
selectedIndex: currentIndex,
onTabSelected: (index) => _onTabTap(context, index),
quality: GlassQuality.premium,
selectedIconColor: ext.isDark ? ext.textInverse : ext.accent,
selectedIconColor: ext.accent,
unselectedIconColor: ext.isDark
? ext.textInverse.withValues(alpha: 0.38)
? ext.accent.withValues(alpha: 0.38)
: const Color(0xFFAEAEB2),
barHeight: 68,
barBorderRadius: 34,

View File

@@ -200,9 +200,9 @@ class _OhosAppShellState extends ConsumerState<OhosAppShell> {
selectedIndex: _currentIndex,
onTabSelected: (index) => setState(() => _currentIndex = index),
quality: GlassQuality.premium,
selectedIconColor: ext.isDark ? Colors.white : ext.accent,
selectedIconColor: ext.accent,
unselectedIconColor: ext.isDark
? Colors.white38
? ext.accent.withValues(alpha: 0.38)
: const Color(0xFFAEAEB2),
barHeight: 68,
barBorderRadius: 34,