feat: 静态页面开发完成
This commit is contained in:
@@ -29,7 +29,7 @@ class PolicyPage extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
isAgreement ? l10n.agreementTitle : l10n.privacyTitle,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -38,7 +38,7 @@ class PolicyPage extends StatelessWidget {
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
l10n.lastUpdated,
|
||||
style: const TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
style: TextStyle(fontSize: 12, color: AppColors.textTertiary),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
if (isAgreement) ..._buildAgreementContent(context, l10n) else ..._buildPrivacyContent(context, l10n),
|
||||
@@ -92,7 +92,7 @@ class PolicyPage extends StatelessWidget {
|
||||
padding: const EdgeInsets.only(top: 20, bottom: 8),
|
||||
child: Text(
|
||||
title,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: AppColors.textPrimary,
|
||||
@@ -104,7 +104,7 @@ class PolicyPage extends StatelessWidget {
|
||||
Widget _paragraph(String text) {
|
||||
return Text(
|
||||
text,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: AppColors.textSecondary,
|
||||
height: 1.7,
|
||||
|
||||
Reference in New Issue
Block a user