|
|
@ -151,7 +151,6 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
|
|
|
|
|
|
|
|
Widget orderItem(FindMiNiGroupList findMiNiGroupList,int index) { |
|
|
|
Widget orderItem(FindMiNiGroupList findMiNiGroupList,int index) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
padding: EdgeInsets.only(top:100.h), |
|
|
|
|
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
@ -247,7 +246,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
productListBean.applyPrice, |
|
|
|
productListBean.price, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
fontSize: 11.sp, |
|
|
|
fontSize: 11.sp, |
|
|
@ -268,7 +267,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(width: 10), |
|
|
|
SizedBox(width: 10), |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
productListBean.price, |
|
|
|
productListBean.applyPrice, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFFA29E9E), |
|
|
|
color: Color(0xFFA29E9E), |
|
|
|
fontSize: 10.sp, |
|
|
|
fontSize: 10.sp, |
|
|
@ -283,7 +282,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
true |
|
|
|
true |
|
|
|
? GestureDetector( |
|
|
|
? GestureDetector( |
|
|
|
onTap: () { |
|
|
|
onTap: () { |
|
|
|
showStoreSelector(); |
|
|
|
showStoreSelector(productListBean); |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: RoundButton( |
|
|
|
child: RoundButton( |
|
|
|
width: 49.w, |
|
|
|
width: 49.w, |
|
|
@ -308,7 +307,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
Padding( |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.only(left: 8, right: 8), |
|
|
|
padding: EdgeInsets.only(left: 8, right: 8), |
|
|
|
child: Text( |
|
|
|
child: Text( |
|
|
|
"1", |
|
|
|
productListBean.buyNum.toString(), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
@ -336,7 +335,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
///选规格弹窗 |
|
|
|
///选规格弹窗 |
|
|
|
showStoreSelector() { |
|
|
|
showStoreSelector(ProductListBean productListBean) { |
|
|
|
showModalBottomSheet( |
|
|
|
showModalBottomSheet( |
|
|
|
context: context, |
|
|
|
context: context, |
|
|
|
backgroundColor: Colors.transparent, |
|
|
|
backgroundColor: Colors.transparent, |
|
|
@ -362,7 +361,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
MImage( |
|
|
|
MImage( |
|
|
|
"", |
|
|
|
productListBean.imgPath, |
|
|
|
width: 70, |
|
|
|
width: 70, |
|
|
|
height: 70, |
|
|
|
height: 70, |
|
|
|
fit: BoxFit.cover, |
|
|
|
fit: BoxFit.cover, |
|
|
@ -374,7 +373,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
"手工啵啵奶茶", |
|
|
|
productListBean.productName, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
fontSize: 16.sp, |
|
|
|
fontSize: 16.sp, |
|
|
@ -395,7 +394,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
Row( |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
"会员价", |
|
|
|
S.of(context).huiyuanjia, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
fontSize: 13.sp, |
|
|
|
fontSize: 13.sp, |
|
|
@ -403,7 +402,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
Text( |
|
|
|
"¥19.00", |
|
|
|
productListBean.applyPrice, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
@ -501,7 +500,7 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
Padding( |
|
|
|
Padding( |
|
|
|
padding: EdgeInsets.only(left: 8, right: 8), |
|
|
|
padding: EdgeInsets.only(left: 8, right: 8), |
|
|
|
child: Text( |
|
|
|
child: Text( |
|
|
|
"1", |
|
|
|
productListBean.buyNum.toString(), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
@ -522,16 +521,19 @@ class _StoreOrderListPage extends State<StoreOrderListPage> { |
|
|
|
SizedBox( |
|
|
|
SizedBox( |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
), |
|
|
|
), |
|
|
|
RoundButton( |
|
|
|
GestureDetector( |
|
|
|
width: double.infinity, |
|
|
|
onTap: (){}, |
|
|
|
height: 54.h, |
|
|
|
child: RoundButton( |
|
|
|
text: "加入购物车", |
|
|
|
width: double.infinity, |
|
|
|
textColor: Colors.white, |
|
|
|
height: 54.h, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
text: "加入购物车", |
|
|
|
radius: 27, |
|
|
|
textColor: Colors.white, |
|
|
|
backgroup: Color(0xFF32A060), |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
fontSize: 16.sp, |
|
|
|
radius: 27, |
|
|
|
// padding: EdgeInsets.symmetric(vertical: 5.h), |
|
|
|
backgroup: Color(0xFF32A060), |
|
|
|
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
|
|
|
// padding: EdgeInsets.symmetric(vertical: 5.h), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|