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

<script>
	export default {
		data() {
			return {
				baseSrc: 'https://xqg.xswlsq.cn/#/VisitMap',
				 src: 'https://xqg.xswlsq.cn/#/VisitMap'
				 // baseSrc: 'http://192.168.10.175:8080/#/VisitMap',
				 // src: 'http://192.168.10.175:8080/#/VisitMap'
			}
		},
		methods: {

		},
		onLoad(opt) {
			console.log(opt.id)
			let id = opt.id
			let routeIndex = opt.routeIndex
			this.src = `${this.baseSrc}?id=${id}&routeIndex=${routeIndex}`
		},
		onShow() {
		}
	}
</script>

<style>

</style>
