From 38a96109bc4c57b2ad2a67f2d92715c603272fb0 Mon Sep 17 00:00:00 2001 From: jingyun <> Date: Tue, 23 Jun 2026 15:05:03 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/presentation/assets_page.dart | 6 +++--- .../market/presentation/market_page.dart | 2 +- lib/features/news/presentation/news_page.dart | 2 +- .../profile/presentation/profile_page.dart | 17 +++++++++++++---- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a/lib/features/assets/presentation/assets_page.dart b/lib/features/assets/presentation/assets_page.dart index ae86a4f..f3c0a81 100644 --- a/lib/features/assets/presentation/assets_page.dart +++ b/lib/features/assets/presentation/assets_page.dart @@ -7,11 +7,11 @@ import '../../../common/domain/metal_type.dart'; import '../../../common/domain/money.dart'; import '../../../common/router/app_router.dart'; import '../../../common/widgets/prototype_ui.dart'; -import '../application/asset_portfolio_controller.dart'; +import '../../market/application/market_controller.dart'; import '../../profile/application/price_color_theme.dart'; import '../../profile/application/profile_settings_controller.dart'; +import '../application/asset_portfolio_controller.dart'; import '../data/asset_models.dart'; -import '../../market/application/market_controller.dart'; class AssetsPage extends ConsumerWidget { const AssetsPage({super.key}); @@ -27,7 +27,7 @@ class AssetsPage extends ConsumerWidget { return SafeArea( top: false, child: ListView( - padding: const EdgeInsets.fromLTRB(0, 8, 0, 86), + padding: const EdgeInsets.fromLTRB(0, 8, 0, 20), children: [ PrototypeFrame( child: Column( diff --git a/lib/features/market/presentation/market_page.dart b/lib/features/market/presentation/market_page.dart index 36294c9..3fa1ef9 100644 --- a/lib/features/market/presentation/market_page.dart +++ b/lib/features/market/presentation/market_page.dart @@ -57,7 +57,7 @@ class MarketPage extends HookConsumerWidget { return SafeArea( top: false, child: ListView( - padding: const EdgeInsets.fromLTRB(0, 8, 0, 86), + padding: const EdgeInsets.fromLTRB(0, 8, 0, 20), children: [ PrototypeFrame( child: Column( diff --git a/lib/features/news/presentation/news_page.dart b/lib/features/news/presentation/news_page.dart index a91020d..d0f678d 100644 --- a/lib/features/news/presentation/news_page.dart +++ b/lib/features/news/presentation/news_page.dart @@ -50,7 +50,7 @@ class NewsPage extends HookConsumerWidget { }, child: ListView( physics: const AlwaysScrollableScrollPhysics(), - padding: const EdgeInsets.fromLTRB(0, 8, 0, 86), + padding: const EdgeInsets.fromLTRB(0, 8, 0, 20), children: [ PrototypeFrame( child: Column( diff --git a/lib/features/profile/presentation/profile_page.dart b/lib/features/profile/presentation/profile_page.dart index 484d788..cd6a78e 100644 --- a/lib/features/profile/presentation/profile_page.dart +++ b/lib/features/profile/presentation/profile_page.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter_remix/flutter_remix.dart'; import 'package:go_router/go_router.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:shadcn_ui/shadcn_ui.dart'; @@ -202,9 +203,8 @@ class ProfilePage extends ConsumerWidget { ), const PrototypeDivider(margin: EdgeInsets.zero), SettingRow( - icon: Icons.privacy_tip_outlined, - title: '隐私政策 · 用户协议', - trailing: null, + icon: FlutterRemix.file_list_3_line, + title: '用户协议', onTap: () => launchUrlString( AppH5UrlsHelper.withCacheBuster( AppH5Urls.userProtocolUrl, @@ -213,9 +213,18 @@ class ProfilePage extends ConsumerWidget { ), ), const PrototypeDivider(margin: EdgeInsets.zero), + SettingRow( + icon: FlutterRemix.shield_check_line, + title: '隐私政策', + onTap: () => launchUrlString( + AppH5UrlsHelper.withCacheBuster(AppH5Urls.privacyUrl), + mode: LaunchMode.inAppBrowserView, + ), + ), + const PrototypeDivider(margin: EdgeInsets.zero), SettingRow( icon: Icons.info_outline, - title: '免责声明 · 数据来源', + title: '免责声明', trailing: null, onTap: () => _showDisclaimer(context), ),