<script>
	import '@/common/request/request.js';
	import piniaPro from '@/stores/piniaPro.js';
	import {
		globalStore
	} from "@/stores/globalData.js";
	const globalData = globalStore(piniaPro);

	import config from '@/common/config/config.js';
	export default {
		globalData: {
			client: null,
			phone: null
		},
		onLaunch: function() {
			console.log('App Launch')
			uni.hideTabBar()
			// handle_loop()
		},
		onShow: function() {
			// console.log(globalData.isLogin, 'globalData.isLogin')
			// if (globalData.isLogin == false) {
			// 	setTimeout(() => {
			// 		uni.navigateTo({
			// 			url: '../../pagesCenter/login/enter'
			// 		})
			// 	}, 1000)
			// }
		},
		onHide: function() {
			// console.log('App Hide') 
		},
		methods: {
			//
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/sheep/scss/index.scss';
	@import "@/uni_modules/uview-plus/index.scss";
	@import "@/colorui/main.css";
	@import "@/colorui/icon.css";
</style>