service.vue 479 B

123456789101112131415161718192021222324
  1. <template>
  2. <div class="white-bgc">
  3. <navBar @click="handleClickNav"></navBar>
  4. <Content></Content>
  5. </div>
  6. </template>
  7. <script setup>
  8. defineOptions({ name: 'headhuntingService' })
  9. import navBar from './components/nav.vue'
  10. import Content from './components/serviceContent.vue'
  11. import { useRouter } from 'vue-router'
  12. const router = useRouter()
  13. const handleClickNav = (path) => {
  14. if (!path) return
  15. router.push(path)
  16. }
  17. </script>
  18. <style scoped lang="scss">
  19. </style>