|
|
@@ -108,21 +108,19 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- getOrderShop(true).then(res => {
|
|
|
- this.inpFocus = true
|
|
|
- // 设置分享
|
|
|
- let shareParams = {
|
|
|
- title: `点我付款`, // 分享标题
|
|
|
- desc: '享随机优惠,最高20元', // 分享内容
|
|
|
- imgUrl: '',
|
|
|
- pagePath: `/pages/pay/index?account=${res.shop.id}&store=0`
|
|
|
- }
|
|
|
- // #ifdef MP-WEIXIN
|
|
|
- this.jweixinFn(shareParams)
|
|
|
- // #endif
|
|
|
- console.log(`/pages/pay/index?account=${res.shop.id}&store=0`)
|
|
|
- })
|
|
|
+
|
|
|
+ this.inpFocus = true
|
|
|
+ // 设置分享
|
|
|
+ let shareParams = {
|
|
|
+ title: `点击结账付款`,
|
|
|
+ desc: '',
|
|
|
+ imgUrl: '',
|
|
|
+ pagePath: `/admin/ghs/pay?id=${this.id}&salt=${this.salt}`
|
|
|
+ }
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
+ this.jweixinFn(shareParams)
|
|
|
+ // #endif
|
|
|
+ console.log(`/admin/ghs/pay?id=${this.id}&salt=${this.salt}`)
|
|
|
},
|
|
|
toPay() {
|
|
|
if (!this.amount) {
|