修复系统通知详情显示不正确的问题

hmxc
张萌 4 years ago
parent 1d518ff5aa
commit 1cc4c4d465

@ -26,7 +26,7 @@ class _SystemMessageDetailPageState extends State<SystemMessageDetailPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BeeScaffold.white( return BeeScaffold(
title: '查看详情', title: '查看详情',
body: EasyRefresh( body: EasyRefresh(
firstRefresh: true, firstRefresh: true,
@ -37,10 +37,13 @@ class _SystemMessageDetailPageState extends State<SystemMessageDetailPage> {
setState(() {}); setState(() {});
}, },
child: _onload child: _onload
? _empty() ? _empty():Container(
: Center( margin: EdgeInsets.all(32.w),
child: Padding(
padding: EdgeInsets.all(32.w), padding: EdgeInsets.all(32.w),
decoration: BoxDecoration(
color: Colors.white,
),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
@ -54,7 +57,6 @@ class _SystemMessageDetailPageState extends State<SystemMessageDetailPage> {
), ),
), ),
), ),
),
); );
} }
} }

Loading…
Cancel
Save