<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			var screenWidth = 0
			var screenHeight = 0
			uni.getSystemInfo({
				success: (res) => {
					screenHeight = res.screenHeight
					screenWidth = res.screenWidth
					console.log(screenHeight, screenWidth)
				}
			})
			if (screenHeight == 720 && screenWidth == 1280) {
				uni.navigateTo({
					url: '/pages/index15/index15'
				})
			}
			if (screenHeight == 1920 && screenWidth == 1080) {
				uni.navigateTo({
					url: '/pages/index32/index32'
				})
			}
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>