<script>
	import initApp from "@/utils/init.js"
	export default {
		options: {
			styleIsolation: 'shared', // 解除样式隔离
		},
		onLaunch: function() {
			initApp();
			// console.log(uni.$u.props)
			// console.log('App Launch')
			try {
				uni.hideTabbar({})
			} catch (e) {

			}
		},
		onShow: function() {
			// console.log('App Show')
			try {
				uni.hideTabbar({})
			} catch (e) {

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

<style lang="less">
	/*每个页面公共css */
	.u-text {
		.u-text__value {
			font-size: 14px !important;
		}
	}

	.u-button:after {
		border: unset !important;
	}

	.u-button {
		font-weight: bold;
	}
	.u-cell__body{
		padding: 10px 0px !important;
	}
	.uni-scroll-view {
		::-webkit-scrollbar {
			width: 0;
			height: 0;
			background-color: transparent;
		}
	}
</style>
<style>
	/**
	 * 设置页面安全区域
	 */
	page {
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom);
	}
</style>