Commit a300de72 authored by 朱璇's avatar 朱璇

修改图片

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