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