diff --git a/pages/orderDetail/orderDetail.vue b/pages/orderDetail/orderDetail.vue index 986279a..30469d6 100644 --- a/pages/orderDetail/orderDetail.vue +++ b/pages/orderDetail/orderDetail.vue @@ -139,17 +139,17 @@ cancelOrder(that.orderDetail.orderInfo.orderNumber) .then((res) => { uni.hideLoading(); - this.clearQueryInterval() + that.clearQueryInterval() uni.showToast({ icon: 'none', title: '已取消', - duration: 1200 + duration: 500 }); setTimeout(() => { uni.reLaunch({ url: '/pages/index' }); - }, 1400); + }, 600); }) .catch((err) => { uni.hideLoading(); diff --git a/pages/payResult/payResult.vue b/pages/payResult/payResult.vue index 4b0dfc0..f2ae1c6 100644 --- a/pages/payResult/payResult.vue +++ b/pages/payResult/payResult.vue @@ -21,7 +21,7 @@ export default { }, onLoad(options) { if (options.status) { - console.log(options.detail); + console.log('打印的门票信息',options); this.status = options.status; this.ticketList = JSON.parse(options.detail); this.tickets = options.tickets.split(','); diff --git a/pages/shoppingCar/shoppingCar.vue b/pages/shoppingCar/shoppingCar.vue index 89a6b19..d89c973 100644 --- a/pages/shoppingCar/shoppingCar.vue +++ b/pages/shoppingCar/shoppingCar.vue @@ -457,6 +457,7 @@ export default { title: '请等待...' }); uni.removeStorageSync("ALL_TICKET"); + uni.removeStorageSync("oldTicket"); that.ticketSum = 0, that.priceSum = 0, that.ticketList = [], diff --git a/pages/shoppingTrolley/shoppingTrolley.vue b/pages/shoppingTrolley/shoppingTrolley.vue index 13df7d0..f647aab 100644 --- a/pages/shoppingTrolley/shoppingTrolley.vue +++ b/pages/shoppingTrolley/shoppingTrolley.vue @@ -677,7 +677,7 @@ //加购 onPlay(event, item) { this.ITEM = item, - console.log(item, '点击加购的item'); + console.log('点击加购的item',item ); this.event = event; item.btnLoading = true; let that = this;