<template>
	<view class="">
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		// 分享到好友（会话）
		  onShareAppMessage: function () {  
		    return {  
		      title: '创亿康',  
		      path: '/pages/index/index'  
		    }  
		  },  
		  
		  // 分享到朋友圈  
		  onShareTimeline: function () {  
		    return {  
		      title: '创亿康',  
		      query: '',  
		      path: '/pages/index/index'  
		    }  
		  },
		onLoad(item) {
			this.url = decodeURIComponent(item.url)
			console.log(this.url)
		}
	}
</script>

<style lang="scss">
</style>