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

<script>
	export default {
		onLoad(option) {
			const that = this
			that.type = option.type
			that.token = that.$store.state.user.token
			that.src = `http://test.tall.wiki/compete/index/index.html?type=` + option.type + `&token=` + that.token
		},
		data() {
			return {
				type: '',
				token: ''
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
