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

<style lang="stylus">
	/*** 每个页面公共css ***/
	/*** H5方法 ***/
	/* #ifdef WEB */
	html,body{
		width: 100%;
		height: 100%;
		flex:1;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background: #f5f5f5;
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 30rpx;
		color: #333;
		uni-app{
			flex:1;
			display: flex;
			flex-direction: column;
			overflow: hidden;
			uni-page{
				flex:1;
				display: flex;
				flex-direction: column;
				overflow: hidden;
				uni-page-wrapper{
					flex:1;
					display: flex;
					flex-direction: column;
					overflow: hidden;
					uni-page-body{
						flex:1;
						display: flex;
						flex-direction: column;
						overflow: hidden;
					}
				}
			}
		}
	}
	/* #endif */
	
	/*** 微信方法 ***/
	/* #ifdef MP-WEIXIN */
	page {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background: #f5f5f5;
		font-family: PingFang SC;
		font-weight: 400;
		font-size: 30rpx;
		color: #333;
	}
	view {
		margin: 0;
		padding: 0;
	}
	/* #endif */
	
	img {
		margin: 0;
		padding: 0;
		display: block;
	}
	/*每个页面公共css */
	// @import './styles/index.styl'
</style>
