From c56b77d669e007145c0344c06b39eda970f9e50a Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 13 Sep 2018 16:36:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E6=83=A0=E5=88=B8=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9][=E4=BF=AE=E6=94=B9]:=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E5=85=8D=E8=B4=B9=E5=88=B8=20=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/coupon/detail/index.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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)