Commit f41eb0a3 authored by 郑智刚's avatar 郑智刚

样式修改

parent 82a5a38a
...@@ -49,14 +49,15 @@ class AttentionListItem extends StatelessWidget { ...@@ -49,14 +49,15 @@ class AttentionListItem extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Container( Container(
margin: EdgeInsets.only(left: ScreenUtil().setWidth(10.0)),
child: myText('${item.title}', ALColors.Color464646, 13.0, weight: true), child: myText('${item.title}', ALColors.Color464646, 13.0, weight: true),
), ),
Padding( 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), child: myText('${item.content}', ALColors.Color666666, 13.0, maxLines: 2),
), ),
Padding( 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) child: myText(MessageDate(item.pushTime).diffTime(), ALColors.Color999999, 10.0)
) )
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment