<template>
	<view class="container" :style="{'top': viewTop + 'px', 'height': viewHeight + 'px'}">
		首页
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props: {
			viewTop: {
				type: Number,
				default: 0
			},
			viewHeight: {
				type: Number,
				default: 0
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.container{
		display: flex;
		box-sizing: border-box;
		position: fixed;
		left: 0;
		width: 100%;
	}
</style>
