<template>
	<web-view :src="webViewSrc"></web-view>
</template>
<script>
	import {getToken} from '@/libs/auth.js';
	export default {
		data() {
			return {
				webViewSrc:""
			}
		},
		onShow() {
			let t=new Date().getTime();
			this.webViewSrc=`http://h5.xazhyc.com/art?token=${getToken()}&t=&{t}`
		},
		onPullDownRefresh() {
			let t=new Date().getTime();
			this.webViewSrc=`http://h5.xazhyc.com/art?token=${getToken()}&t=&{t}`;
			uni.stopPullDownRefresh()
		}
	}
</script>
