瀏覽代碼

[优惠券详情][修改]:付款成功跳转订单详情页面

tags/2.2.4
meo 6 年之前
父節點
當前提交
b313a35a3b
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. +4
    -6
      pages/coupon/detail/index.js

+ 4
- 6
pages/coupon/detail/index.js 查看文件

@@ -312,12 +312,9 @@ Page({
wx.showToast({ wx.showToast({
title: "购买成功", title: "购买成功",
image: "./../../../assets/img/success.png", image: "./../../../assets/img/success.png",
duration: 2000,
duration: 1000,
mask: false, mask: false,
success: function () { success: function () {
wx.showLoading({
title: "加载中..."
});
setTimeout(function () { setTimeout(function () {
wx.hideLoading(); wx.hideLoading();
}, 1600); }, 1600);
@@ -325,9 +322,9 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: `/pages/order/detail/index?orderId=${ url: `/pages/order/detail/index?orderId=${
that.data.orderId that.data.orderId
}`
}`
}); });
}, 1600);
}, 1000)
} }
}); });


@@ -407,6 +404,7 @@ Page({
},1000) },1000)
} }
}); });
//////////////////////////停车券 //////////////////////////停车券
console.log(that.data.data.type) console.log(that.data.data.type)
if (that.data.data.type == 5) { if (that.data.data.type == 5) {


Loading…
取消
儲存