Commit 029635b3 authored by Xuguangxing's avatar Xuguangxing

fix 收银台

parent 5ee1dd14
......@@ -192,6 +192,22 @@ export default {
},
goGroupPayPages(skuInfo) {
this.$router.push(`/pay?orderNo=${skuInfo.orderNo}`);
if (isWxMp) {
this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${skuInfo.orderNo}&from=groupbuy`
});
} else if (isApp) {
this.$router.push({ path: `/pay?orderNo=${skuInfo.orderNo}` });
} else {
// todo 处理纯h5情况
this.$dialog({
message: '请在App或小程序中参与活动~',
title: '',
showCancelButton: false,
confirmButtonText: '我知道了'
});
return;
}
},
async getGroupShareInfo(order) {
const res = await groupBuyApi.getGroupShareInfo(order);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment