Browse Source

[优惠券详情][修改]:付款成功跳转订单详情页面

tags/2.2.4
meo 6 years ago
parent
commit
b313a35a3b
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      pages/coupon/detail/index.js

+ 4
- 6
pages/coupon/detail/index.js View File

@@ -312,12 +312,9 @@ Page({
wx.showToast({
title: "购买成功",
image: "./../../../assets/img/success.png",
duration: 2000,
duration: 1000,
mask: false,
success: function () {
wx.showLoading({
title: "加载中..."
});
setTimeout(function () {
wx.hideLoading();
}, 1600);
@@ -325,9 +322,9 @@ Page({
wx.navigateTo({
url: `/pages/order/detail/index?orderId=${
that.data.orderId
}`
}`
});
}, 1600);
}, 1000)
}
});

@@ -407,6 +404,7 @@ Page({
},1000)
}
});
//////////////////////////停车券
console.log(that.data.data.type)
if (that.data.data.type == 5) {


Loading…
Cancel
Save