mini-program/pagesA/pages/order-details/order-details.vue
@@ -397,7 +397,8 @@ userType:0, shop:{}, info:{shopInfo:{}}, timeData: {} timeData: {}, loading: false, }; }, onShow() { @@ -427,9 +428,12 @@ }, payOrder() { var that = this; if (this.loading) return; this.loading = true this.$u.api.replayPay({ orderId: this.id }).then(res => { this.loading = false if (res.code === 200) { wx.requestPayment({ timeStamp: res.data.response.timeStamp, @@ -604,7 +608,7 @@ }, jumpGoodsDetail(item){ uni.navigateTo({ url: '/pages/details/details?id='+item.id url: '/pages/details/details?id='+item.goodsId }) } }