|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div style="color: #4c4c4e; height: calc(100vh - 151px);">
|
|
<div style="color: #4c4c4e; height: calc(100vh - 151px);">
|
|
<div class="pt-5">
|
|
<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>
|
|
<h1 class="my-5">{{ data.title }}</h1>
|
|
<h1 class="my-5">{{ data.title }}</h1>
|
|
<p class="font-weight-bold">{{ data.startDesc }}</p>
|
|
<p class="font-weight-bold">{{ data.startDesc }}</p>
|
|
@@ -17,7 +17,9 @@
|
|
defineOptions({ name: 'headhunting-drill-service' })
|
|
defineOptions({ name: 'headhunting-drill-service' })
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
import { serviceData } from '@/utils/headhuntingData'
|
|
import { serviceData } from '@/utils/headhuntingData'
|
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
|
|
|
|
|
+const router = useRouter()
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
id: {
|
|
id: {
|
|
type: String,
|
|
type: String,
|
|
@@ -30,12 +32,6 @@ const props = defineProps({
|
|
})
|
|
})
|
|
|
|
|
|
const data = ref(serviceData.find(e => e.id === props.id))
|
|
const data = ref(serviceData.find(e => e.id === props.id))
|
|
-
|
|
|
|
-const paths = [
|
|
|
|
- { title: '主页', disabled: false, href: '/headhunting' },
|
|
|
|
- { title: '我们的服务', disabled: false, href: '/headhunting/service' },
|
|
|
|
- { title: data.value.title, disabled: true, href: '' }
|
|
|
|
-]
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|