<template>
	<view class="">
		<web-view v-if="url1" :src="url1"></web-view>
		<!-- <iframe :src="url1"></iframe> -->
		<!-- <iframe :src="url" frameborder="0" style="width: 100%; height: 100vh;"></iframe> -->
	</view>
</template>

<script>
	var wv; //计划创建的webview
	export default {
		data() {
			return {
				url1: '',
				canBack: false,

			};
		},
		onLoad(options) {
			// console.log(options);
			this.url1 = decodeURIComponent(options.url);
		}
	}
</script>

<style lang="scss">
	.custom-back-button {
		position: fixed;
		top: 20px;
		left: 20px;
		background-color: #ffffff;
		padding: 10px;
		border-radius: 5px;
	}
</style>