diff --git a/pages/coupon/detail/index.js b/pages/coupon/detail/index.js index f42b2cd..7b1362d 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -394,8 +394,18 @@ Page({ }) wx.showToast({ title: "领取成功", - duration: 3000, - image: "./../../../assets/img/success.png" + image: "./../../../assets/img/success.png", + duration: 1000, + mask: false, + success:function(){ + setTimeout(function(){ + wx.navigateTo({ + url: `/pages/order/detail/index?orderId=${ + that.data.orderId + }` + }); + },1000) + } }); //////////////////////////停车券 console.log(that.data.data.type)