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

<script>
	export default {
		data() {
			return {
				wsrc: '',
				webviewStyles: {
					progress: {
						color: '#ff629f'
					}
				}
			}
		},
		onLoad(opt) {
			this.wsrc = opt.targetUrl
		}
	}
</script>

<style>

</style>