Commit e01ff94e authored by lijiongliang's avatar lijiongliang

逻辑修改

parent 3423d690
...@@ -174,6 +174,8 @@ ...@@ -174,6 +174,8 @@
}, },
// 已领取优惠券按钮 // 已领取优惠券按钮
goBuy(){ goBuy(){
this.timerNum = 3
clearInterval(this.timer)
uni.navigateToMiniProgram({ uni.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', // 跳转目标小程序的id appId: 'wx91d27dbf599dff74', // 跳转目标小程序的id
path: 'pages/item/detail/detail?sku=100023585323', // 目标小程序的页面路径 path: 'pages/item/detail/detail?sku=100023585323', // 目标小程序的页面路径
...@@ -183,13 +185,10 @@ ...@@ -183,13 +185,10 @@
success:(res)=> { success:(res)=> {
// 打开成功 // 打开成功
this.pooupCoupon = false this.pooupCoupon = false
this.timerNum = 3
clearInterval(this.timer)
}, },
fail:()=>{ fail:()=>{
this.pooupCoupon = false this.pooupCoupon = false
this.timerNum = 3
clearInterval(this.timer)
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment