design+client: 抽 .view-body/PageBody 统一桌面内容页宽度(600/wide 840)——stats·contact 补约束,settings·contact 560→600,九页收口
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P9G7E3wmAYL9KeYCVZVsqu
This commit is contained in:
@@ -12,6 +12,7 @@ import '../state/navigation_provider.dart';
|
||||
import '../widgets/account_screens.dart';
|
||||
import '../widgets/app_top_bar.dart';
|
||||
import '../widgets/notification_bell.dart';
|
||||
import '../widgets/page_body.dart';
|
||||
import '../widgets/pangolin_icons.dart';
|
||||
import 'invite_page.dart';
|
||||
import 'notifications_page.dart';
|
||||
@@ -50,7 +51,7 @@ class AccountPage extends ConsumerWidget {
|
||||
}
|
||||
}
|
||||
|
||||
final body = ListView(
|
||||
final body = PageBody(child: ListView(
|
||||
padding: EdgeInsets.fromLTRB(pad, isWide ? 6 : 0, pad, 24),
|
||||
children: [
|
||||
_PlanBanner(
|
||||
@@ -127,7 +128,7 @@ class AccountPage extends ConsumerWidget {
|
||||
),
|
||||
]),
|
||||
],
|
||||
);
|
||||
));
|
||||
|
||||
if (isWide) return body;
|
||||
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
||||
|
||||
Reference in New Issue
Block a user