<script>
	export default {
		onLaunch: function() {
			// 生产环境禁用所有 console 方法
			if (process.env.NODE_ENV === 'production') {
				const noop = () => {};
				console.log = noop;
				console.info = noop;
				console.warn = noop;
				console.error = noop;
			}
			console.log('App Launch ');
			uni.setStorageSync('adRewardedNum', 0)

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

<style lang="scss">
	/*每个页面公共css */
	@import "uview-plus/index.scss";
	@import "@/commons/style/common.scss";

	ul,
	li {
		list-style: none;
	}

	.show {
		display: block;
	}

	.hidden {
		display: none !important;
	}

	page,
	view,
	scroll-view,
	swiper,
	swiper-item,
	match-media,
	movable-area,
	movable-view,
	cover-view,
	cover-image,
	icon,
	text,
	rich-text,
	progress,
	button,
	checkbox-group,
	editor,
	form,
	input,
	label,
	picker,
	picker-view,
	radio-group,
	slider,
	switch,
	textarea,
	navigator,
	audio,
	camera,
	image,
	video,
	live-player,
	live-pusher,
	map,
	canvas,
	web-view {
		box-sizing: border-box;
		padding: 0;
		margin: 0;
		text-decoration: none;
		outline: none;
	}

	.initStyle {
		padding: 20rpx;
		background-color: #2a2a2a;
		height: 100vh;
		color: #fff;
	}

	.fc {
		color: #f4f693;
	}

	.inputClass {
		line-height: 80rpx;
	}

	.inputClass input {
		background-color: #fff;
		height: 80rpx;
		padding: 10rpx;
		color: #000;
	}

	.result {
		position: absolute;
		font-size: 100rpx;
		left: 50%;
		top: 800rpx;
		transform: translateX(-50%);
	}

	.u-image {
		background-color: transparent !important;
	}

	.u-status-bar {
		height: var(--status-bar-height);
	}
</style>