Commit 13981ac8 authored by lijiongliang's avatar lijiongliang

优惠券修改

parent e939e66a
......@@ -129,6 +129,8 @@
},1000)
},
goUseCoupon() {
this.timerNum = 3;
clearInterval(this.timer);
uni.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', // 跳转目标小程序的id
path: 'pages/item/detail/detail?sku=100023585323', // 目标小程序的页面路径
......@@ -138,13 +140,10 @@
success:(res)=> {
// 打开成功
this.pooupSuccess = false;
this.timerNum = 3;
clearInterval(this.timer);
},
fail:()=> {
this.pooupSuccess = 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