Commit a90cb17a authored by 朱翠翠's avatar 朱翠翠

code review

parent ae142f80
......@@ -31,7 +31,7 @@ class _PlansCompareFeedItemViewState
child: Column(
children: <Widget>[
getItem(),
Divider(height: 0.5, color: Color(0xFF979797))
Divider(height: 0.5, color: Color(0x99979797))
],
));
}
......@@ -56,26 +56,23 @@ class _PlansCompareFeedItemViewState
behavior: HitTestBehavior.opaque,
onTap: () => onClickCheckBox(_icon),
child: Container(
alignment: Alignment.center,
child: ClipRRect(
child: Image.asset(
_icon,
width: 17,
height: 17,
fit: BoxFit.fill,
)),
)),
alignment: Alignment.center,
child: Image.asset(
_icon,
width: 17,
height: 17,
fit: BoxFit.fill,
))),
Container(
margin: EdgeInsets.only(left: 15, right: 15),
child: ClipRRect(
borderRadius: BorderRadius.circular(4.0),
child: Image.network(
widget.plan.projectImage,
width: 50,
height: 50,
fit: BoxFit.fill,
),
),
width: 50,
height: 50,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4.0),
image: DecorationImage(
fit: BoxFit.fill,
image: NetworkImage(widget.plan.projectImage),
)),
),
Expanded(
child: Column(
......@@ -132,15 +129,13 @@ class _PlansCompareFeedItemViewState
behavior: HitTestBehavior.opaque,
onTap: () => onClickCheckBox(_icon),
child: Container(
alignment: Alignment.center,
child: ClipRRect(
child: Image.asset(
_icon,
width: 17,
height: 17,
fit: BoxFit.fill,
)),
)),
alignment: Alignment.center,
child: Image.asset(
_icon,
width: 17,
height: 17,
fit: BoxFit.fill,
))),
),
Expanded(
child: Column(
......
......@@ -56,9 +56,9 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
title: "方案对比",
centerTitle: true,
backClick: () {
if(RouterCenterImpl().findMainRouter().isWithNative()){
if (RouterCenterImpl().findMainRouter().isWithNative()) {
FlutterBoost.singleton.closeCurrent();
}else{
} else {
Navigator.of(context).pop();
}
}),
......@@ -107,7 +107,7 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Divider(height: 0.5, color: Color(0xFF979797)),
Divider(height: 0.5, color: Color(0x99979797)),
Container(
margin: EdgeInsets.only(
left: 15, right: 15, top: 7.5, bottom: 7.5),
......
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