|
|
|
@ -154,7 +154,7 @@ class _DistributionMode extends State<DistributionMode> {
|
|
|
|
|
flex: 1, |
|
|
|
|
child: GestureDetector( |
|
|
|
|
onTap: () { |
|
|
|
|
if (widget.pageType != null) { |
|
|
|
|
if (widget.storeInfo.storeName == "一心回乡商城") { |
|
|
|
|
SmartDialog.showToast("该功能暂未开放!", |
|
|
|
|
alignment: Alignment.center); |
|
|
|
|
return; |
|
|
|
@ -180,7 +180,7 @@ class _DistributionMode extends State<DistributionMode> {
|
|
|
|
|
flex: 1, |
|
|
|
|
child: GestureDetector( |
|
|
|
|
onTap: () { |
|
|
|
|
if (widget.pageType != null) { |
|
|
|
|
if (widget.storeInfo.storeName == "一心回乡商城") { |
|
|
|
|
selectedBtn = 2; |
|
|
|
|
widget.queryAddress(selectedBtn); |
|
|
|
|
return; |
|
|
|
@ -316,7 +316,7 @@ class _DistributionMode extends State<DistributionMode> {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
(widget.pageType != null) ? |
|
|
|
|
(widget.storeInfo.storeName == "一心回乡商城") ? |
|
|
|
|
Icon( |
|
|
|
|
Icons.local_shipping, |
|
|
|
|
color: Color(0xFF727272), |
|
|
|
|