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
2dde0e2f
Commit
2dde0e2f
authored
Jul 04, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商议低价
parent
0ccb66e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
48 deletions
+56
-48
DiscussLowPricePopView.dart
...lueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
+56
-48
No files found.
lib/ClueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
View file @
2dde0e2f
...
...
@@ -2,11 +2,12 @@
* @Author: zx
* @Date: 2020-07-03 13:53:16
* @Last Modified by: zx
* @Last Modified time: 2020-07-0
3 20:49:16
* @Last Modified time: 2020-07-0
4 09:30:57
*/
import
'package:flutter/material.dart'
;
import
'package:flutter_common/commonModel/picker/base/BaseCenterPicker.dart'
;
import
'package:gm_flutter/commonModel/base/BaseComponent.dart'
;
import
'package:gm_flutter/ClueModel/page/DiscussLowPrice/DiscussLowPriceModel.dart'
;
class
DiscussLowPricePopView
{
static
void
showPopView
(
BuildContext
content
)
{
...
...
@@ -18,52 +19,55 @@ class DiscussLowPricePopView {
class
_PopView
implements
ICenterPicker
{
VoidCallback
dismissCallback
;
double
contentWidth
;
@override
Widget
build
(
BuildContext
context
,
int
alp
)
{
contentWidth
=
MediaQuery
.
of
(
context
).
size
.
width
-
72
;
return
Container
(
width:
304
,
alignment:
Alignment
.
center
,
width:
contentWidth
,
alignment:
Alignment
Directional
.
center
,
child:
Container
(
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
),
)
]),
child:
Stack
(
alignment:
AlignmentDirectional
.
topCenter
,
children:
<
Widget
>[
Column
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
<
Widget
>[
Container
(
height:
42.5
,
width:
contentWidth
,
),
Container
(
margin:
EdgeInsets
.
only
(
bottom:
0
),
child:
Stack
(
children:
<
Widget
>[
Container
(
child:
setupBodyView
(),
),
Positioned
(
top:
20
,
right:
20
,
width:
16
,
height:
16
,
child:
GestureDetector
(
onTap:
()
{},
child:
Image
.
asset
(
'assets/discuss_loe_price_cancel.png'
,
fit:
BoxFit
.
cover
),
))
]))
]),
Container
(
margin:
EdgeInsets
.
only
(
top:
0
),
width:
85
,
height:
85
,
child:
Image
.
asset
(
'assets/discuss_loe_price_like.png'
,
fit:
BoxFit
.
cover
),
)
]),
)));
}
...
...
@@ -95,7 +99,10 @@ class _PopView implements ICenterPicker {
Container
(
width:
16
,
height:
16
,
child:
Image
.
asset
(
'assets/discuss_loe_price_like.png'
)),
child:
Image
.
asset
(
'assets/discuss_loe_price_like.png'
,
fit:
BoxFit
.
cover
,
)),
Container
(
margin:
EdgeInsets
.
only
(
left:
4
),
child:
baseText
(
'对当前商品感兴趣?'
,
14
,
Color
(
0xff848484
)),
...
...
@@ -103,7 +110,8 @@ class _PopView implements ICenterPicker {
]),
),
Container
(
width:
235
,
alignment:
AlignmentDirectional
.
center
,
width:
contentWidth
-
70
,
margin:
EdgeInsets
.
only
(
bottom:
25
),
child:
baseText
(
'机构可免费为您提供咨询服务'
,
18
,
Color
(
0xff464646
),
bold:
true
)),
...
...
@@ -114,7 +122,7 @@ class _PopView implements ICenterPicker {
),
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
bottom:
12
),
width:
235
,
width:
contentWidth
-
70
,
height:
37
,
child:
baseText
(
'13800138000'
,
16
,
Color
(
0xff484848
))),
Container
(
...
...
@@ -126,15 +134,15 @@ class _PopView implements ICenterPicker {
// FlutterBoost.singleton.closeByContext(context);
},
child:
Container
(
alignment:
Alignment
.
center
,
margin:
EdgeInsets
.
only
(
bottom:
14
),
width:
235
,
width:
contentWidth
-
70
,
height:
37
,
child:
Image
.
asset
(
'assets/discuss_loe_price_auth.png'
)))),
child:
Image
.
asset
(
'assets/discuss_loe_price_auth.png'
,
fit:
BoxFit
.
cover
)))),
Container
(
width:
235
,
width:
contentWidth
-
70
,
margin:
EdgeInsets
.
only
(
bottom:
25
),
alignment:
AlignmentDirectional
.
center
,
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