<script>
	import common from '@/utils/common.js'
	export default {
		data() {
			return {
				common
			}
		},
		onLaunch: function() {
			console.log('App Launch')
			//获取导航栏高度
			uni.getSystemInfo({
				success: (e) => {
					// #ifdef APP-PLUS
					if (e.statusBarHeight === 0) {
						common.statusBarH = 33
					} else {
						common.statusBarH = e.statusBarHeight
					}
					// #endif
					// #ifdef H5
					common.statusBarH = 10
					// #endif
					// #ifdef MP-WEIXIN 
					common.statusBarH = e.statusBarHeight + 20
					// #endif

				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	.gloabal-root-content-c {
		min-height: 100vh;
		background-color: #FFE5E5;
	}
	
	.gloabal-empty-image-c {
		width: 200rpx;
		height: 200rpx;
	}
	
	.gloabal-empty-content-c {
		width: 100vw;
		height: 100%;
		align-items: center;
		flex: 1;
		display: flex;
		justify-content: center;
		flex-direction: column;
	}
	
</style>