|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div style="color: #4c4c4e;">
|
|
|
<div class="pt-5">
|
|
|
- <v-breadcrumbs :items="paths" class="pa-0 ma-0"></v-breadcrumbs>
|
|
|
+ <v-btn size="large" color="primary" variant="text" prepend-icon="mdi-chevron-triple-left" @click="router.go(-1)">返回上一页</v-btn>
|
|
|
</div>
|
|
|
<div class="d-flex mt-10 justify-space-between">
|
|
|
<div>
|
|
@@ -29,6 +29,9 @@ defineOptions({ name: 'headhunting-drill-consultant'})
|
|
|
import { ref } from 'vue'
|
|
|
import { consultantData } from '@/utils/headhuntingData'
|
|
|
import ContactPage from '../components/contact.vue'
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
|
|
|
const props = defineProps({
|
|
|
id: {
|
|
@@ -38,12 +41,6 @@ const props = defineProps({
|
|
|
})
|
|
|
|
|
|
const data = ref(consultantData.find(e => e.id === props.id))
|
|
|
-
|
|
|
-const paths = [
|
|
|
- { title: '主页', disabled: false, href: '/headhunting' },
|
|
|
- { title: '我们的顾问', disabled: true, href: '' },
|
|
|
- { title: data.value.title, disabled: true, href: '' }
|
|
|
-]
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|