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.

32 lines
805 B

8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="main" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }">
  3. <!-- <examinCoach v-if="identity=='考场模拟教练'"/> -->
  4. <operateCoach v-if="identity=='实操教练'"/>
  5. <principal v-if="identity=='校长'||identity=='驾校财务'"/>
  6. <UserTab name ='统计'></UserTab>
  7. </view>
  8. </template>
  9. <script>
  10. import examinCoach from './comp/examinCoach'
  11. import operateCoach from './comp/operateCoach'
  12. import principal from './comp/principal'
  13. import { imgUrl } from '@/config/site.config'
  14. export default {
  15. components: {
  16. examinCoach,
  17. operateCoach,
  18. principal
  19. },
  20. data() {
  21. return {
  22. imgUrl: imgUrl+'indexTopBanner.png',
  23. backgroundSize: '100% 492rpx',
  24. }
  25. },
  26. onShow() {
  27. uni.hideTabBar();
  28. },
  29. }
  30. </script>