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

@@ -71,7 +71,7 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
const SizedBox(height: 20),
Text(
l10n.confirmVerify,
style: const TextStyle(
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: AppColors.textPrimary,
@@ -80,12 +80,12 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
const SizedBox(height: 8),
Text(
'${l10n.orderNo}: ${order.orderNo}',
style: const TextStyle(fontSize: 14, color: AppColors.textSecondary),
style: TextStyle(fontSize: 14, color: AppColors.textSecondary),
),
const SizedBox(height: 4),
Text(
'${l10n.customerName}: ${order.customerName}',
style: const TextStyle(fontSize: 14, color: AppColors.textSecondary),
style: TextStyle(fontSize: 14, color: AppColors.textSecondary),
),
const SizedBox(height: 4),
Text(
@@ -107,7 +107,7 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12),
),
side: const BorderSide(color: AppColors.divider),
side: BorderSide(color: AppColors.divider),
),
child: Text(l10n.cancel),
),
@@ -187,7 +187,7 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
children: [
const CircularProgressIndicator(),
const SizedBox(height: 16),
Text(l10n.scanning, style: const TextStyle(color: AppColors.textSecondary)),
Text(l10n.scanning, style: TextStyle(color: AppColors.textSecondary)),
],
),
),
@@ -295,7 +295,7 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
children: [
Text(
l10n.orderInfo,
style: const TextStyle(
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: AppColors.textPrimary,
@@ -328,7 +328,7 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
children: [
Text(
l10n.customerInfo,
style: const TextStyle(
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: AppColors.textPrimary,
@@ -354,12 +354,12 @@ class _ScanResultPageState extends ConsumerState<ScanResultPage> {
children: [
Text(
label,
style: const TextStyle(fontSize: 12, color: AppColors.textTertiary),
style: TextStyle(fontSize: 12, color: AppColors.textTertiary),
),
const SizedBox(height: 2),
Text(
value,
style: const TextStyle(
style: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w500,
color: AppColors.textPrimary,