<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>
