|
|
|
@ -209,17 +209,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return WillPopScope( |
|
|
|
|
onWillPop: () async { |
|
|
|
|
if (dialogShowing) { |
|
|
|
|
debugPrint("ssssasdadsasdadasd"); |
|
|
|
|
SmartDialog.dismiss(); |
|
|
|
|
return false; |
|
|
|
|
} else { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
child:Container( |
|
|
|
|
return Container( |
|
|
|
|
color: Colors.white, |
|
|
|
|
child: Stack( |
|
|
|
|
children: [ |
|
|
|
@ -502,7 +492,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
onTap: () { |
|
|
|
|
// if(AppUtils.compareTime(storeInfo.openStartTime,DateFormat('HH:mm:ss').format(DateTime.now())) |
|
|
|
|
// &&(!AppUtils.compareTime(storeInfo.openEndTime,DateFormat('HH:mm:ss').format(DateTime.now())))){ |
|
|
|
|
toDownOrder(); |
|
|
|
|
toDownOrder(); |
|
|
|
|
// } |
|
|
|
|
// else |
|
|
|
|
// SmartDialog.showToast("营业时间:${storeInfo.openStartTime}-${storeInfo.openEndTime}", alignment: Alignment.center); |
|
|
|
@ -557,7 +547,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
))); |
|
|
|
|
)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
///领取优惠券 |
|
|
|
|