refactor: 重构多个页面布局与样式,修复溢出问题
调整了勘测任务页、项目页的顶部栏样式,优化了底部导航栏的底部间距 重构客户卡片布局,使用 IntrinsicHeight 避免高度溢出,添加 FittedBox 防止文本溢出 统一了部分代码的换行格式,提升代码可读性
This commit is contained in:
1 parent
f61b7bf90b
commit
e14d371cc8
4 files changed
+142
-138
No files matched your search
@@ -50,7 +50,7 @@ class _SurveyListPageState extends ConsumerState<SurveyListPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return XPageShell(
|
||||
topBar: XTopBar.brand(title: '勘测任务'),
|
||||
topBar: XTopBar.nav(title: '勘测任务', onBack: () => context.pop()),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
@@ -156,10 +156,13 @@ class _SurveyListPageState extends ConsumerState<SurveyListPage> {
|
||||
Expanded(
|
||||
child: Text(
|
||||
text,
|
||||
style: const TextStyle(fontSize: 14, color: AppColors.onSurfaceVariant),
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
color: AppColors.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user