Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
da5440e8
Commit
da5440e8
authored
Jul 03, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商议低价弹窗
parent
cfebc28f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
92 additions
and
83 deletions
+92
-83
DiscussLowPricePopView.dart
lib/ClueModel/view/DiscussLowPricePopView.dart
+92
-83
No files found.
lib/ClueModel/view/DiscussLowPricePopView.dart
View file @
da5440e8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zx
* @Author: zx
* @Date: 2020-07-03 13:53:16
* @Date: 2020-07-03 13:53:16
* @Last Modified by: zx
* @Last Modified by: zx
* @Last Modified time: 2020-07-03
18:24:55
* @Last Modified time: 2020-07-03
20:49:16
*/
*/
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_common/commonModel/picker/base/BaseCenterPicker.dart'
;
import
'package:flutter_common/commonModel/picker/base/BaseCenterPicker.dart'
;
...
@@ -23,49 +23,62 @@ class _PopView implements ICenterPicker {
...
@@ -23,49 +23,62 @@ class _PopView implements ICenterPicker {
Widget
build
(
BuildContext
context
,
int
alp
)
{
Widget
build
(
BuildContext
context
,
int
alp
)
{
return
Container
(
return
Container
(
width:
304
,
width:
304
,
height:
292
,
alignment:
Alignment
.
center
,
alignment:
Alignment
.
center
,
child:
ClipRRect
(
child:
Container
(
borderRadius:
BorderRadius
.
circular
(
10
),
child:
setupBodyView
()));
child:
Container
(
margin:
EdgeInsets
.
fromLTRB
(
0
,
0
,
0
,
0
),
child:
Stack
(
children:
<
Widget
>[
Column
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
Container
(
height:
42.5
,
width:
304
,
),
Container
(
margin:
EdgeInsets
.
only
(
bottom:
0
),
child:
Stack
(
children:
<
Widget
>[
Container
(
child:
setupBodyView
(),
),
Container
(
margin:
EdgeInsets
.
only
(
top:
20
,
left:
274
),
width:
14
,
height:
14
,
child:
GestureDetector
(
onTap:
()
{},
child:
Image
.
asset
(
'assets/discuss_loe_price_cancel.png'
,
fit:
BoxFit
.
cover
),
))
]))
]),
Container
(
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
top:
0
,
left:
109.5
),
width:
85
,
height:
85
,
color:
Colors
.
red
,
child:
Image
.
asset
(
'assets/discuss_loe_price_cancel.png'
,
fit:
BoxFit
.
cover
),
)
]),
)));
}
}
setupBodyView
()
{
setupBodyView
()
{
return
Container
(
return
Container
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
7
),
color:
Colors
.
white
,
color:
Colors
.
white
,
child:
Stack
(
alignment:
AlignmentDirectional
.
center
,
children:
<
Widget
>[
),
Positioned
(
child:
Container
(
top:
-
42.5
,
alignment:
Alignment
.
center
,
width:
85
,
margin:
EdgeInsets
.
only
(
bottom:
0
,
top:
42.5
),
height:
85
,
child:
detailView
(),
child:
Container
(
),
color:
Colors
.
blue
,
);
alignment:
Alignment
.
topCenter
,
child:
Image
.
asset
(
'assets/plan_compare_detail_info_bg.png'
,
fit:
BoxFit
.
cover
),
)),
Positioned
(
width:
14
,
height:
14
,
top:
20
,
right:
20
,
// bottom: 25,
child:
Container
(
child:
GestureDetector
(
onTap:
()
{},
child:
Image
.
asset
(
'assets/discuss_loe_price_cancel.png'
,
fit:
BoxFit
.
cover
),
)),
),
Positioned
(
width:
235
,
top:
42.5
,
// bottom: 25,
child:
Container
(
alignment:
Alignment
.
center
,
child:
detailView
(),
),
)
]));
}
}
detailView
()
{
detailView
()
{
...
@@ -74,60 +87,56 @@ class _PopView implements ICenterPicker {
...
@@ -74,60 +87,56 @@ class _PopView implements ICenterPicker {
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Container
(
child:
Container
(
width:
146
,
height:
19
,
height:
19
,
margin:
EdgeInsets
.
only
(
bottom:
14
),
margin:
EdgeInsets
.
only
(
bottom:
14
),
alignment:
AlignmentDirectional
.
center
,
alignment:
AlignmentDirectional
.
center
,
child:
Row
(
children:
<
Widget
>[
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
Positioned
(
Container
(
left:
0
,
width:
16
,
child:
Image
.
asset
(
'assets/discuss_loe_price_like.png'
),
height:
16
,
),
child:
Image
.
asset
(
'assets/discuss_loe_price_like.png'
)),
Positioned
(
Container
(
left:
20
,
margin:
EdgeInsets
.
only
(
left:
4
),
child:
baseText
(
'对当前商品感兴趣?'
,
14
,
Color
(
0xff848484
)))
child:
baseText
(
'对当前商品感兴趣?'
,
14
,
Color
(
0xff848484
)),
)
]),
]),
)),
),
Positioned
(
Container
(
child:
Container
(
width:
235
,
width:
235
,
margin:
EdgeInsets
.
only
(
bottom:
25
),
margin:
EdgeInsets
.
only
(
bottom:
25
),
child:
baseText
(
'机构可免费为您提供咨询服务'
,
18
,
Color
(
0xff464646
),
child:
baseText
(
'机构可免费为您提供咨询服务'
,
18
,
Color
(
0xff464646
),
bold:
true
)),
bold:
true
))),
Container
(
Positioned
(
decoration:
BoxDecoration
(
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
7
),
borderRadius:
BorderRadius
.
circular
(
7
),
color:
Color
(
0xffECECEC
),
),
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
bottom:
12
),
width:
235
,
height:
37
,
child:
baseText
(
'13800138000'
,
16
,
Color
(
0xff484848
))),
Container
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
7
),
),
child:
GestureDetector
(
onTap:
()
{
// FlutterBoost.singleton.closeByContext(context);
},
child:
Container
(
child:
Container
(
alignment:
Alignment
.
center
,
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
bottom:
1
2
),
margin:
EdgeInsets
.
only
(
bottom:
1
4
),
width:
235
,
width:
235
,
height:
37
,
height:
37
,
color:
Color
(
0xffECECEC
),
child:
child:
baseText
(
'13800138000'
,
16
,
Color
(
0xff484848
))))),
Image
.
asset
(
'assets/discuss_loe_price_auth.png'
)))),
Positioned
(
Container
(
child:
ClipRRect
(
width:
235
,
borderRadius:
BorderRadius
.
circular
(
7
),
margin:
EdgeInsets
.
only
(
bottom:
25
),
child:
GestureDetector
(
child:
onTap:
()
{
baseText
(
'授权后,您的手机将以“虚拟号”方式提供给机构'
,
11
,
Color
(
0xff999999
))),
// FlutterBoost.singleton.closeByContext(context);
},
child:
Container
(
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
bottom:
14
),
width:
235
,
height:
37
,
// color: Colors.red,
child:
Image
.
asset
(
'assets/discuss_loe_price_auth.png'
))))),
Positioned
(
child:
Container
(
width:
235
,
margin:
EdgeInsets
.
only
(
bottom:
25
),
child:
baseText
(
'授权后,您的手机将以“虚拟号”方式提供给机构'
,
11
,
Color
(
0xff999999
)))),
]),
]),
);
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment