Commit a300de72 authored by 朱璇's avatar 朱璇

修改图片

parent d8bc4810
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: zx * @Author: zx
* @Date: 2020-06-30 17:40:43 * @Date: 2020-06-30 17:40:43
* @Last Modified by: zx * @Last Modified by: zx
* @Last Modified time: 2020-07-01 22:11:20 * @Last Modified time: 2020-07-02 10:12:40
*/ */
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
...@@ -56,11 +56,12 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> { ...@@ -56,11 +56,12 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
Navigator.pop(context); Navigator.pop(context);
}), }),
body: Container( body: Container(
child: child: head(),
// planPopularityView() // planPopularityView()
// planNormalEffectiveAttrsView() // planNormalEffectiveAttrsView()
// setupHome([], []), // setupHome([], []),
reloadPage(), // reloadPage(),
) )
); );
...@@ -86,7 +87,7 @@ Widget reloadPage () { ...@@ -86,7 +87,7 @@ Widget reloadPage () {
Expanded( Expanded(
child: Stack( child: Stack(
children: <Widget>[ children: <Widget>[
head(plansInfo), head(),
Expanded ( Expanded (
child: Container( child: Container(
margin: EdgeInsets.fromLTRB(15, 105, 15, 0), margin: EdgeInsets.fromLTRB(15, 105, 15, 0),
...@@ -132,7 +133,7 @@ Widget reloadPage () { ...@@ -132,7 +133,7 @@ Widget reloadPage () {
); );
} }
Widget head(List<PlansInfo> plansInfo) { Widget head() {
PlansInfo plan; PlansInfo plan;
return Container( return Container(
// key: keyTop, // key: keyTop,
...@@ -163,20 +164,12 @@ Widget reloadPage () { ...@@ -163,20 +164,12 @@ Widget reloadPage () {
children: <Widget>[ children: <Widget>[
Positioned( Positioned(
child: Container( child: Container(
alignment: Alignment.center,
color: Colors.cyan,
margin: EdgeInsets.fromLTRB(5.5, 15, 5.5, 15), margin: EdgeInsets.fromLTRB(5.5, 15, 5.5, 15),
width: (screenWidth - 41) / 2.0, // width: (screenWidth - 41) / 2.0,
// child: Text('1111111'), child: Image.asset('plan_compare_detail_info_bg'),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(7.0),
image:
DecorationImage(
fit: BoxFit.cover,
image: NetworkImage(
"https://pic.igengmei.com/2018/09/11/1513/b7e825a4e4c1-w")
)
)
), ),
), ),
Positioned( Positioned(
left: 17.5, left: 17.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