Commit 6903f8ff authored by 朱翠翠's avatar 朱翠翠

UI走查

parent 4b3b9396
......@@ -34,7 +34,7 @@ class _PlansCompareFeedItemViewState
child: Column(
children: <Widget>[
getItem(),
Divider(height: 0.5, color: Color(0x99979797))
Divider(height: 0.5, color: Color(0xFFE5E5E5))
],
));
}
......@@ -50,7 +50,7 @@ class _PlansCompareFeedItemViewState
getFirstLevelItem() {
return Container(
width: double.maxFinite,
height: 90,
height: 80,
alignment: Alignment.centerLeft,
padding: EdgeInsets.only(top: 15, bottom: 15),
child: Row(
......@@ -64,7 +64,7 @@ class _PlansCompareFeedItemViewState
),
),
Container(
margin: EdgeInsets.only(left: 15, right: 15),
margin: EdgeInsets.only(left: 15, right: 12),
child: ClipRRect(
borderRadius: BorderRadius.circular(4.0),
child: CachedNetworkImage(
......@@ -101,7 +101,7 @@ class _PlansCompareFeedItemViewState
TextSpan(
text: "%",
style: TextStyle(
fontSize: 11,
fontSize: 10,
color: Color(0xFFFF5963),
fontWeight: FontWeight.w500))
])),
......@@ -113,8 +113,8 @@ class _PlansCompareFeedItemViewState
children: <Widget>[
baseText('¥${widget.plan.minPrice}-${widget.plan.maxPrice}',
13, Color(0xFFFF5963)),
baseText(
"销量${NumPlanUtil.getSale(widget.plan.salesCount)}", 11, Color(0xFF282828))
baseText("销量${NumPlanUtil.getSale(widget.plan.salesCount)}",
11, Color(0xFF666666))
],
)
],
......
......@@ -107,7 +107,7 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Divider(height: 0.5, color: Color(0x99979797)),
Divider(height: 0.5, color: Color(0xFFE5E5E5)),
Container(
margin: EdgeInsets.only(
left: 15, right: 15, top: 7.5, bottom: 7.5),
......
......@@ -30,7 +30,7 @@ class ProjectDetailsItemView extends StatelessWidget {
padding: EdgeInsets.only(left: 15.0),
margin: EdgeInsets.only(bottom: 16.0),
alignment: Alignment.centerLeft,
height: 55,
height: 40,
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("assets/bg_project_detail_item.png"),
......@@ -47,29 +47,25 @@ class ProjectDetailsItemView extends StatelessWidget {
}
getAttrItem(Attrs attrs) {
return Container(
width: double.maxFinite,
margin: EdgeInsets.only(bottom: 25, left: 15, right: 15),
child: Row(
children: <Widget>[
Container(
margin: EdgeInsets.only(right: 25.0),
alignment: Alignment.centerLeft,
width: 78,
child: baseText(attrs.attrName, 13, Color(0xFF999999),
textAlign: TextAlign.left,
return Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
margin: EdgeInsets.only(right: 25.0, left: 15, bottom: 25),
width: 78,
child: baseText(attrs.attrName, 13, Color(0xFF999999),
textAlign: TextAlign.start,
maxLines: 2,
overflow: TextOverflow.ellipsis)),
Expanded(
child: Container(
margin: EdgeInsets.only(right: 15, bottom: 25),
child: baseText(attrs.attrValue, 14, Color(0xFF282828),
textAlign: TextAlign.start,
maxLines: 2,
overflow: TextOverflow.ellipsis)),
Expanded(
child: Container(
alignment: Alignment.centerLeft,
child: baseText(attrs.attrValue, 14, Color(0xFF282828),
textAlign: TextAlign.left,
maxLines: 2,
overflow: TextOverflow.ellipsis)),
),
],
),
),
],
);
}
}
......@@ -5,8 +5,8 @@
class PlanOverViewBean {
int error;
String message;
Null extra;
Null errorExtra;
Map extra;
Map errorExtra;
UserType userType;
PlanOverData data;
......
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