|
|
|
@ -86,7 +86,7 @@ class _ProductSku extends State<ProductSku> {
|
|
|
|
|
return PopScope( |
|
|
|
|
canPop: true, |
|
|
|
|
onPopInvoked: (isPop) { |
|
|
|
|
Navigator.of(context).pop(); |
|
|
|
|
SmartDialog.dismiss(); |
|
|
|
|
}, |
|
|
|
|
child: StatefulBuilder(builder: (context1, state) { |
|
|
|
|
return Container( |
|
|
|
@ -317,13 +317,14 @@ class _ProductSku extends State<ProductSku> {
|
|
|
|
|
backgroup: Color(0xFF32A060), |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
callback: () { |
|
|
|
|
Navigator.of(context).pop(); |
|
|
|
|
// SmartDialog.dismiss(); |
|
|
|
|
if (!_isTapEd) |
|
|
|
|
widget.addShopCar( |
|
|
|
|
widget.miNiDetail, |
|
|
|
|
selectSkus, |
|
|
|
|
(widget.miNiDetail.subscribeParam?.isEnableSubscribe ?? false) ? 1 : count); |
|
|
|
|
|
|
|
|
|
Navigator.of(context).pop(); |
|
|
|
|
// SmartDialog.dismiss(); |
|
|
|
|
if (!_isTapEd) |
|
|
|
|
widget.addShopCar( |
|
|
|
|
widget.miNiDetail, |
|
|
|
|
selectSkus, |
|
|
|
|
(widget.miNiDetail.subscribeParam?.isEnableSubscribe ?? false) ? 1 : (count >0? count :1)); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
if (widget.buttonType == 1) |
|
|
|
|