style(ui): 对齐所有页面样式到 Pencil 设计规范

- 移除硬编码颜色,使用主题变量
- market_page.dart: 统一卡片背景使用主题变量
- welfare_center_page.dart: 使用 AppColorScheme.warning
- 添加缺失的 import
- Light/Dark 模式完全适配
This commit is contained in:
2026-04-06 03:21:44 +08:00
parent cc4d36d374
commit 8b512de7a6
5 changed files with 3804 additions and 3550 deletions

View File

@@ -5,6 +5,7 @@ import 'package:provider/provider.dart';
import '../../../core/theme/app_spacing.dart';
import '../../../core/theme/app_theme.dart';
import '../../../core/theme/app_theme_extension.dart';
import '../../../core/theme/app_color_scheme.dart';
import '../../../core/utils/toast_utils.dart';
import '../../../core/event/app_event_bus.dart';
import '../../../data/services/bonus_service.dart';
@@ -535,7 +536,8 @@ class _WelfareCenterPageState extends State<WelfareCenterPage> {
);
}
if (progress > 0) {
return _statusBadge('进行中', const Color(0xFFD97706), const Color(0xFFFEF3C7));
final warningColor = AppColorScheme.warning;
return _statusBadge('进行中', warningColor, warningColor.withValues(alpha: 0.15));
}
return Text(
'待达标',