diff --git a/lib/settlement/settlement_view/distribution.dart b/lib/settlement/settlement_view/distribution.dart index 126eba9f..9d959ce0 100644 --- a/lib/settlement/settlement_view/distribution.dart +++ b/lib/settlement/settlement_view/distribution.dart @@ -154,7 +154,7 @@ class _DistributionMode extends State { 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 { 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 { mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, children: [ - (widget.pageType != null) ? + (widget.storeInfo.storeName == "一心回乡商城") ? Icon( Icons.local_shipping, color: Color(0xFF727272), diff --git a/lib/store/shopping/shopping_home/shopping_home_page.dart b/lib/store/shopping/shopping_home/shopping_home_page.dart index 3b6a1488..9a8c9319 100644 --- a/lib/store/shopping/shopping_home/shopping_home_page.dart +++ b/lib/store/shopping/shopping_home/shopping_home_page.dart @@ -229,7 +229,7 @@ class _ShoppingHomePage extends State width: 3.w, ), Text( - "前进麦味", + "生态好物", style: TextStyle( fontSize: 12.sp, fontWeight: MyFontWeight.regular,