| | |
| | | // 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据 |
| | | eventChannel.on('orderNo', function(data) { |
| | | that.orderNo = data.orderNo |
| | | console.log(data); |
| | | }) |
| | | |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.getOrderDetl(); |
| | | setTimeout(()=>{ |
| | | this.getOrderDetl(); |
| | | },500) |
| | | |
| | | }, |
| | | methods: { |
| | | set(e) { |
| | |
| | | }) |
| | | }, |
| | | getOrderDetl() { |
| | | console.log(this.orderNo); |
| | | let that = this |
| | | uni.request({ |
| | | url: that.baseUrl + '/order/list/orderNo', |
| | |
| | | align-items: center; |
| | | box-shadow: 0 0 5px 1px #e7e7e7; |
| | | } |
| | | .detil-list:last-child { |
| | | margin-bottom: 120rpx; |
| | | } |
| | | .detil-list-checkbox { |
| | | width: 15%; |
| | | height: 100%; |