| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | }, |
| | | onShow() { |
| | | let that = this |
| | | // const eventChannel = this.$scope.eventChannel; // 兼容APP-NVUE |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | that.baseUrl = uni.getStorageSync('baseUrl'); |
| | | that.token = uni.getStorageSync('token'); |
| | | |
| | | const eventChannel = that.getOpenerEventChannel(); |
| | | eventChannel.on('order', function(data) { |
| | | // console.log(data.item); |
| | | that.orderNo = data.orderNo |
| | | |
| | | that.getOrderNoList(that.orderNo) |
| | | }) |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.getOrderNoList(this.orderNo) |
| | | |
| | | }, |
| | | methods: { |
| | | getOrderNoList(orderNo) { |