<template>
	<view>
		<web-view :src="linkUrl"></web-view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				linkUrl: '',
			}
		},

		onLoad(options) {
			//decodeURIComponent()函数可以识别并且分立出url
			let fromPath = decodeURIComponent(options.linkUrl);
			this.linkUrl = fromPath
		},
	}
</script>

<style>

</style>
