<template>
	<view class="main" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }">
		<examinCoach v-if="identity=='考场模拟教练'"/>
		<operateCoach  v-if="identity=='实操教练'"/>
		<principal  v-if="identity=='校长'"/>
	</view>
</template>

<script>
	import examinCoach from './comp/examinCoach'
	import operateCoach from './comp/operateCoach'
	import principal from './comp/principal'
	import { imgUrl } from '@/config/site.config'
	export default {
		components: {
			examinCoach,
			operateCoach,
			principal
		},
		data() {
			return {
				imgUrl: imgUrl+'indexTopBanner.png',
				backgroundSize: '100% 492rpx',
			}
		},
		onShow() {
			uni.hideTabBar();
		},
	}
</script>

