feat: 静态页面开发完成

This commit is contained in:
2026-05-21 14:09:46 +08:00
parent 8156e8efbf
commit 763aef6bb9
73 changed files with 6345 additions and 1370 deletions

View File

@@ -73,7 +73,7 @@ class ReportPage extends StatelessWidget {
children: [
Text(
item.$1,
style: const TextStyle(fontSize: 13, color: AppColors.textSecondary),
style: TextStyle(fontSize: 13, color: AppColors.textSecondary),
),
const SizedBox(height: 8),
Text(
@@ -108,7 +108,7 @@ class ReportPage extends StatelessWidget {
children: [
Text(
title,
style: const TextStyle(
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: AppColors.textPrimary,
@@ -128,7 +128,7 @@ class ReportPage extends StatelessWidget {
children: [
SizedBox(
width: 40,
child: Text(label, style: const TextStyle(fontSize: 12, color: AppColors.textSecondary)),
child: Text(label, style: TextStyle(fontSize: 12, color: AppColors.textSecondary)),
),
Expanded(
child: Container(
@@ -150,7 +150,7 @@ class ReportPage extends StatelessWidget {
),
),
const SizedBox(width: 10),
Text('${(value * 100).toInt()}%', style: const TextStyle(fontSize: 12, color: AppColors.textSecondary)),
Text('${(value * 100).toInt()}%', style: TextStyle(fontSize: 12, color: AppColors.textSecondary)),
],
),
);
@@ -168,9 +168,9 @@ class ReportPage extends StatelessWidget {
),
const SizedBox(width: 10),
Expanded(
child: Text(label, style: const TextStyle(fontSize: 14, color: AppColors.textPrimary)),
child: Text(label, style: TextStyle(fontSize: 14, color: AppColors.textPrimary)),
),
Text('${(value * 100).toInt()}%', style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: AppColors.textPrimary)),
Text('${(value * 100).toInt()}%', style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: AppColors.textPrimary)),
],
),
);
@@ -195,7 +195,7 @@ class ReportPage extends StatelessWidget {
children: [
Text(
l10n.topSales,
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: AppColors.textPrimary),
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600, color: AppColors.textPrimary),
),
const SizedBox(height: 16),
...products.asMap().entries.map((entry) {
@@ -227,7 +227,7 @@ class ReportPage extends StatelessWidget {
Expanded(
child: Text(
product.$1,
style: const TextStyle(fontSize: 14, color: AppColors.textPrimary),
style: TextStyle(fontSize: 14, color: AppColors.textPrimary),
),
),
Text(
@@ -237,7 +237,7 @@ class ReportPage extends StatelessWidget {
const SizedBox(width: 12),
Text(
product.$3,
style: const TextStyle(fontSize: 12, color: AppColors.textTertiary),
style: TextStyle(fontSize: 12, color: AppColors.textTertiary),
),
],
),