<template>
	<view v-if="token" class="page-container">
		<topPanel />
		<apps />
		<schedule />
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex'
	import topPanel from './components/top-panel.vue';
	import apps from './components/apps.vue';
	import schedule from './components/schedule.vue';
	export default {
		components: {
			topPanel,
			apps,
			schedule,
		},
		computed: {
			...mapState({
				token: state => state.user.token,
			})
		},
	}
</script>
<style scoped lang='scss'>
	.page-container {
		/* background: white;
		padding: 0 32rpx; */
	}
</style>
