<script>
	export default {
		onLaunch: function() {
			uni.setStorageSync('key', this.$parseQueryString('key')?this.$parseQueryString('key'):(uni.getStorageSync('key')?uni.getStorageSync('key'):''));
			console.log(navigator.userAgent.toLowerCase());
			// if(!(navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))&&!navigator.userAgent.toLowerCase().match(/micromessenger/i)) {
			// 	window.location.href = "https://www.wenxingshuju.com";
			// }
			this.$burialPoint({project_name:'小程序版h5',button_name:'进入页面',key_value:uni.getStorageSync('key')?uni.getStorageSync('key'):'',page_name:'进入页面',url_value:window.location.href})
			_hmt?_hmt.push(['_trackEvent','小程序版h5', '进入页面', uni.getStorageSync('key'),'']):'';
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods:{
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
