<script>
	import ala from '@/service/ala'
	import api from '@/service/api'
	var _screen = {
		width: ala.screenWidth(),
		height: ala.screenHeight(),
		statusHeight: ala.screenStatusHeight()
	}
	export default {
		globalData: {
			screen: _screen
		},
		onLaunch: function(option) {
			setTimeout(async () => {
				await api.init(option)
			}, 500)
		},
		created() {
			uni.preloadPage({url: '/pages/tabbar/index'})
		},
		onShow: function() {
		
		}
	}
</script>

<style>
/*每个页面公共css @import "~@/static/iconfont/iconall/css/iconfount.css"; */
/* #ifndef APP-PLUS-NVUE*/ 
@import "~@/static/iconfont/iconall/css/iconfount.css";
@import "~@/static/iconfont/flaticon/css/flaticon.css";
/* #endif */
</style>
