<template>
	<view class="wvzone">
		<web-view :src="url"></web-view>
		<view class="wvtips">文件下载成功，即将返回.....,{{jst}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:"",
				jst:10,
			}
		},
		onLoad(item) {
			console.log(item)
			this.url = item.url
		},
		mounted() {
			this.govak()
		},
		methods:{
			//
			govak(){
			  let ms  = this.jst*1000
			  if(ms<60*1000){
				  
			  }
			  let st = setTimeout(function() {
				  //
				
				uni.navigateBack()
			  }, ms);
			  
			  st.close
			  
			}
		}
	}
</script>

<style lang="scss" scoped>
.wvzone{
	.wvtips{
		text-align: center;
		font-size: 26rpx;
	}
}
</style>
