|
|
@@ -24,6 +24,7 @@ import 'package:bbyyy/paegs/chat_page/chat_page.dart';
|
|
|
import 'package:bbyyy/paegs/gang_page/gang_in_page/gang_information_page/add_member_page/add_member_page.dart';
|
|
|
import 'package:bbyyy/paegs/gang_page/gang_in_page/pay_to_the_helper_page/pay_to_the_helper_page.dart';
|
|
|
import 'package:bbyyy/paegs/gang_page/gang_in_page/qr_pay_page/set_amount_page.dart';
|
|
|
+import 'package:bbyyy/paegs/gang_page/qr_code_for_store_payment_page/qr_code_for_store_payment_page.dart';
|
|
|
import 'package:bbyyy/paegs/mine_page/privacy_protection_props_page/privacy_protection_props_page.dart';
|
|
|
import 'package:bbyyy/paegs/other_people_s_turnover_page/other_people_s_turnover_page.dart';
|
|
|
import 'package:bbyyy/paegs/pay_page/order_information_page.dart';
|
|
|
@@ -193,6 +194,9 @@ class _GangInPageState extends State<GangInPage> {
|
|
|
}
|
|
|
});
|
|
|
break;
|
|
|
+ case '收款二维码':
|
|
|
+ MyTools().toPage(context, QRCodeForStorePaymentPage(widget.data), (then){});
|
|
|
+ break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
@@ -261,6 +265,27 @@ class _GangInPageState extends State<GangInPage> {
|
|
|
],
|
|
|
),
|
|
|
),
|
|
|
+ if (MyCookie().getUID() == widget.data.ownerUid)
|
|
|
+ PopupMenuItem<String>(
|
|
|
+ value: '收款二维码',
|
|
|
+ child: Row(
|
|
|
+ children: [
|
|
|
+ SvgPicture.asset(
|
|
|
+ 'images/svg/二维码.svg',
|
|
|
+ height: 20,
|
|
|
+ width: 20,
|
|
|
+ ),
|
|
|
+ Container(
|
|
|
+ child: Text(
|
|
|
+ '收款二维码',
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 14, color: MyColors.c333333),
|
|
|
+ ),
|
|
|
+ margin: EdgeInsets.only(left: 5),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
+ ),
|
|
|
];
|
|
|
},
|
|
|
)
|
|
|
@@ -375,6 +400,9 @@ class _GangInPageState extends State<GangInPage> {
|
|
|
),
|
|
|
),
|
|
|
onTap: () {
|
|
|
+ if(MyCookie().getUID()==widget.data.ownerUid){
|
|
|
+ return;
|
|
|
+ }
|
|
|
EasyLoading.show();
|
|
|
collectionShop();
|
|
|
},
|
|
|
@@ -1361,9 +1389,7 @@ class _GangInPageState extends State<GangInPage> {
|
|
|
}
|
|
|
|
|
|
void collectionShop() {
|
|
|
- if(MyCookie().getUID()==widget.data.ownerUid){
|
|
|
- return;
|
|
|
- }
|
|
|
+
|
|
|
if (!collect) {
|
|
|
MyDio().save({
|
|
|
'key': 'shop_user',
|