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

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

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

	/* 全局基础样式 */
	page {
		font-size: $base-font-size;
		line-height: 1.5;
		color: #333;
		background-color: #f5f5f5;
	}

	/* 去除默认边距 */
	view, text, navigator {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	/* 统一字体大小响应 */
	@include respond-to('tablet') {
		page {
			font-size: 16px;
		}
	}

	@include respond-to('desktop') {
		page {
			font-size: 16px;
		}
	}

	/* 滚动条美化 */
	::-webkit-scrollbar {
		width: 6px;
		height: 6px;
	}

	::-webkit-scrollbar-track {
		background: #f5f5f5;
	}

	::-webkit-scrollbar-thumb {
		background: #ccc;
		border-radius: 3px;
	}
</style>