|
@@ -322,6 +322,7 @@ class CollectPageState extends BasePageState<CollectPage,MixListPresenter> {
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
children: <Widget>[
|
|
|
Container(
|
|
|
+ padding: EdgeInsets.only(top:ScreenUtil().setWidth(8),bottom:ScreenUtil().setWidth(8)),
|
|
|
height: width*0.24,
|
|
|
child: Column(
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
@@ -335,11 +336,25 @@ class CollectPageState extends BasePageState<CollectPage,MixListPresenter> {
|
|
|
fontWeight: FontWeight.w600,
|
|
|
fontSize: ScreenUtil().setSp(17)),
|
|
|
textAlign: TextAlign.start,
|
|
|
- maxLines: 2,
|
|
|
+ maxLines: 1,
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
),
|
|
|
),
|
|
|
- Row(
|
|
|
+ Container(
|
|
|
+ width:width*0.5,
|
|
|
+ child: Text(
|
|
|
+ "${provider.list[index].descr??""}",
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: ScreenUtil().setSp(15)),
|
|
|
+ textAlign: TextAlign.start,
|
|
|
+ maxLines: 1,
|
|
|
+ overflow: TextOverflow.ellipsis,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ width: width*0.5,
|
|
|
+ child: Row(
|
|
|
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
children: <Widget>[
|
|
|
Container(
|
|
|
width:width*0.18,
|
|
@@ -356,15 +371,56 @@ class CollectPageState extends BasePageState<CollectPage,MixListPresenter> {
|
|
|
SizedBox(
|
|
|
width:5
|
|
|
),
|
|
|
- Text(
|
|
|
- "${provider.list[index].likeNum??"0"}人点赞",
|
|
|
- style: TextStyle(
|
|
|
+ Row(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ children: <Widget>[
|
|
|
+ Text(
|
|
|
+ "${provider.list[index].likeNum??"0"}",
|
|
|
+ style: TextStyle(
|
|
|
+ color: Color(0xff999999),
|
|
|
+ fontSize: ScreenUtil().setSp(14)),
|
|
|
+ textAlign: TextAlign.start,
|
|
|
+ ),
|
|
|
+ SizedBox(
|
|
|
+ width:3
|
|
|
+ ),
|
|
|
+ Icon(
|
|
|
+ IconData(0xe7cd,
|
|
|
+ fontFamily: "myfont"),
|
|
|
+ size: 14.0,
|
|
|
color: Color(0xff999999),
|
|
|
- fontSize: ScreenUtil().setSp(14)),
|
|
|
- textAlign: TextAlign.start,
|
|
|
+ ),
|
|
|
+ ],
|
|
|
),
|
|
|
|
|
|
+ SizedBox(
|
|
|
+ width:5
|
|
|
+ ),
|
|
|
+ Row(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ children: <Widget>[
|
|
|
+ Text(
|
|
|
+ "${provider.list[index].browseNum??"0"}",
|
|
|
+ style: TextStyle(
|
|
|
+ color: Color(0xff999999),
|
|
|
+ fontSize: ScreenUtil().setSp(14)),
|
|
|
+ textAlign: TextAlign.start,
|
|
|
+ ),
|
|
|
+ SizedBox(
|
|
|
+ width:3
|
|
|
+ ),
|
|
|
+ Icon(
|
|
|
+ IconData(0xe610,
|
|
|
+ fontFamily: "myfont"),
|
|
|
+ size: 14.0,
|
|
|
+ color: Color(0xff999999),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
],
|
|
|
+ ),
|
|
|
)
|
|
|
]),
|
|
|
),
|