|
|
@ -515,12 +515,12 @@ class _StoreOrderPage extends State<StoreOrderPage> |
|
|
|
Spacer(), |
|
|
|
Spacer(), |
|
|
|
GestureDetector( |
|
|
|
GestureDetector( |
|
|
|
onTap: () { |
|
|
|
onTap: () { |
|
|
|
if(AppUtils.compareTime(storeInfo.openStartTime,DateFormat('HH:mm:ss').format(DateTime.now())) |
|
|
|
// if(AppUtils.compareTime(storeInfo.openStartTime,DateFormat('HH:mm:ss').format(DateTime.now())) |
|
|
|
&&(!AppUtils.compareTime(storeInfo.openEndTime,DateFormat('HH:mm:ss').format(DateTime.now())))){ |
|
|
|
// &&(!AppUtils.compareTime(storeInfo.openEndTime,DateFormat('HH:mm:ss').format(DateTime.now())))){ |
|
|
|
toDownOrder(); |
|
|
|
toDownOrder(); |
|
|
|
} |
|
|
|
// } |
|
|
|
else |
|
|
|
// else |
|
|
|
SmartDialog.showToast("营业时间:${storeInfo.openStartTime}-${storeInfo.openEndTime}", alignment: Alignment.center); |
|
|
|
// SmartDialog.showToast("营业时间:${storeInfo.openStartTime}-${storeInfo.openEndTime}", alignment: Alignment.center); |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: RoundButton( |
|
|
|
child: RoundButton( |
|
|
|
width: 103.w, |
|
|
|
width: 103.w, |
|
|
|