<!-- <template>
	<div class="app">
		<router-view class="page-top-space"></router-view>
	</div>
</template> -->
<script setup>
import { onShow, onHide, onLaunch } from '@dcloudio/uni-app'
onLaunch(async()=> {
	console.log('App onLaunch')
	uni.getSystemInfo({
					success: function(e) {
						// Vue.prototype.StatusBar = e.statusBarHeight;
						console.log("e.statusBarHeight", e.statusBarHeight)
						if (e.platform == 'android') {
							// Vue.prototype.CustomBar = e.statusBarHeight + 50;
							console.log('CustomBar', e.statusBarHeight + 50)
						} else {
							console.log('CustomBar', e.statusBarHeight + 45)
						};
					}
				})
	
})
onShow(()=>{
	
	console.log('App Show')
})
onHide(()=>{
	console.log('App Hide')
})

</script>

<style>
	/*每个页面公共css */
	/* page{
		padding-top: 0;
	} */
	/* @import "@/static/iconfont.css" */
	.main{
		background-color: #bcbcbc;
		display: flex;
		flex-direction:column;
		width: 1200px;
		/* height: 2000px; */
	}
</style>
