<template>
	<view :className="className">
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name: "Page",
		props: {
			className: {
				type: String || Array,
				default: ''
			},
		},
		data() {
			return {
				_curPage: {},
				_curDeep: 0
			}
		},
		mounted() {
			const pages = getCurrentPages();
			const len = pages.length
			this.curPage = pages[len - 1];
			this._curDeep = len;
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">

</style>
