From f41eb0a35f1d38e6019d82d6314439067a1660b4 Mon Sep 17 00:00:00 2001 From: zhengzhigang <zhengzhigang@igengmei.com> Date: Fri, 18 Oct 2019 11:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/NewMessageModel/page/AttentionListItem.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/NewMessageModel/page/AttentionListItem.dart b/lib/NewMessageModel/page/AttentionListItem.dart index 7723972..3d900dc 100644 --- a/lib/NewMessageModel/page/AttentionListItem.dart +++ b/lib/NewMessageModel/page/AttentionListItem.dart @@ -49,14 +49,15 @@ class AttentionListItem extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Container( + margin: EdgeInsets.only(left: ScreenUtil().setWidth(10.0)), child: myText('${item.title}', ALColors.Color464646, 13.0, weight: true), ), Padding( - padding: EdgeInsets.only(top: ScreenUtil().setHeight(4.0)), + padding: EdgeInsets.only(left: ScreenUtil().setWidth(10.0), top: ScreenUtil().setHeight(4.0)), child: myText('${item.content}', ALColors.Color666666, 13.0, maxLines: 2), ), Padding( - padding: EdgeInsets.only(top: ScreenUtil().setHeight(3.0)), + padding: EdgeInsets.only(left: ScreenUtil().setWidth(10.0), top: ScreenUtil().setHeight(3.0)), child: myText(MessageDate(item.pushTime).diffTime(), ALColors.Color999999, 10.0) ) ], -- 2.18.0