Browse Source

[优惠券详情的修改][修改]:领取免费券 跳转到订单页面

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

+ 12
- 2
pages/coupon/detail/index.js View File

@@ -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)


Loading…
Cancel
Save