<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			const res = uni.getSystemInfoSync();
			uni.setStorageSync('platform', res.platform);
			// #ifdef APP-PLUS
			// 获取应用版本信息
			plus.runtime.getProperty(plus.runtime.appid, function(inf) {
				uni.setStorageSync('version', inf.version); // 大版本号
				uni.setStorageSync('versionCode', inf.versionCode); // 小版本号
			});
			let uuid = plus.device.uuid;
			// #endif

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

<style>
	/* https://www.iconfont.cn/ */
	@import './static/fonts/iconfont.css';

	/*每个页面公共css */
	@import './common/uni-nvue.css';
</style>