chore: 汇总批量提交的功能优化与bug修复
本次提交包含多项迭代优化和问题修复: 1. 新增缩略图图片组件、数字格式化工具类,补充多语言翻译类型与本地化支持 2. 优化底部导航栏主题色统一使用动态accent色值 3. 修复多处图表动画、路由跳转、API请求相关问题 4. 简化服务器公告文案,调整默认分屏状态为关闭 5. 新增安卓/iOS桌面快捷方式配置 6. 重构多处状态管理类使用SafeNotifierInit统一异常保护 7. 替换硬编码蓝色为主题色,更新版本号获取方式为动态读取 8. 优化缓存预加载逻辑,移除无用代码 9. 调整默认设置项,优化用户体验细节
This commit is contained in:
@@ -207,7 +207,7 @@ class _CorrectionPageState extends ConsumerState<CorrectionPage> {
|
||||
showCupertinoDialog<void>(
|
||||
context: context,
|
||||
builder: (dlgCtx) => CupertinoAlertDialog(
|
||||
content: const Text('若无内容ID,请填写0'),
|
||||
content: const Text('若无内容ID,请填写1'),
|
||||
actions: [
|
||||
CupertinoDialogAction(
|
||||
isDefaultAction: true,
|
||||
@@ -631,19 +631,14 @@ class _CorrectionPageState extends ConsumerState<CorrectionPage> {
|
||||
vertical: 2,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color:
|
||||
(isLocal
|
||||
? CupertinoColors.systemBlue
|
||||
: CupertinoColors.systemGreen)
|
||||
.withValues(alpha: 0.12),
|
||||
color: (isLocal ? ext.accent : CupertinoColors.systemGreen)
|
||||
.withValues(alpha: 0.12),
|
||||
borderRadius: AppRadius.smBorder,
|
||||
),
|
||||
child: Text(
|
||||
isLocal ? '📱 本地' : '☁️ 服务端',
|
||||
style: AppTypography.caption1.copyWith(
|
||||
color: isLocal
|
||||
? CupertinoColors.systemBlue
|
||||
: CupertinoColors.systemGreen,
|
||||
color: isLocal ? ext.accent : CupertinoColors.systemGreen,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user