Commit 8c124a6091fb97371899142e52dbf46ed5bda0b0

Authored by 后端研发-苏泰源
1 parent f46cd3d5

订单列表

pages/user/order_list/order_list.js
@@ -2036,10 +2036,10 @@ Page({ @@ -2036,10 +2036,10 @@ Page({
2036 is_no_data2: 0, 2036 is_no_data2: 0,
2037 is_no_more2: 0, 2037 is_no_more2: 0,
2038 }); 2038 });
2039 - wx.showToast({  
2040 - title: '搜索失败',  
2041 - icon: 'none',  
2042 - }); 2039 + // wx.showToast({
  2040 + // title: '搜索失败',
  2041 + // icon: 'none',
  2042 + // });
2043 }); 2043 });
2044 }; 2044 };
2045 } else { 2045 } else {
@@ -2216,6 +2216,7 @@ Page({ @@ -2216,6 +2216,7 @@ Page({
2216 let index = e.currentTarget.dataset.index; 2216 let index = e.currentTarget.dataset.index;
2217 let item = this.data.cardList[index]; 2217 let item = this.data.cardList[index];
2218 let order_sn = item.order_sn; 2218 let order_sn = item.order_sn;
  2219 + let order_id = item.data.order_id;
2219 let store_id = app.globalData.setting.stoid; 2220 let store_id = app.globalData.setting.stoid;
2220 console.log('go1!!!!!!!!!!!!!!!!!!!!!!!!!',index,item,order_sn,store_id); 2221 console.log('go1!!!!!!!!!!!!!!!!!!!!!!!!!',index,item,order_sn,store_id);
2221 2222
@@ -2229,11 +2230,11 @@ Page({ @@ -2229,11 +2230,11 @@ Page({
2229 var n = res.data.data; 2230 var n = res.data.data;
2230 self.weixinPay(n, function() { 2231 self.weixinPay(n, function() {
2231 app.showWarning('支付成功'); 2232 app.showWarning('支付成功');
2232 - // setTimeout(function() {  
2233 - // wx.reLaunch({  
2234 - // url: '/pages/user/my_service/i_service',  
2235 - // })  
2236 - // }, 1000) 2233 + setTimeout(function() {
  2234 + wx.reLaunch({
  2235 + url: "/pages/payment/pay_success/pay_success?card=1&order_id=" + order_id,
  2236 + })
  2237 + }, 1000)
2237 }, function() { 2238 }, function() {
2238 app.showWarning('支付失败'); 2239 app.showWarning('支付失败');
2239 // setTimeout(function() { 2240 // setTimeout(function() {