<template>
	<view>
		<web-view :webview-styles="webviewStyles" :src="obj"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				},
                obj:"",
                url:''
			}
           
		},
         onLoad(e) {
            // 传入需要跳转的链接 使用web-view标签进行跳转
            console.log('-----xiba------',e)
            let obj = JSON.parse(decodeURIComponent(e.obj)).obj
            this.url=e.url;
            this.obj=this.url+'?'+obj
            console.log( this.obj)
        }
	}
</script>

<style>

</style>
