<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// 网络监听
			this.$tool.getNetwork()
			this.$tool.onNetwork()
			// #ifdef APP-PLUS
			// 检测更新
			// this.$tool.update()
			// 获取网络状态
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			webApi: 'https://apijy.leapy.cn/',
			imgUrl: 'https://resource.leapy.cn/',
			// 机构
			org_id: '1',
			secretKey: 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtdxd5D6SahDExxEPsEvHkT5RShkay2xAYdqNGuQnLHcf8yJqPkwylyz8mrGUqrhahC/rbkzUk/liT0omMkmKWkm+cNSyVxqv4YvQ5446LAbqsbaZqxtbsJbtcL4tUZospwnwZynwQnNIO8hmeF3EOuuX7WzaxwS7Ugf8acn9Tez8GCijhtipqySr9Q5SLd9F7HV8EXohpfNDR5uAEL7hgJWe1tGi91eScSt9IEMS2CWEZzCi6WilfyQ8cSFjlBL9MC/LAnlm48b+MS2KBIVDtA2PodGWQMWn8UzXrob6Du2gjlBIWUr5Hu5/kx1IhVYZCctHHBK+fSqftTdJMsRQRwIDAQAB'
		}
	}
</script>

<style lang="scss">
	/* 每个页面公共css */
	/* uViewUI */
	@import "@/uni_modules/uview-ui/index.scss";
	/* uni-ui库 */
	// @import '/static/css/uni.css';
	/* 图标库 */
	@import "/static/css/iconfont.css";
	/* 动画库 */
	@import "/static/css/animate.css";
	/* 样式库 */
	@import '/static/css/thinco.scss';

	/* #ifdef H5 */
	/* 针对h5页面取消返回按钮 */
	uni-page[data-page="pages/paper/friend"] .uni-page-head-hd {
		display: none;
	}

	/* #endif */
	// 隐藏小程序滚动条（无用）
	/* #ifdef MP-WEIXIN */
	::-webkit-scrollbar {
		display: none;
	}

	/* #endif */
</style>