江西小程序管理端
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
733 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year 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=='校长'"/>
  6. </view>
  7. </template>
  8. <script>
  9. import examinCoach from './comp/examinCoach'
  10. import operateCoach from './comp/operateCoach'
  11. import principal from './comp/principal'
  12. import { imgUrl } from '@/config/site.config'
  13. export default {
  14. components: {
  15. examinCoach,
  16. operateCoach,
  17. principal
  18. },
  19. data() {
  20. return {
  21. imgUrl: imgUrl+'indexTopBanner.png',
  22. backgroundSize: '100% 492rpx',
  23. }
  24. },
  25. onShow() {
  26. uni.hideTabBar();
  27. },
  28. }
  29. </script>