feat: 静态页面开发完成
This commit is contained in:
@@ -21,15 +21,15 @@ class AboutPage extends StatelessWidget {
|
||||
width: 100,
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
gradient: AppGradients.primary,
|
||||
borderRadius: BorderRadius.circular(24),
|
||||
),
|
||||
child: const Icon(Icons.auto_awesome, color: Colors.white, size: 48),
|
||||
clipBehavior: Clip.antiAlias,
|
||||
child: Image.asset('assets/logo.png', fit: BoxFit.cover),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
Text(
|
||||
l10n.appTitle,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 24,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -38,7 +38,7 @@ class AboutPage extends StatelessWidget {
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
'${l10n.version} 1.0.0',
|
||||
style: const TextStyle(fontSize: 14, color: AppColors.textSecondary),
|
||||
style: TextStyle(fontSize: 14, color: AppColors.textSecondary),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
Container(
|
||||
@@ -68,7 +68,7 @@ class AboutPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
l10n.productIntro,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -77,7 +77,7 @@ class AboutPage extends StatelessWidget {
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
l10n.productDesc,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: AppColors.textSecondary,
|
||||
height: 1.7,
|
||||
@@ -115,14 +115,14 @@ class AboutPage extends StatelessWidget {
|
||||
ListTile(
|
||||
leading: const Icon(Icons.description_outlined, color: AppColors.primary),
|
||||
title: Text(l10n.userAgreement),
|
||||
trailing: const Icon(Icons.chevron_right, color: AppColors.textTertiary),
|
||||
trailing: Icon(Icons.chevron_right, color: AppColors.textTertiary),
|
||||
onTap: () => context.push('/settings/policy?type=agreement'),
|
||||
),
|
||||
const Divider(height: 1, indent: 72),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.privacy_tip_outlined, color: AppColors.primary),
|
||||
title: Text(l10n.privacyPolicy),
|
||||
trailing: const Icon(Icons.chevron_right, color: AppColors.textTertiary),
|
||||
trailing: Icon(Icons.chevron_right, color: AppColors.textTertiary),
|
||||
onTap: () => context.push('/settings/policy?type=privacy'),
|
||||
),
|
||||
],
|
||||
@@ -131,12 +131,12 @@ class AboutPage extends StatelessWidget {
|
||||
const SizedBox(height: 32),
|
||||
Text(
|
||||
l10n.copyright,
|
||||
style: const TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
style: TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
l10n.allRightsReserved,
|
||||
style: const TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
style: TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -151,12 +151,12 @@ class AboutPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
label,
|
||||
style: const TextStyle(fontSize: 14, color: AppColors.textSecondary),
|
||||
style: TextStyle(fontSize: 14, color: AppColors.textSecondary),
|
||||
),
|
||||
const Spacer(),
|
||||
Text(
|
||||
value,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColors.textPrimary,
|
||||
|
||||
Reference in New Issue
Block a user