diff --git a/pages/user/order_list/order_list.js b/pages/user/order_list/order_list.js index 5bec945..85a3a2f 100644 --- a/pages/user/order_list/order_list.js +++ b/pages/user/order_list/order_list.js @@ -2036,10 +2036,10 @@ Page({ is_no_data2: 0, is_no_more2: 0, }); - wx.showToast({ - title: '搜索失败', - icon: 'none', - }); + // wx.showToast({ + // title: '搜索失败', + // icon: 'none', + // }); }); }; } else { @@ -2216,6 +2216,7 @@ Page({ let index = e.currentTarget.dataset.index; let item = this.data.cardList[index]; let order_sn = item.order_sn; + let order_id = item.data.order_id; let store_id = app.globalData.setting.stoid; console.log('go1!!!!!!!!!!!!!!!!!!!!!!!!!',index,item,order_sn,store_id); @@ -2229,11 +2230,11 @@ Page({ var n = res.data.data; self.weixinPay(n, function() { app.showWarning('支付成功'); - // setTimeout(function() { - // wx.reLaunch({ - // url: '/pages/user/my_service/i_service', - // }) - // }, 1000) + setTimeout(function() { + wx.reLaunch({ + url: "/pages/payment/pay_success/pay_success?card=1&order_id=" + order_id, + }) + }, 1000) }, function() { app.showWarning('支付失败'); // setTimeout(function() {