You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
high-mini/pages/tabBar/order/webUrl/webUrl.vue

41 lines
619 B

<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
import {
cancelOrderByOrderNo
} from '../../../../Utils/Api.js'
export default {
data() {
return {
url: '',
orderNo:''
}
},
onLoad(options) {
this.url = decodeURIComponent(options.url);
this.orderNo= options.orderid;
},
onUnload() {
this.cancelOrderByOrderNo();
},
methods: {
//取消订单
cancelOrderByOrderNo() {
let that = this;
let params = {
orderNo: this.orderNo,
}
cancelOrderByOrderNo(params).then(res => {
})
},
}
}
</script>
<style>
</style>