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.
29 lines
435 B
29 lines
435 B
<template>
|
|
<web-view :src="url"></web-view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
onShareAppMessage(res) {
|
|
if (res.from === 'button') {// 来自页面内分享按钮
|
|
console.log(res.target)
|
|
}
|
|
return {
|
|
title: '',
|
|
path: `/pages/outH5/outH5?con=${this.url}`
|
|
}
|
|
},
|
|
data() {
|
|
return{
|
|
url:''
|
|
}
|
|
},
|
|
onLoad(option){
|
|
console.log(option)
|
|
this.url = option.con
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|