You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
774 B
31 lines
774 B
<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=='校长'||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>
|
|
|