chuangte_bike_newxcx/page_fenbao/renlian.vue
2025-04-11 18:23:16 +08:00

33 lines
581 B
Vue

<template>
<view class="pages">
<web-view ref="webview" :src="https" @message="handleGetMessage"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
https:''
}
},
onLoad(option) {
this.https = decodeURIComponent(option.https)
console.log(option);
},
methods: {
handleGetMessage:function(e){
console.log(e)
if(e.detail.data[0].result == 'success'){
uni.navigateBack()
}
},
}
}
</script>
<style lang="scss" scoped>
</style>