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

<script>
	export default {
	data() {
		return {
			url:''
			}
	},
	onBackPress() {
	    // 拦截返回事件
	    uni.redirectTo({
	      url: '/pages/questionnaire/questionnaire'
	    });
	    return true; 
	  },
	  onLoad(options) {
			 if(options.urls){
				 this.url = options.urls
			 }
	  },
	  mounted() {

	  }
	}
</script>

<style>
</style>