xuxueyang
2024-10-14 bb4b49f9045c92ad90c38943891663821aedaabd
sub_pages/customer/shopping/confirm.vue
@@ -69,6 +69,7 @@
      async onShow() {
         // 支付回调
         // #ifdef PUB_CUSTOMER_DEV
         if (this.sign['cache_topay']) {
         let options = wx.getEnterOptionsSync();
         if (options.scene == '1038' && options.referrerInfo.appId=='wxef277996acc166c3') {
            // 代表从收银台小程序返回
@@ -96,13 +97,14 @@
            tmp.$store.dispatch('cache_coupon_select', {})
            tmp.$store.dispatch('cache_goods_select', [])
            
            await tmp.$message.showToast('支付成功',{
               duration:500
            })
               // await tmp.$message.showToast('支付操作', {
               // duration: 500
               // })
            uni.navigateBack()
               await tmp.$store.dispatch('sign_clear', 'cache_topay')
            return
         }
         }
         // #endif
         //优惠券
@@ -385,6 +387,8 @@
                              // sign: "签名,参考2.1",
                              ...data,
                           }
                           await tmp.$store.dispatch('sign_add', 'cache_topay')
                           wx.openEmbeddedMiniProgram({
                              appId: 'wxef277996acc166c3',         
                              extraData: param